SlideShare une entreprise Scribd logo
1  sur  10
ispitfiregroup.com
Multi-Tenancy
Architecture Overview
December 20, 2015
Michael Byrne – Practice Director
ispitfiregroup.com
Multi-Tenancy Architectures
• The word “multi-tenancy” is frequently misused.
If you use this word, be specific about what you
mean.
o Shared everything
o Single Tenant Database
• Shared database – separate schema
• Separate databases
o Single Tenant Application
o Shared Nothing – hosted instance
• https://msdn.microsoft.com/en-
us/library/hh534482.aspx
ispitfiregroup.com
Multi-Tenancy
Shared Everything
•Tenants Share
o Infrastructure
o Application Servers
o Database
•Pros
o Cost savings
o Data aggregation / data mining
o Release Management / Support
•Cons
o Complexity
o Security risks around managing
shared data
o Difficult to customize data backup
/ restore
o Difficult to limit tenant access to
resources for fair use
– This is why SalesForce has
governor limits
ispitfiregroup.com
Multi-Tenancy
Single Tenant
Separate Schema
•Tenants Share
o Infrastructure
o Application Servers
o Shared database(s), but separate
schemas
•Pros
o Segmentation of data by schema
simplifies application logic
o Each customer can be assigned
the same schema across
databases
•Cons
o Complexity of managing separate
security schemas
o Cross tenant aggregation is
complex
o Tenant administration is more
complex
ispitfiregroup.com
Multi-Tenancy
Single Tenant
Separate Database
•Tenants Share
o Infrastructure
o Application Servers
o Database Servers, but each
tenant has a separate database
•Pros
o Simple segmentation of data
o Simplifies application logic
o Simplified backup of tenant data
•Cons
o Complexity of managing many
database
o Tenant administration is complex
o Application servers must
communicate with many
databases
ispitfiregroup.com
Multi-Tenancy
Single Tenant
Application
•Tenants Share
o Database layer
o Application layer is isolated by
tenant
•Pros
o Allows simple metering at
application layer by tenant
o Allows customization of
application for tenant
• (If you want to support this, using
extension points may be a better
model)
•Cons
o Complexity of maintenance at
the application level
o Support costs increase
ispitfiregroup.com
Multi-Tenancy
Shared Nothing
•Tenants Share Nothing
•Pros
o Each tenant is essentially
hosted in their own
dedicated environment
o Highly customizable by
“tenant”
o Supports different backup
and upgrade options
•Cons
o No economy of scale for
hardware / licensing /
support
o Data aggregation very
complex and costly
ispitfiregroup.com
Consider Multi-Tenancy Perspective
Tenant
• Isolation
• Availability
• Scalability
• Costs
• Customizability
• Regulatory Compliance
• Integration (APIs)
Provider
• Meeting tenant’s goals
• Profitability
• Billing
• Multiple Service Levels
(Product differentiation)
• Provisioning
• Maintainability
• Monitoring
• Automation
• Customer Retention (APIs,
support, etc) = Valuation $$
Depending on the engagement we need to see multi-tenancy from different perspectives.
https://msdn.microsoft.com/en-us/library/hh534482.aspx
ispitfiregroup.com
Scalable
•Applications should be
architected to dynamically
scale-out across multiple
nodes when a load
balancer is put in place
•Web applications and
services should be
stateless
o State consumes memory,
and requires that clients be
“sticky” to a node
•Databases should be
designed for partitioning
ispitfiregroup.com
Security
• We build solutions that follow security best
practices including security-in-depth, claims and
role based authorization.
• We secure all exposed parts of the application,
including UI, APIs, file uploads, etc.
• We do not rely exclusively on firewalls and other
infrastructure security elements for application
security.
• We discuss security with our customers.

Contenu connexe

En vedette

Multi-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud ComputingMulti-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud Computing
Srinath Perera
 
Saa s multitenant database architecture
Saa s multitenant database architectureSaa s multitenant database architecture
Saa s multitenant database architecture
mmubashirkhan
 
Cloudproject
CloudprojectCloudproject
Cloudproject
anushv24
 

En vedette (20)

Multi-Tenancy with Spring Boot
Multi-Tenancy with Spring Boot Multi-Tenancy with Spring Boot
Multi-Tenancy with Spring Boot
 
Multi-tenancy In the Cloud
Multi-tenancy In the CloudMulti-tenancy In the Cloud
Multi-tenancy In the Cloud
 
Multi-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud ComputingMulti-Tenant SOA Middleware for Cloud Computing
Multi-Tenant SOA Middleware for Cloud Computing
 
Saa s multitenant database architecture
Saa s multitenant database architectureSaa s multitenant database architecture
Saa s multitenant database architecture
 
Single vs. Multi Tenant Cost Comparison
Single vs. Multi Tenant Cost ComparisonSingle vs. Multi Tenant Cost Comparison
Single vs. Multi Tenant Cost Comparison
 
Architecting SaaS: Doing It Right the First Time
Architecting SaaS: Doing It Right the First TimeArchitecting SaaS: Doing It Right the First Time
Architecting SaaS: Doing It Right the First Time
 
Open Architecture for Developing Multitenant Software-as-a-Service Applications
Open Architecture for Developing Multitenant Software-as-a-Service ApplicationsOpen Architecture for Developing Multitenant Software-as-a-Service Applications
Open Architecture for Developing Multitenant Software-as-a-Service Applications
 
RESTful API Design, Second Edition
RESTful API Design, Second EditionRESTful API Design, Second Edition
RESTful API Design, Second Edition
 
