Microservice Architecture: Aligning Principles, Practices, and Culture

Microservice Architecture: Aligning Principles, Practices, and Culture

Microservice Architecture: Aligning Principles, Practices, and Culture

Microservice Architecture: Aligning Principles, Practices, and Culture

eBook

$25.49  $33.99 Save 25% Current price is $25.49, Original price is $33.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Microservices can have a positive impact on your enterprise—just ask Amazon and Netflix—but you can fall into many traps if you don’t approach them in the right way. This practical guide covers the entire microservices landscape, including the principles, technologies, and methodologies of this unique, modular style of system building. You’ll learn about the experiences of organizations around the globe that have successfully adopted microservices.

In three parts, this book explains how these services work and what it means to build an application the Microservices Way. You’ll explore a design-based approach to microservice architecture with guidance for implementing various elements. And you’ll get a set of recipes and practices for meeting practical, organizational, and cultural challenges to microservice adoption.

  • Learn how microservices can help you drive business objectives
  • Examine the principles, practices, and culture that define microservice architectures
  • Explore a model for creating complex systems and a design process for building a microservice architecture
  • Learn the fundamental design concepts for individual microservices
  • Delve into the operational elements of a microservices architecture, including containers and service discovery
  • Discover how to handle the challenges of introducing microservice architecture in your organization

Product Details

ISBN-13: 9781491956229
Publisher: O'Reilly Media, Incorporated
Publication date: 07/18/2016
Sold by: Barnes & Noble
Format: eBook
Pages: 146
File size: 4 MB

About the Author

Irakli is CTO and co-founder of a New York health-tech startup ReferWell. At any given time he can be found: designing and implementing APIs, discussing distributed systems architecture and expressing opinions about product management. Prior to ReferWell Irakli held leadership roles at API Academy of CA Technologies, and NPR. Irakli is highly involved in the startup community and has spent over a decade in Washington, DC building innovative products for media companies, government and international organizations, while also being an active open-source contributor and advocate. You can connect to Irakli on Twitter at @inadarei.


As the Director of Design at CA’s API Academy, Ronnie Mitra is focused on helping people design better distributed systems. He travels around the world, helping organisations adopt a design-centric approach to interface design and a system-centric approach to application architecture. Mitra is currently writing a book with Irakli Nadareishvili, Matt McLarty and Mike Amundsen on microservices design and architecture.


Matt McLarty (@mattmclartybc) is Vice President of the API Academy at CA Technologies. The API Academy helps companies thrive in the digital economy by providing expert guidance on strategy, architecture and design for APIs.


An internationally known author and lecturer, Mike Amundsen travels throughout the world consulting and speaking on a wide range of topics including distributed network architecture, Web application development, and other subjects.

In his role of Director of Architecture for the API Academy, Amundsen heads up the API Architecture and Design Practice in North America. He is responsible for working with companies to provide insight on how best to capitalize on the myriad opportunities APIs present to both consumers and the enterprise.

Amundsen has authored numerous books and papers on programming over the last 15 years. His most recent book is a collaboration with Leonard Richardson titled "RESTful Web APIs" published in 2013. His 2011 book, "Building Hypermedia APIs with HTML5 and Node", is an oft-cited reference on building adaptable Web applications.

Table of Contents

Preface ix

Part I Understanding Microservices

1 The Microservices Way 3

Understanding Microservices 4

Adopting Microservices 5

"What are microservices? Don't I already have them?" 6

"How could this work here?" 7

"How would we deal with all the parts? Who is in charge?" 8

The Microservices Way 9

The Speed of Change 9

The Safety of Change 9

At Scale 10

In Harmony 10

Summary 11

2 The Microservices Value Proposition 13

Microservice Architecture Benefits 13

Deriving Business Value 15

Defining a Goal-Oriented, Layered Approach 17

Modularized Microservice Architecture 17

Cohesive Microservice Architecture 18

Systematized Microservice Architecture 18

Maturity Model for Microservice Architecture Goals and Benefits 19

Applying the Goal-Oriented, Layered Approach 20

Summary 21

Part II Microservice Design Principles

3 Designing Microservice Systems 25

The Systems Approach to Microservices 25

Service 27

Solution 28

Process and Tools 28

Organization 28

Culture 29

Embracing Change 29

Putting it Together: The Holistic System 30

Standardization and Coordination 30

A Microservices Design Process 33

Set Optimization Goals 34

Development Principles 35

Sketch the System Design 35

Implement, Observe, and Adjust 36

The Microservices System Designer 38

Summary 38

4 Establishing a Foundation 41

Goals and Principles 42

Goals for the Microservices Way 42

Operating Principles 45

Platforms 49

Shared Capabilities 50

Local Capabilities 52

Culture 54

Focus on Communication 55

Aligning Your Teams 55

Fostering Innovation 57

Summary 58

Part III Microservices in Practice

5 Service Design 61

Microservice Boundaries 62

Microservice Boundaries and Domain-Driven Design 62

Bounded Context 64

Smaller Is Better 65

Ubiquitous Language 66

API Design for Microservices 67

Messsage-Oriented 67

Hypermedia-Driven 68

Data and Microservices 70

Shipping, Inc. 70

Event Sourcing 72

System Model for Shipping, Inc. 75

CQRS 76

Distributed Transactions and Sagas 78

Asynchronous Message-Passing and Microservices 80

Dealing with Dependencies 81

Pragmatic Mobility 84

Summary 86

6 System Design and Operations 89

Independent Deployability 89

More Servers, More Servers! My Kingdom for a Server! 91

Docker and Microservices 93

The Role of Service Discovery 94

The Need for an API Gateway 98

Security 98

Transformation and Orchestration 99

Routing 101

Monitoring and Alerting 101

Summary 102

7 Adopting Microservices in Practice 105

Solution Architecture Guidance 106

How many bug fixes/features should be included in a single release? 106

When do I know our microservice transformation is done? 106

Organizational Guidance 107

How do I know if my organization is ready for microservices? 107

Culture Guidance 108

How do I introduce change? 108

Can I do microservices in a project-centric culture? 110

Can I do microservices with outsourced workers? 110

Tools and Process Guidance 111

What kinds of tools and technology are required for microservices? 111

What kinds of practices and processes will I need to support microservices? 112

How do I govern a microservice system? 113

Services Guidance 114

Should all microservices be coded in the same programming language? 114

What do I do about orphaned components? 115

Summary 115

8 Epilogue 117

A Microservice Architecture Reading List 119

Index 123

From the B&N Reads Blog

Customer Reviews