“A C4 container diagram for a booking platform with customer and admin browsers using a web application, which calls a booking API. The booking API uses a booking database, search service, payment provider and email service.”
看懂背後的決策。
Separates customer and administrator access.
Divides the web interface from the booking API.
Identifies storage and external services used by the API.
Use this container view to communicate the running applications and services in a booking platform.
常見問題
What is a C4 container?
A separately running application, data store or service within a software system.
Is a container always a Docker container?
No. In C4, container means a deployable or executable unit, including web apps and databases.
Why separate the web app and API?
They have different responsibilities and often different scaling, security and deployment concerns.