Best Practices You Must Apply to Secure Your APIs - Scott Morrison, SVP & Dis...
Best Practices You Must Apply to Secure Your APIs - Scott Morrison, SVP & Dis...Best Practices You Must Apply to Secure Your APIs - Scott Morrison, SVP & Dis...
Best Practices You Must Apply to Secure Your APIs - Scott Morrison, SVP & Dis...
 
Component Level Security
Component Level SecurityComponent Level Security
Component Level Security
 
Requirements of Storage Multitenancy
Requirements of Storage MultitenancyRequirements of Storage Multitenancy
Requirements of Storage Multitenancy
 
QoS, QoS Baby
QoS, QoS BabyQoS, QoS Baby
QoS, QoS Baby
 
Storage Multi-Tenancy For Cloud Service Providers
Storage Multi-Tenancy For Cloud Service ProvidersStorage Multi-Tenancy For Cloud Service Providers
Storage Multi-Tenancy For Cloud Service Providers
 
OpenStack London Meetup, 18 Nov 2015
OpenStack London Meetup, 18 Nov 2015OpenStack London Meetup, 18 Nov 2015
OpenStack London Meetup, 18 Nov 2015
 
Cloudproject
CloudprojectCloudproject
Cloudproject
 
Multi-tenancy in Private Clouds
Multi-tenancy in Private CloudsMulti-tenancy in Private Clouds
Multi-tenancy in Private Clouds
 
Dalla parte degli utenti: riprogettare un sito della PA
Dalla parte degli utenti: riprogettare un sito della PADalla parte degli utenti: riprogettare un sito della PA
Dalla parte degli utenti: riprogettare un sito della PA
 
Il paradigma UCaaS: come migliorare i processi di business dell’azienda attra...
Il paradigma UCaaS: come migliorare i processi di business dell’azienda attra...Il paradigma UCaaS: come migliorare i processi di business dell’azienda attra...
Il paradigma UCaaS: come migliorare i processi di business dell’azienda attra...
 
Multi tenant architecture
Multi tenant architectureMulti tenant architecture
Multi tenant architecture
 
Automatic Cloud Deployment: un caso di studio basato sul software OwnCloud
Automatic Cloud Deployment: un caso di studio basato sul software OwnCloudAutomatic Cloud Deployment: un caso di studio basato sul software OwnCloud
Automatic Cloud Deployment: un caso di studio basato sul software OwnCloud
 

Dernier

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 

Dernier (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 

Multi-Tenancy Architecture Overview

  • 2. ispitfiregroup.com Multi-Tenancy Architectures • The word “multi-tenancy” is frequently misused. If you use this word, be specific about what you mean. o Shared everything o Single Tenant Database • Shared database – separate schema • Separate databases o Single Tenant Application o Shared Nothing – hosted instance • https://msdn.microsoft.com/en- us/library/hh534482.aspx
  • 3. ispitfiregroup.com Multi-Tenancy Shared Everything •Tenants Share o Infrastructure o Application Servers o Database •Pros o Cost savings o Data aggregation / data mining o Release Management / Support •Cons o Complexity o Security risks around managing shared data o Difficult to customize data backup / restore o Difficult to limit tenant access to resources for fair use – This is why SalesForce has governor limits
  • 4. ispitfiregroup.com Multi-Tenancy Single Tenant Separate Schema •Tenants Share o Infrastructure o Application Servers o Shared database(s), but separate schemas •Pros o Segmentation of data by schema simplifies application logic o Each customer can be assigned the same schema across databases •Cons o Complexity of managing separate security schemas o Cross tenant aggregation is complex o Tenant administration is more complex
  • 5. ispitfiregroup.com Multi-Tenancy Single Tenant Separate Database •Tenants Share o Infrastructure o Application Servers o Database Servers, but each tenant has a separate database •Pros o Simple segmentation of data o Simplifies application logic o Simplified backup of tenant data •Cons o Complexity of managing many database o Tenant administration is complex o Application servers must communicate with many databases
  • 6. ispitfiregroup.com Multi-Tenancy Single Tenant Application •Tenants Share o Database layer o Application layer is isolated by tenant •Pros o Allows simple metering at application layer by tenant o Allows customization of application for tenant • (If you want to support this, using extension points may be a better model) •Cons o Complexity of maintenance at the application level o Support costs increase
  • 7. ispitfiregroup.com Multi-Tenancy Shared Nothing •Tenants Share Nothing •Pros o Each tenant is essentially hosted in their own dedicated environment o Highly customizable by “tenant” o Supports different backup and upgrade options •Cons o No economy of scale for hardware / licensing / support o Data aggregation very complex and costly
  • 8. ispitfiregroup.com Consider Multi-Tenancy Perspective Tenant • Isolation • Availability • Scalability • Costs • Customizability • Regulatory Compliance • Integration (APIs) Provider • Meeting tenant’s goals • Profitability • Billing • Multiple Service Levels (Product differentiation) • Provisioning • Maintainability • Monitoring • Automation • Customer Retention (APIs, support, etc) = Valuation $$ Depending on the engagement we need to see multi-tenancy from different perspectives. https://msdn.microsoft.com/en-us/library/hh534482.aspx
  • 9. ispitfiregroup.com Scalable •Applications should be architected to dynamically scale-out across multiple nodes when a load balancer is put in place •Web applications and services should be stateless o State consumes memory, and requires that clients be “sticky” to a node •Databases should be designed for partitioning
  • 10. ispitfiregroup.com Security • We build solutions that follow security best practices including security-in-depth, claims and role based authorization. • We secure all exposed parts of the application, including UI, APIs, file uploads, etc. • We do not rely exclusively on firewalls and other infrastructure security elements for application security. • We discuss security with our customers.