Microservices in Action

Microservices in Action

Author: Morgan Bruce

Publisher: Simon and Schuster

ISBN: 9781638356066

Category: Computers

Page: 392

View: 457

Summary Microservices in Action is a practical book about building and deploying microservice-based applications. Written for developers and architects with a solid grasp of service-oriented development, it tackles the challenge of putting microservices into production. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Invest your time in designing great applications, improving infrastructure, and making the most out of your dev teams. Microservices are easier to write, scale, and maintain than traditional enterprise applications because they're built as a system of independent components. Master a few important new patterns and processes, and you'll be ready to develop, deploy, and run production-quality microservices. About the Book Microservices in Action teaches you how to write and maintain microservice-based applications. Created with day-to-day development in mind, this informative guide immerses you in real-world use cases from design to deployment. You'll discover how microservices enable an efficient continuous delivery pipeline, and explore examples using Kubernetes, Docker, and Google Container Engine. What's inside An overview of microservice architecture Building a delivery pipeline Best practices for designing multi-service transactions and queries Deploying with containers Monitoring your microservices About the Reader Written for intermediate developers familiar with enterprise architecture and cloud platforms like AWS and GCP. About the Author Morgan Bruce and Paulo A. Pereira are experienced engineering leaders. They work daily with microservices in a production environment, using the techniques detailed in this book. Table of Contents PART 1 - The lay of the land Designing and running microservices Microservices at SimpleBank PART 2 - Design Architecture of a microservice application Designing new features Transactions and queries in microservices Designing reliable services Building a reusable microservice framework PART 3 - Deployment Deploying microservices Deployment with containers and schedulers Building a delivery pipeline for microservices PART 4 - Observability and ownership Building a monitoring system Using logs and traces to understand behavior Building microservice teams

Spring Microservices in Action

Spring Microservices in Action

Author: John Carnell

Publisher: Simon and Schuster

ISBN: 9781638354222

Category: Computers

Page: 384

View: 493

Summary Spring Microservices in Action teaches you how to build microservice-based applications using Java and the Spring platform. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Microservices break up your code into small, distributed, and independent services that require careful forethought and design. Fortunately, Spring Boot and Spring Cloud simplify your microservice applications, just as the Spring Framework simplifies enterprise Java development. Spring Boot removes the boilerplate code involved with writing a REST-based service. Spring Cloud provides a suite of tools for the discovery, routing, and deployment of microservices to the enterprise and the cloud. About the Book Spring Microservices in Action teaches you how to build microservice-based applications using Java and the Spring platform. You'll learn to do microservice design as you build and deploy your first Spring Cloud application. Throughout the book, carefully selected real-life examples expose microservice-based patterns for configuring, routing, scaling, and deploying your services. You'll see how Spring's intuitive tooling can help augment and refactor existing applications with micro services. What's Inside Core microservice design principles Managing configuration with Spring Cloud Config Client-side resiliency with Spring, Hystrix, and Ribbon Intelligent routing using Netflix Zuul Deploying Spring Cloud applications About the Reader This book is written for developers with Java and Spring experience. About the Author John Carnell is a senior cloud engineer with twenty years of experience in Java. Table of contents Welcome to the cloud, Spring Building microservices with Spring Boot Controlling your configuration with Spring Cloud configuration server On service discovery When bad things happen: client resiliency patterns with Spring Cloud and Netflix Hystrix Service routing with Spring Cloud and Zuul Securing your microservices Event-driven architecture with Spring Cloud Stream Distributed tracing with Spring Cloud Sleuth and Zipkin Deploying your microservices

Spring Microservices in Action, Second Edition

Spring Microservices in Action, Second Edition

Author: John Carnell

Publisher: Simon and Schuster

ISBN: 9781638356967

Category: Computers

Page: 448

View: 254

