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. These benefits, however, come with both technical and business challenges. This practical book equips SaaS builders and architects with a collection of patterns, strategies, and insights to help bridge these challenges to build faster, cheaper, and better applications.

Here’s what you will learn in this three-chapter preview:

  • A clear view of the landscape of SaaS architecture patterns and strategies.
  • Foundational principles for building robust, multi-tenant SaaS offerings.
  • A walk-through of all the moving parts of the SaaS environment, identifying the - tradeoffs and considerations that will influence the footprint of your multi-tenant solution.
  • Examine multi-tenant constructs through the lens of real-world SaaS solutions.
  • 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.