“Create a SaaS platform architecture with web and mobile users, an API gateway, identity, tenant and billing services, a tenant database, and an event queue.”
図の背後にある意思決定を読み解く。
Put client traffic through one API gateway.
Keep tenant operations in a dedicated service.
Let tenant and billing services use the tenant database.
Publish service events to a queue.
Use this view when defining the first shared services of a SaaS product.
よくある質問
What should a SaaS architecture diagram show?
Show the client entry point, the main product services, the data stores they use and any asynchronous message path.
Why use an API gateway?
It gives clients one controlled entry point before requests reach internal services.
When is an event queue useful?
Use one for work that can happen after a request, such as notifications, billing updates or background processing.