Spring Microservices in Action, Second Edition teaches you to build microservice-based applications using Java and Spring. Summary By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity and increasing flexibility. Spring Microservices in Action, Second Edition teaches you how to build microservice-based applications using Java and the Spring platform. This second edition is fully updated for the latest version of Spring, with expanded coverage of API routing with Spring Cloud Gateway, logging with the ELK stack, metrics with Prometheus and Grafana, security with the Hashicorp Vault, and modern deployment practices with Kubernetes and Istio. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Building and deploying microservices can be easy in Spring! Libraries like Spring Boot, Spring Cloud, and Spring Cloud Gateway reduce the boilerplate code in REST-based services. They provide an effective toolbox to get your microservices up and running on both public and private clouds. About the book Spring Microservices in Action, Second Edition teaches you to build microservice-based applications using Java and Spring. You’ll start by creating basic services, then move to efficient logging and monitoring. Learn to refactor Java applications with Spring’s intuitive tooling, and master API management with Spring Cloud Gateway. You’ll even deploy Spring Cloud applications with AWS and Kubernetes. What's inside Microservice design principles and best practices Configuration with Spring Cloud Config and Hashicorp Vault Client-side resiliency with Resilience4j, and Spring Cloud Load Balancer Metrics monitoring with Prometheus and Grafana Distributed tracing with Spring Cloud Sleuth, Zipkin, and ELK Stack About the reader For experienced Java and Spring developers. About the author John Carnell is a senior cloud engineer with 20 years of Java experience. Illary Huaylupo Sánchez is a software engineer with over 13 years of experience. Table of Contents 1 Welcome to the cloud, Spring 2 Exploring the microservices world with Spring Cloud 3 Building microservices with Spring Boot 4 Welcome to Docker 5 Controlling your configuration with the Spring Cloud Configuration Server 6 On service discovery 7 When bad things happen: Resiliency patterns with Spring Cloud and Resilience4j 8 Service routing with Spring Cloud Gateway 9 Securing your microservices 10 Event-driven architecture with Spring Cloud Stream 11 Distributed tracing with Spring Cloud Sleuth and Zipkin 12 Deploying your microservices

Spring Microservices in Action, Second Edition

Spring Microservices in Action, Second Edition

Author: John Carnell

Publisher: Simon and Schuster

ISBN: 9781617296956

Category: Computers

Page: 446

View: 875

By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity and increasing flexibility. Spring Microservices in Action, Second Edition teaches you how to build microservice-based applications using Java and the Spring platform. This second edition is fully updated for the latest version of Spring, with expanded coverage of API routing with Spring Cloud Gateway, logging with the ELK stack, metrics with Prometheus and Grafana, security with the Hashicorp Vault, and modern deployment practices with Kubernetes and Istio. about the technology Microservices break up your code into independent interconnected services that require careful forethought and design. Fortunately, Spring Boot, Spring Cloud, and Spring Cloud Gateway simplify the tedious plumbing and infrastructure setup required for microservice applications. Spring Boot removes the boilerplate code involved with writing a REST-based service. Spring Cloud provides a suite of tools for the discovery, routing, and deployment of microservices to the enterprise and the cloud. Spring Cloud Gateway provides a clear and effective routing to APIs, with a single entry point into a system. Together, they make it a snap to spin up Spring applications as microservices and wire them together into a reliable, scalable system. about the book Fully updated and upgraded for the latest version of Spring, Spring Microservices in Action, Second Edition is an expanded revision of a Manning bestseller. In it, you''ll learn how to build microservice-based applications using Java and the Spring platform and how to efficiently monitor and log your microservices operations. Throughout the book, carefully selected real-life examples expose microservice-based patterns for configuring, routing, scaling, and deploying your services. You''ll see how Spring''s intuitive tooling can help augment and refactor existing applications with microservices and how Spring Cloud Gateway makes it easy to handle multiple APIs with a single tool. You''ll also pick up best practices for using Spring with modern deployment platforms based on Kubernetes and Istio. what''s inside Core microservice design principles Microservices best practices Using docker containers to run microservices Managing configuration with Spring Cloud Config and Hashicorp Vault for sensitive information Client-side resiliency with Hystrix, and Ribbon Managing application metrics with Prometheus and Grafana Intelligent routing using Spring Cloud Gateway Distributed tracing with Spring Cloud Sleuth, Zipkin and ELK Stack Deploying Spring Cloud applications with Kubernetes and Istio about the reader This book is written for developers with Java and Spring experience. about the authors John Carnell is a senior cloud engineer with twenty years of experience in Java. Illary Huaylupo Sánchez is a software engineer with an MBA in IT management and over twelve years of experience in Java.

