Microservices with an API gateway
c4v1/01 Architecture overview
Independently deployable services, each owning its data, behind an API gateway, with asynchronous events between them.
Curated · enterprise · CC-BY-4.0 · Published by Lattix · 12 elements · 15 relationships · 3 views
Read full architecture description
A system split by business capability into services that each own their data and release on their own schedule. One API gateway is the entry point for clients; services talk to each other through events where they can. When to use: several teams working on one product, parts that need to scale or release independently, and a domain with clear boundaries. Trade-offs: team autonomy and independent scaling, paid for with distributed data, eventual consistency, more moving parts and a real need for observability and automation. Start with a modular monolith if the boundaries are not yet clear.
/02 Architecture views
View 1 of 3Browse or search all 3 diagrams
Showing 3 of 3 diagrams
Semantic inspector
Select a diagram block or edge, or use the accessible lists below. Inspection does not modify the architecture.
Package-wide semantic coverage
Diagram presence is not evidence of architectural correctness or compliance. Counts describe only the loaded, authorized package snapshot.
- Depicted elements
- 12 / 12
- Depicted relationships
- 15 / 15
- Relationships with missing endpoints
- 0
- Unresolved view references
- 0
Architecture reference evidence
Four independent observations from this authorized package snapshot. This is not a quality score, engineering validation, security assessment, or compliance determination. Missing information cannot be assumed correct.
Structural consistency
Criterion observed
0 observed defects
Integrity findings: 0; duplicate viewpoint keys: 0
Detected duplicate identities, missing relationship endpoints, unresolved diagram bindings, and duplicate viewpoint keys. No findings does not prove the model is correct.
Diagram coverage
Criterion observed
27/27 depicted records
Elements: 12/12; relationships: 15/15
Recorded semantic elements and relationships appearing in at least one diagram. Presence alone is not validation.
Recorded relationship traceability
Criterion observed
15/15 documented connections
Relationships with missing endpoints: 0
Relationships with both endpoints recorded and all three identities depicted somewhere in the package. Diagram locations need not be the same viewpoint; paths are not inferred.
Description evidence
Observed gaps
12/27 described records
Elements: 12/12; relationships: 0/15
Records containing a nonempty descriptive summary or description attribute. Labels and IDs are not sufficient; presence does not verify technical accuracy.
Evidence rule set: hub-reference-evidence.v1. Counts are per recorded item, including duplicate records; absence of detected findings does not attest correctness.
Model integrity and coverage findings (0 integrity, 0 coverage)
Integrity findings identify inconsistent recorded references or identities. Coverage findings identify valid recorded items absent from diagrams. Neither category measures security posture, correctness of intent, or regulatory compliance.
Showing 0 of 0 findings
No findings in this category.
Diagram elements (10)
Diagram relationships (9)
Select an element or relationship to inspect its attributes, connections, and diagram appearances.
Read diagram as structured elements and relationships
Elements (10)
- ClientBusiness Actor
Web, mobile or partner applications calling the platform.
- API gatewayApplication Component
Single entry point: routing, authentication, rate limiting and request shaping.
- Public APIAPI
The contract clients rely on, versioned independently of the services behind it.
- Orders serviceApplication Component
Owns orders and their lifecycle.
- Catalog serviceApplication Component
Owns products, prices and availability.
- Accounts serviceApplication Component
Owns customer accounts and preferences.
- Orders databaseData Store
Private to the orders service.
- Catalog databaseData Store
Private to the catalog service.
- Accounts databaseData Store
Private to the accounts service.
- Identity providerApplication
Issues the tokens the gateway checks.
Relationships (9)
- Clientuses →API gateway
- API gatewayrealizes →Public API
- API gatewayuses →Identity provider
- API gatewayuses →Orders service
- API gatewayuses →Catalog service
- API gatewayuses →Accounts service
- Orders serviceaccesses →Orders database
- Catalog serviceaccesses →Catalog database
- Accounts serviceaccesses →Accounts database
/03 Complete model inventory
Explore every element by type. Diagram navigation above shows one viewpoint at a time.
Business Actor (1)
- Client
Application Component (4)
- API gateway
- Orders service
- Catalog service
- Accounts service
API (1)
- Public API
Data Store (3)
- Orders database
- Catalog database
- Accounts database
System Software (1)
- Message broker
Application (1)
- Identity provider
Pattern (1)
- Database per service