Browse patterns / System architecture / A008
microservices

Microservices architecture

An architecture style that develops one application as a suite of small services running in independent processes.

Recorded evidence 14/14Compare →Source
01 / UNDERSTAND

Structure and behavior

Follow the arrows step by step.

Example of independent deployments and data ownership. Interservice calls and distributed data consistency introduce additional concerns.

Expected benefits

Supports resilience, high scalability, independent deployments, and rapid evolution.

Trade-offs

Retries and breakers improve reliability but can increase tail latency; tune timeouts and fail-fast behavior.

Simply splitting the application is not enough: design, deployment, and operations require a fundamental change in thinking.

02 / APPLY

Operations and adoption guide

Synthesis, distinct from items backed by source excerpts. Validate before applying in production.

When to use

Fits services that need independent scaling and rapid change, such as e-commerce catalogs, carts, and orders, large media streaming, and data or ML pipelines.

Scenario

A Korean e-commerce platform handling tens of millions of monthly requests separates its catalog, inventory, ordering, payments, and shipment tracking into independent services. At peak only orders and payments scale horizontally. Each service has a separate data store and API contract for canary releases without downtime. Services communicate with REST and events. The requirement is to isolate ordering failures rather than impacting the whole shop.

Placement principles

  • Split services by business capability and bounded context and provide a separate storage boundary per service
  • Put API gateways and message brokers at communication boundaries and forbid direct access to another service’s DB
  • Use a CDN for static UI and assets, external stores for sessions and cache, and queues and workers for asynchronous jobs
  • Place discovery, configuration, secrets, and observability in a shared platform layer
  • Standardize deployments on container images and externalize per-environment settings.

On premises

Reuse container images and orchestration templates. Integrate existing CI/CD, private registries, and monitoring. Plan network, storage, and node capacity directly, and use GitOps and a single operations console for consistency.

03 / VERIFY

Evidence by criterion (14 total)

Evidence availability at the time of research. Assess source accuracy and currency separately.

Definition and overviewEvidence available

An architecture style that develops one application as a suite of small services running in independent processes.

an approach to developing a single application as a suite of small services

martinfowler.com original ↗

Problem addressedEvidence available

Service-level failure isolation reduces single points of failure and allows independent scaling.

remove single points of failure (SPOFs) by ensuring issues in one service don't crash or affect other parts of an application.

learn.microsoft.com original ↗

Key components and resourcesEvidence available

A set of small, autonomous services.

A microservices architecture consists of a collection of small, autonomous services.

learn.microsoft.com original ↗

Data and asset placementEvidence available

Each service owns its technology stack, database, and data-management model.

Have their own technology stack, inclusive of the database and data management model.

www.ibm.com original ↗

Typical use casesEvidence available

Separate services for a product catalog, shopping cart, or order processing are e-commerce examples.

ecommerce: Platforms use microservices to manage product catalogs, shopping carts, and order processing independently

cloud.google.com original ↗

Example scenarioEvidence available

A retail sales reporting pipeline can split each preparation stage into a separate microservice.

in a reporting system for a company’s retail store sales, each step of the data preparation process

hazelcast.com original ↗

When to avoid and caveatsEvidence available

Simply splitting the application is not enough: design, deployment, and operations require a fundamental change in thinking.

Building a successful microservices architecture requires a fundamental shift in mindset.

learn.microsoft.com original ↗

On premises: development, deployment, and operationsEvidence available

Reuse the same container images and orchestration templates on premises.

same container images and orchestration templates work across cloud and on-premises environments

help.aliyun.com original ↗

Cloud: development, deployment, and operationsEvidence available

Consider multi-zone deployment within a region and failover for high availability in the cloud.

if you require high availability, you might deploy to multiple availability zones in a region

learn.microsoft.com original ↗

Kubernetes: development, deployment, and operationsEvidence available

A Kubernetes-based platform handles scheduling, orchestration, deployment, and canary releases for the services.

ACK handles scheduling, orchestration, deployment, and canary releases for microservice applications

help.aliyun.com original ↗

Incident responseEvidence available

Failures can arise from service interactions, so contain cascades and coordinate the response across services.

failures in a microservice system often result from an interaction between services

careersatdoordash.com original ↗

BenefitsEvidence available

Supports resilience, high scalability, independent deployments, and rapid evolution.

resilient, highly scalable, independently deployable, and able to evolve quickly

learn.microsoft.com original ↗

Drawbacks and trade-offsEvidence available

Retries and breakers improve reliability but can increase tail latency; tune timeouts and fail-fast behavior.

Retries and circuit breakers improve reliability but can increase tail latency; prefer fail-fast with tuned timeouts

arxiv.org original ↗

Representative tools and technologiesEvidence available

REST APIs, event streaming, and message brokers are representative communication technologies.

Communicate with one another over a combination of representational state transfer (REST) APIs, event streaming and message brokers.

www.ibm.com original ↗

Additional references (24)