Spring Start Here

Spring Start Here

Author: Laurentiu Spilca

Publisher: Simon and Schuster

ISBN: 9781638356950

Category: Computers

Page: 416

View: 632

Quickly master the massive Spring ecosystem with this focused, hands-on guide that teaches you exactly what you need to know. In Spring Start Here, you will learn how to: Build web applications with Spring Manage application objects with Spring context Implement data persistence using data sources and transactions Implement data exchange between applications using REST services Utilize Spring Boot's convention-over-configuration approach Write unit and integration tests for apps implemented with Spring Minimize work when building any kind of app Persisting data in a Spring application using the latest approach Spring Start Here introduces you to Java development with Spring by concentrating on the core concepts you'll use in every application you build. You'll learn how to refactor an existing application to Spring, how to use Spring tools to make SQL database requests and REST calls, and how to secure your projects with Spring Security. There's always more to learn, and this book will make your next steps much easier. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology For Java developers, Spring is the must-learn framework. This incredible development tool powers everything from small business ecommerce applications to enterprise-scale microservices. Mastering Spring is a long journey. Taking your first step is easy! Start here. About the book Spring Start Here teaches Java developers how to build applications using Spring framework. Informative graphics, relevant examples, and author Laurentiu Spilca's clear and lively writing make it easy to pick up the skills you need. You'll discover how to plan, write, and test applications. And by concentrating on the most important features, this no-nonsense book gives you a firm foundation for exploring Spring's rich ecosystem. What's inside Build web applications with Spring Minimize repetition and manual work Persisting data in a Spring application HTTP and REST-based web services Testing your Spring implementations About the reader For readers with beginning to intermediate Java skills. About the author Lauren?iu Spilca is a skilled Java and Spring developer and an experienced technology instructor. Table of Contents PART 1 FUNDAMENTALS 1 Spring in the real world 2 The Spring context: Defining beans 3 The Spring context: Wiring beans 4 The Spring context: Using abstractions 5 The Spring context: Bean scopes and life cycle 6 Using aspects with Spring AOP PART 2 IMPLEMENTATION 7 Understanding Spring Boot and Spring MVC 8 Implementing web apps with Spring Boot and Spring MVC 9 Using the Spring web scopes 10 Implementing REST services 11 Consuming REST endpoints 12 Using data sources in Spring apps 13 Using transactions in Spring apps 14 Implementing data persistence with Spring Data 15 Testing your Spring app

Microservices Security in Action

Microservices Security in Action

Author: Prabath Siriwardena

Publisher: Manning Publications

ISBN: 9781617295959

Category: Computers

Page: 614

View: 491

Microservices Security in Action teaches you how to address microservices-specific security challenges throughout the system. This practical guide includes plentiful hands-on exercises using industry-leading open-source tools and examples using Java and Spring Boot. Summary Unlike traditional enterprise applications, Microservices applications are collections of independent components that function as a system. Securing the messages, queues, and API endpoints requires new approaches to security both in the infrastructure and the code. Microservices Security in Action teaches you how to address microservices-specific security challenges throughout the system. This practical guide includes plentiful hands-on exercises using industry-leading open-source tools and examples using Java and Spring Boot. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Integrating independent services into a single system presents special security challenges in a microservices deployment. With proper planning, however, you can build in security from the start. Learn to create secure services and protect application data throughout development and deployment. As microservices continue to change enterprise application systems, developers and architects must learn to integrate security into their design and implementation. Because microservices are created as a system of independent components, each a possible point of failure, they can multiply the security risk. With proper planning, design, and implementation, you can reap the benefits of microservices while keeping your application data—and your company’s reputation—safe! About the book Microservices Security in Action is filled with solutions, teaching best practices for throttling and monitoring, access control, and microservice-to-microservice communications. Detailed code samples, exercises, and real-world use cases help you put what you’ve learned into production. Along the way, authors and software security experts Prabath Siriwardena and Nuwan Dias shine a light on important concepts like throttling, analytics gathering, access control at the API gateway, and microservice-to-microservice communication. You’ll also discover how to securely deploy microservices using state-of-the-art technologies including Kubernetes, Docker, and the Istio service mesh. Lots of hands-on exercises secure your learning as you go, and this straightforward guide wraps up with a security process review and best practices. When you’re finished reading, you’ll be planning, designing, and implementing microservices applications with the priceless confidence that comes with knowing they’re secure! What's inside Microservice security concepts Edge services with an API gateway Deployments with Docker, Kubernetes, and Istio Security testing at the code level Communications with HTTP, gRPC, and Kafka About the reader For experienced microservices developers with intermediate Java skills. About the author Prabath Siriwardena is the vice president of security architecture at WSO2. Nuwan Dias is the director of API architecture at WSO2. They have designed secure systems for many Fortune 500 companies. Table of Contents PART 1 OVERVIEW 1 Microservices security landscape 2 First steps in securing microservices PART 2 EDGE SECURITY 3 Securing north/south traffic with an API gateway 4 Accessing a secured microservice via a single-page application 5 Engaging throttling, monitoring, and access control PART 3 SERVICE-TO-SERVICE COMMUNICATIONS 6 Securing east/west traffic with certificates 7 Securing east/west traffic with JWT 8 Securing east/west traffic over gRPC 9 Securing reactive microservices PART 4 SECURE DEPLOYMENT 10 Conquering container security with Docker 11 Securing microservices on Kubernetes 12 Securing microservices with Istio service mesh PART 5 SECURE DEVELOPMENT 13 Secure coding practices and automation

Bootstrapping Microservices with Docker, Kubernetes, and Terraform

Bootstrapping Microservices with Docker, Kubernetes, and Terraform

Author: Ashley Davis

Publisher: Simon and Schuster

ISBN: 9781638350934

Category: Computers

Page: 440

View: 558

Summary The best way to learn microservices development is to build something! Bootstrapping Microservices with Docker, Kubernetes, and Terraform guides you from zero through to a complete microservices project, including fast prototyping, development, and deployment. You’ll get your feet wet using industry-standard tools as you learn and practice the practical skills you’ll use for every microservices application. Following a true bootstrapping approach, you’ll begin with a simple, familiar application and build up your knowledge and skills as you create and deploy a real microservices project. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Taking microservices from proof of concept to production is a complex, multi-step operation relying on tools like Docker, Terraform, and Kubernetes for packaging and deployment. The best way to learn the process is to build a project from the ground up, and that’s exactly what you’ll do with this book! About the book In Bootstrapping Microservices with Docker, Kubernetes, and Terraform, author Ashley Davis lays out a comprehensive approach to building microservices. You’ll start with a simple design and work layer-by-layer until you’ve created your own video streaming application. As you go, you’ll learn to configure cloud infrastructure with Terraform, package microservices using Docker, and deploy your finished project to a Kubernetes cluster. What's inside Developing and testing microservices applications Working with cloud providers Applying automated testing Implementing infrastructure as code and setting up a continuous delivery pipeline Monitoring, managing, and troubleshooting About the reader Examples are in JavaScript. No experience with microservices, Kubernetes, Terraform, or Docker required. About the author Ashley Davis is a software developer, entrepreneur, stock trader, and the author of Manning’s Data Wrangling with JavaScript. Table of Contents 1 Why microservices? 2 Creating your first microservice 3 Publishing your first microservice 4 Data management for microservices 5 Communication between microservices 6 Creating your production environment 7 Getting to continuous delivery 8 Automated testing for microservices 9 Exploring FlixTube 10 Healthy microservices 11 Pathways to scalability

