Curated example · Editable connections
SaaS architecture
you can explore.
Trace a tenant-aware web request through an API, access checks, and data stores.
Curated example
Follow the connections.
Sends a request. Treat everything arriving from the browser as untrusted input.
Make it your own
Browser -> API Gateway -> Application API -> Tenant Context Check -> PostgreSQL
API Gateway -> Auth Service
Application API -> Redis Cache
Application API -> Background WorkerChecking workspace availability. You can explore and copy this example now.
Read the tenant-aware request path
Follow Browser → API Gateway → Application API → Tenant Context Check → PostgreSQL. Identity answers who signed in; authorization decides which workspace and records that identity may use. These arrows show intended dependencies, not a recording of production traffic.
Choose a data-isolation model
For a multi-tenant SaaS architecture, decide whether tenant records share a schema, use separate schemas, or live in separate databases. Show where tenant scope is established and checked, and where database policies add defense in depth. A tenant ID column by itself is not an isolation strategy.
Carry tenant scope across services
Use tenant-aware cache keys, pass the intended workspace into asynchronous jobs, and check access again when a worker reads data. Remove the gateway if your browser calls the application directly; add a queue if jobs pass through one. This curated software architecture diagram helps review a design but does not prove security or deployment correctness.
Another system to explore
AI agent architecture
See how an orchestrator, model, tools, and memory work together.
Explore the diagram02RAG architecture
Separate document ingestion from retrieval and answer generation.
Explore the diagram03MCP architecture
Map an MCP host, its clients, and local or remote servers in one editable example.
Explore the diagram04System context
See a software system in its surroundings, with people and external services at the boundary.
Explore the diagram