Microsoft: Multi-
tenant SaaS with
Azure
By: Akash Kumar Jadav
WWW.AIMDEK.COM
Agenda
• SaaS concepts and terminology
• How to choose the appropriate tenancy model
• SaaS Design Patterns
• Standalone app
• Database-per-tenant
• Sharded multi-tenant
• Tenancy models compared
• Demo
SaaS concepts and terminology
In the Software as a Service (SaaS) model, your company does not sell licenses to your software.
Instead, each customer makes rent payments to your company, making each customer a tenant
of your company.
In return for paying rent, each tenant receives access to your SaaS application components, and
has its data stored in the SaaS system.
The term tenancy model refers to how tenant’s stored data is organized:
• Single-tenancy: Each database stores data from only one tenant.
• Multi-tenancy: Each database stores data from multiple separate tenants (with
mechanisms to protect data privacy).
• Hybrid tenancy models are also available.
How to choose the appropriate tenancy model
● Scalability:
○ Number of tenants.
○ Storage per-tenant.
○ Storage in aggregate.
○ Workload.
● Tenant Isolation: Data isolation
and performance (whether one
tenant's workload impacts others).
● Per-tenant cost: Database costs.
● Development complexity:
○ Changes to schema.
○ Changes to queries (required
by the pattern).
● Operational complexity:
○ Monitoring and managing
performance.
○ Schema management.
○ Restoring a tenant.
○ Disaster recovery.
● Customizability: Ease of
supporting schema customizations
that are either tenant-specific or
tenant class-specific.
SaaS Design Patterns
• Standalone single-tenant app with single-tenant
database
• Multi-tenant app with database-per-tenant
• Multi-tenant app with multi-tenant databases
• Multi-tenant app with a single multi-tenant
database
• Multi-tenant app with sharded multi-tenant
databases
• Hybrid sharded multi-tenant database model
Tenancy Patterns
Tenancy Models Compared
Questions and Answers
www.aimdek.com
AIMDek Technologies Pvt. Ltd.
+91 78747 88766 | +1 844-744-4423
Sales: sales@aimdek.com
General: hello@aimdek.com
AIMDek Technologies Inc.
+1 647-243-6116
Sales: sales@aimdek.com
General: hello@aimdek.com
AIMDek Technologies Inc.
+1 647-243-6116
Sales: sales@aimdek.com
General: hello@aimdek.com
www.aimdek.com www.aimdek.com
Canada India USA

Microsoft: Multi-tenant SaaS with Azure

  • 1.
    Microsoft: Multi- tenant SaaSwith Azure By: Akash Kumar Jadav WWW.AIMDEK.COM
  • 2.
    Agenda • SaaS conceptsand terminology • How to choose the appropriate tenancy model • SaaS Design Patterns • Standalone app • Database-per-tenant • Sharded multi-tenant • Tenancy models compared • Demo
  • 3.
    SaaS concepts andterminology In the Software as a Service (SaaS) model, your company does not sell licenses to your software. Instead, each customer makes rent payments to your company, making each customer a tenant of your company. In return for paying rent, each tenant receives access to your SaaS application components, and has its data stored in the SaaS system. The term tenancy model refers to how tenant’s stored data is organized: • Single-tenancy: Each database stores data from only one tenant. • Multi-tenancy: Each database stores data from multiple separate tenants (with mechanisms to protect data privacy). • Hybrid tenancy models are also available.
  • 4.
    How to choosethe appropriate tenancy model ● Scalability: ○ Number of tenants. ○ Storage per-tenant. ○ Storage in aggregate. ○ Workload. ● Tenant Isolation: Data isolation and performance (whether one tenant's workload impacts others). ● Per-tenant cost: Database costs. ● Development complexity: ○ Changes to schema. ○ Changes to queries (required by the pattern). ● Operational complexity: ○ Monitoring and managing performance. ○ Schema management. ○ Restoring a tenant. ○ Disaster recovery. ● Customizability: Ease of supporting schema customizations that are either tenant-specific or tenant class-specific.
  • 5.
    SaaS Design Patterns •Standalone single-tenant app with single-tenant database • Multi-tenant app with database-per-tenant • Multi-tenant app with multi-tenant databases • Multi-tenant app with a single multi-tenant database • Multi-tenant app with sharded multi-tenant databases • Hybrid sharded multi-tenant database model
  • 6.
  • 7.
  • 8.
  • 9.
    www.aimdek.com AIMDek Technologies Pvt.Ltd. +91 78747 88766 | +1 844-744-4423 Sales: sales@aimdek.com General: hello@aimdek.com AIMDek Technologies Inc. +1 647-243-6116 Sales: sales@aimdek.com General: hello@aimdek.com AIMDek Technologies Inc. +1 647-243-6116 Sales: sales@aimdek.com General: hello@aimdek.com www.aimdek.com www.aimdek.com Canada India USA