Cloud Computing – CLOUD 2019

Cloud Computing – CLOUD 2019

Author: Dilma Da Silva

Publisher: Springer

ISBN: 9783030235024

Category: Computers

Page: 356

View: 843

This volume constitutes the proceedings of the 12th International Conference on Cloud Computing, CLOUD 2019, held as part of the Services Conference Federation, SCF 2019, in San Diego, CA, USA, in June 2019. The 24 full papers were carefully reviewed and selected from 53 submissions. CLOUD has been a prime international forum for both researchers and industry practitioners to exchange the latest fundamental advances in the state of the art and practice of cloud computing, to identify emerging research topics, and to define the future of cloud computing. All topics regarding cloud computing align with the theme of CLOUD.

Machine Learning in Microservices

Machine Learning in Microservices

Author: Mohamed Abouahmed

Publisher: Packt Publishing Ltd

ISBN: 9781804612149

Category: Computers

Page: 270

View: 476

Implement real-world machine learning in a microservices architecture as well as design, build, and deploy intelligent microservices systems using examples and case studies Purchase of the print or Kindle book includes a free PDF eBook Key Features Design, build, and run microservices systems that utilize the full potential of machine learning Discover the latest models and techniques for combining microservices and machine learning to create scalable systems Implement machine learning in microservices architecture using open source applications with pros and cons Book Description With the rising need for agile development and very short time-to-market system deployments, incorporating machine learning algorithms into decoupled fine-grained microservices systems provides the perfect technology mix for modern systems. Machine Learning in Microservices is your essential guide to staying ahead of the curve in this ever-evolving world of technology. The book starts by introducing you to the concept of machine learning microservices architecture (MSA) and comparing MSA with service-based and event-driven architectures, along with how to transition into MSA. Next, you'll learn about the different approaches to building MSA and find out how to overcome common practical challenges faced in MSA design. As you advance, you'll get to grips with machine learning (ML) concepts and see how they can help better design and run MSA systems. Finally, the book will take you through practical examples and open source applications that will help you build and run highly efficient, agile microservices systems. By the end of this microservices book, you'll have a clear idea of different models of microservices architecture and machine learning and be able to combine both technologies to deliver a flexible and highly scalable enterprise system. What you will learn Recognize the importance of MSA and ML and deploy both technologies in enterprise systems Explore MSA enterprise systems and their general practical challenges Discover how to design and develop microservices architecture Understand the different AI algorithms, types, and models and how they can be applied to MSA Identify and overcome common MSA deployment challenges using AI and ML algorithms Explore general open source and commercial tools commonly used in MSA enterprise systems Who this book is for This book is for machine learning solution architects, system and machine learning developers, and system and solution integrators of private and public sector organizations. Basic knowledge of DevOps, system architecture, and artificial intelligence (AI) systems is assumed, and working knowledge of the Python programming language is highly desired.

The Java Module System

The Java Module System

Author: Nicolai Parlog

Publisher: Simon and Schuster

ISBN: 9781638356240

Category: Computers

Page: 440

View: 364

