Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Building Microservices - Sam Newman

Building Microservices

Designing Fine-Grained Systems

(Autor)

Buch | Softcover
280 Seiten
2015
O'Reilly Media (Verlag)
978-1-4919-5035-7 (ISBN)
CHF 62,80 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Distributed systems have become more fine-grained in the past 10 years, shifting from code-heavy monolithic applications to smaller, self-contained microservices. But developing these systems brings its own set of headaches. With lots of examples and practical advice, this book takes a holistic view of the topics that system architects and administrators must consider when building, managing, and evolving microservice architectures.

Microservice technologies are moving quickly. Author Sam Newman provides you with a firm grounding in the concepts while diving into current solutions for modeling, integrating, testing, deploying, and monitoring your own autonomous services. You’ll follow a fictional company throughout the book to learn how building a microservice architecture affects a single domain.
  • Discover how microservices allow you to align your system design with your organization’s goals
  • Learn options for integrating a service with the rest of your system
  • Take an incremental approach when splitting monolithic codebases
  • Deploy individual microservices through continuous integration
  • Examine the complexities of testing and monitoring distributed services
  • Manage security with user-to-service and service-to-service models
  • Understand the challenges of scaling microservice architectures

Sam Newman is a technologist at ThoughtWorks, where he currently splits his time between encouraging and sharing Innovation globally and helping design and build their internal systems. He has worked with a variety of companies in multiple domains around the world, often with one foot in the developer world, and another in the IT operations space.

Chapter 1Microservices
What Are Microservices?
Key Benefits
What About Service-Oriented Architecture?
Other Decompositional Techniques
No Silver Bullet
Summary
Chapter 2The Evolutionary Architect
Inaccurate Comparisons
An Evolutionary Vision for the Architect
Zoning
A Principled Approach
The Required Standard
Governance Through Code
Technical Debt
Exception Handling
Governance and Leading from the Center
Building a Team
Summary
Chapter 3How to Model Services
Introducing MusicCorp
What Makes a Good Service?
The Bounded Context
Business Capabilities
Turtles All the Way Down
Communication in Terms of Business Concepts
The Technical Boundary
Summary
Chapter 4Integration
Looking for the Ideal Integration Technology
Interfacing with Customers
The Shared Database
Synchronous Versus Asynchronous
Orchestration Versus Choreography
Remote Procedure Calls
REST
Implementing Asynchronous Event-Based Collaboration
Services as State Machines
Reactive Extensions
DRY and the Perils of Code Reuse in a Microservice World
Access by Reference
Versioning
User Interfaces
Integrating with Third-Party Software
Summary
Chapter 5Splitting the Monolith
It’s All About Seams
Breaking Apart MusicCorp
The Reasons to Split the Monolith
Tangled Dependencies
The Database
Getting to Grips with the Problem
Example: Breaking Foreign Key Relationships
Example: Shared Static Data
Example: Shared Data
Example: Shared Tables
Refactoring Databases
Transactional Boundaries
Reporting
The Reporting Database
Data Retrieval via Service Calls
Data Pumps
Event Data Pump
Backup Data Pump
Toward Real Time
Cost of Change
Understanding Root Causes
Summary
Chapter 6Deployment
A Brief Introduction to Continuous Integration
Mapping Continuous Integration to Microservices
Build Pipelines and Continuous Delivery
Platform-Specific Artifacts
Operating System Artifacts
Custom Images
Environments
Service Configuration
Service-to-Host Mapping
Automation
From Physical to Virtual
A Deployment Interface
Summary
Chapter 7Testing
Types of Tests
Test Scope
Implementing Service Tests
Those Tricky End-to-End Tests
Downsides to End-to-End Testing
Flaky and Brittle Tests
Test Journeys, Not Stories
Consumer-Driven Tests to the Rescue
So Should You Use End-to-End Tests?
Testing After Production
Cross-Functional Testing
Summary
Chapter 8Monitoring
Single Service, Single Server
Single Service, Multiple Servers
Multiple Services, Multiple Servers
Logs, Logs, and Yet More Logs…
Metric Tracking Across Multiple Services
Service Metrics
Synthetic Monitoring
Correlation IDs
The Cascade
Standardization
Consider the Audience
The Future
Summary
Chapter 9Security
Authentication and Authorization
Service-to-Service Authentication and Authorization
Securing Data at Rest
Defense in Depth
A Worked Example
Be Frugal
The Human Element
The Golden Rule
Baking Security In
External Verification
Summary
Chapter 10Conway’s Law and System Design
Evidence
Netflix and Amazon
What Can We Do with This?
Adapting to Communication Pathways
Service Ownership
Drivers for Shared Services
Internal Open Source
Bounded Contexts and Team Structures
The Orphaned Service?
Case Study: RealEstate.com.au
Conway’s Law in Reverse
People
Summary
Chapter 11Microservices at Scale
Failure Is Everywhere
How Much Is Too Much?
Degrading Functionality
Architectural Safety Measures
The Antifragile Organization
Idempotency
Scaling
Scaling Databases
Caching
Autoscaling
CAP Theorem
Service Discovery
Dynamic Service Registries
Documenting Services
The Self-Describing System
Summary
Chapter 12Bringing It All Together
Principles of Microservices
When Shouldn’t You Use Microservices?
Parting Words

Erscheint lt. Verlag 17.3.2015
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 186 x 232 mm
Gewicht 484 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Netzwerke
Informatik Software Entwicklung SOA / Web Services
Informatik Software Entwicklung Software Architektur
Schlagworte Architekturmuster • Entwurfsmuster • Softwarearchitektur • Softwareentwicklung
ISBN-10 1-4919-5035-8 / 1491950358
ISBN-13 978-1-4919-5035-7 / 9781491950357
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich