“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.”
Read the decisions behind it.
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.
Other examples in this family.
Common questions
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.