Summary Java's much-awaited "Project Jigsaw" is finally here! Java 11 includes a built-in modularity framework, and The Java Module System is your guide to discovering it. In this new book, you'll learn how the module system improves reliability and maintainability, and how it can be used to reduce tight coupling of system components. Foreword by Kevlin Henney. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. You'll find registration instructions inside the print book. About the Technology Packaging code into neat, well-defined units makes it easier to deliver safe and reliable applications. The Java Platform Module System is a language standard for creating these units. With modules, you can closely control how JARs interact and easily identify any missing dependencies at startup. This shift in design is so fundamental that starting with Java 9, all core Java APIs are distributed as modules, and libraries, frameworks, and applications will benefit from doing the same. About the Book The Java Module System is your in-depth guide to creating and using Java modules. With detailed examples and easy-to-understand diagrams, you'll learn the anatomy of a modular Java application. Along the way, you'll master best practices for designing with modules, debugging your modular app, and deploying to production. What's inside The anatomy of a modular Java app Building modules from source to JAR Migrating to modular Java Decoupling dependencies and refining APIs Handling reflection and versioning Customizing runtime images Updated for Java 11 About the Reader Perfect for developers with some Java experience. About the Author Nicolai Parlog is a developer, author, speaker, and trainer. His home is codefx.org. Table of Contents PART 1 - Hello, modules First piece of the puzzle Anatomy of a modular application Defining modules and their properties Building modules from source to JAR Running and debugging modular applications PART 2 - Adapting real-world projects Compatibility challenges when moving to Java 9 or later Recurring challenges when running on Java 9 or later Incremental modularization of existing projects Migration and modularization strategies PART 3 - Advanced module system features Using services to decouple modules Refining dependencies and APIs Reflection in a modular world Module versions: What's possible and what's not Customizing runtime images with jlink Putting the pieces together

Software Architecture for Busy Developers

Software Architecture for Busy Developers

Author: Stephane Eyskens

Publisher: Packt Publishing Ltd

ISBN: 9781801079853

Category: Computers

Page: 174

View: 195

A quick start guide to learning essential software architecture tools, frameworks, design patterns, and best practices Key FeaturesApply critical thinking to your software development and architecture practices and bring structure to your approach using well-known IT standardsUnderstand the impact of cloud-native approaches on software architectureIntegrate the latest technology trends into your architectural designsBook Description Are you a seasoned developer who likes to add value to a project beyond just writing code? Have you realized that good development practices are not enough to make a project successful, and you now want to embrace the bigger picture in the IT landscape? If so, you're ready to become a software architect; someone who can deal with any IT stakeholder as well as add value to the numerous dimensions of software development. The sheer volume of content on software architecture can be overwhelming, however. Software Architecture for Busy Developers is here to help. Written by Stephane Eyskens, author of The Azure Cloud Native Mapbook, this book guides you through your software architecture journey in a pragmatic way using real-world scenarios. By drawing on over 20 years of consulting experience, Stephane will help you understand the role of a software architect, without the fluff or unnecessarily complex theory. You'll begin by understanding what non-functional requirements mean and how they concretely impact target architecture. The book then covers different frameworks used across the entire enterprise landscape with the help of use cases and examples. Finally, you'll discover ways in which the cloud is becoming a game changer in the world of software architecture. By the end of this book, you'll have gained a holistic understanding of the architectural landscape, as well as more specific software architecture skills. You'll also be ready to pursue your software architecture journey on your own - and in just one weekend! What you will learnUnderstand the roles and responsibilities of a software architectExplore enterprise architecture tools and frameworks such as The Open Group Architecture Framework (TOGAF) and ArchiMateGet to grips with key design patterns used in software developmentExplore the widely adopted Architecture Tradeoff Analysis Method (ATAM)Discover the benefits and drawbacks of monoliths, service-oriented architecture (SOA), and microservicesStay on top of trending architectures such as API-driven, serverless, and cloud nativeWho this book is for This book is for developers who want to move up the organizational ladder and become software architects by understanding the broader application landscape and discovering how large enterprises deal with software architecture practices. Prior knowledge of software development is required to get the most out of this book.

Service-Oriented Computing

Service-Oriented Computing

Author: Sami Yangui

Publisher: Springer Nature

ISBN: 9783030337025

Category: Computers

Page: 583

View: 331

This book constitutes the proceedings of the 17th International Conference on Service-Oriented Computing, ICSOC 2019, held in Toulouse, France, in October 2019. The 28 full and 12 short papers presented together with 7 poster and 2 invited papers in this volume were carefully reviewed and selected from 181 submissions. The papers have been organized in the following topical sections: Service Engineering; Run-time Service Operations and Management; Services and Data; Services in the Cloud; Services on the Internet of Things; Services in Organizations, Business and Society; and Services at the Edge.