What’s in the guide?

Multi-tenancy is a powerful way to increase the efficiency and scalability of software applications, while still providing customization and isolation for each tenant. However, these benefits also present unique technical and business challenges.

This three-chapter excerpt from the experts at O’Reilly equips SaaS builders and architects with valuable patterns, strategies, and insights to overcome these obstacles – so you can build better applications faster, and for less cost.

  • The Classic Software Model
  • The Natural Challenges of the Classic Model
  • The Move to Shared Infrastructure
  • The Advantage of Shared Infrastructure
  • Thinking Beyond Infrastructure
  • Re-Defining Multi-Tenancy
  • Where are the boundaries of SaaS?
  • The Managed Service Provider Model
  • At its Core, SaaS is a Business Model
  • Building a Service–Not a Product
  • Defining SaaS
  • Adding Tenancy to your Architecture
  • The Two Halves of Every SaaS Architecture
  • Inside the Control Plane
  • Onboarding
  • Identity
  • Metrics
  • Billing
  • Tenant Management
  • Inside the Application Plane
  • Tenant Context
  • Tenant Isolation
  • Data Partitioning
  • Tenant Routing
  • Multi-Tenant Application Deployment
  • The Gray Area
  • Tiering
  • Tenant, Tenant Admin, and System Admin Users
  • Tenant Provisioning
  • Integrating Control and Application Planes
  • Picking Technologies for Your Planes
  • Avoiding the Absolutes
  • Picking a Deployment Model
  • Introducing the Silo and Pool Models
  • Full Stack Silo Deployment
  • Where Full Stack Silo Fits
  • Full Stack Silo Considerations
  • Full Stack Silo in Action
  • Remaining Aligned on Full Stack Silo Mindset
  • The Full Stack Pool Model
  • Full Stack Pool Considerations
  • A Sample Architecture
  • A Hybrid Full Stack Deployment Model
  • The Mixed-Mode Deployment Model
  • The Pod Deployment Model
About the authors

Tod Golding, a global SaaS lead architect within AWS, has spent the last seven years immersed in cloud-optimized application design and architecture. He shares his learnings around SaaS best practices in Building Multi-Tenant SaaS Architectures: Principles, Practices and Patterns Using AWS — coming from O’Reilly in 2024. This exclusive preview, containing Chapters 1, 2, and 3, is available exclusively from Cockroach Labs.

CockroachDB: Distributed SQL, built for the cloud

Enterprises and emerging leaders alike trust Go-based CockroachDB.