Your SaaS application is hosted in the cloud, and you have to pay for this. That’s why subscription fees your customers pay must be higher than your cloud hosting spending. Wrong architectural decisions lead to hard-to-manage operational gaps. You may want to make provision for different negative scenarios architecturally.
Selecting a tenancy model isn't just a technical decision, it's also a commercial one.
The tenant is a purchased instance of your SaaS application or, in other words, a group of cloud resources (such as database space and many more) that each of your customers can use within the quota. You may want to use multitenancy deployment architecture to allow cloud resources, that your SaaS app consumes, to be shared between all your customers. Below are the benefits and risks of different types of deployment architecture.
Multi-Tenancy in SaaS Application Architecture
Multitenancy in SaaS for you as a SaaS owner means that you buy resources from your cloud provider to host your software and then allow your customers to share these resources. For example, potentially millions of tenants could be stored in a single database (resource costs for a single database are quite low).
In a fully multitenant deployment architecture, all components are shared.
Benefits of Fully Multitenant Deployment Architecture
- Low cost to operate even if you need to deploy more resources globally. You may want to use this type of architecture to decrease your cloud costs when your business scales and you onboard more and more customers.
- Cost maintenance is simpler since you only have to update one set of resources.
- Do not have to migrate data between two separate deployments and just need to update tenant identifiers and keys, if a user or tenant needs to move their data to another tenant.
Risks of Fully Multitenant Deployment Architecture
- High risk of data leaks between tenants. Separate data for each tenant carefully.
- Cloud cost changing affect your entire customer base. Be careful.
- Hitting a resource quota limit affects your entire customer base. Consider deploying multiple instances of your resources (for example, multiple storage accounts).
- Noisy Neighbor problem. Be concerned about the effects that single large tenants can have on other tenants while performing a heavy query or operation.
- Non-linear cost increase of scaling to keep up with the demand, especially when you have only a single, shared database.
Automated Single-Tenant Deployment Architecture
In an automated single-tenant deployment model, each tenant has a dedicated set of infrastructure.
Benefits of Automated Single-Tenant Deployment Architecture
- Low risk of data leakage. Data for each tenant is isolated which is important to customers with high regulatory compliance.
- Absence of Noisy Neighbor problem. Tenants don’t affect each other's system performance.
- Low risk of system-wide outage due to updates and changes. Ones can be rolled out progressively across tenants.
Risks of Automated Single-Tenant Deployment Architecture
- Low-cost efficiency. Think about the provision and use a dedicated subscription, per tenant.
- Time-consuming ongoing maintenance. Consider automating these processes, as well as other cross-deployment operations, like reporting and analytics across your whole SaaS solution.
Mixed-Tenancy Deployment Architecture
Some of your customers may want to use more cloud resources your SaaS provides than others, and it’s not correct to cover their spending with the help of others. It's more thoughtful to issue invoices to each subgroup depending on consumed resources.
SaaS philosophy is to provide the same pool of features and a shared environment. However, some of your clients will want customizations and will be ready to pay for them. Pay well. But these customizations are only be needed by them. Or they will prohibit your other customers to get access to these customizations.
In a vertically partitioned mixed-tenancy deployment architecture there are shared deployments for some tenants and single-tenant deployments for others.
Benefits of Vertically Partitioned Mixed-Tenancy Deployment Architecture
Cloud cost benefits because you can deploy cheaper shared resources for trial customers and provide a higher rate for customers who require higher performance or data isolation.
Risks of Vertically Partitioned Mixed-Tenancy Deployment Architecture
More spending on the codebase because the code needs to be designed to support both multitenant and single-tenant deployments, support migrating customers from a multitenant deployment to a single-tenant one, and help you understand which of your tenants are on which deployments to communicate information about system issues or upgrades to the relevant customers.
In a horizontally partitioned mixed-tenancy deployment architecture, some components of the infrastructure are shared, while others are within single-tenant deployments (like individual databases).
Benefits of Horizontally Partitioned Mixed-Tenancy Deployment Architecture
Absence of Noisy Neighbor problem. If you've found that some of your tenants send a large number of requests to your SaaS solution and your shared database is overloaded that negatively affects other tenants, you may provide them with separate databases.
Advise with a professional SaaS developer
Choosing the deployment architecture for your SaaS solution is not straightforward as you have to consider a variety of business aspects. Your tiered pricing model, customers' usage patterns, and consumption rates must all be factored into the application's architecture model. Advising with an experienced SaaS development partner, you can be sure you've chosen the right path.
Rate this article
Our Clients' Feedback
They use their knowledge and skills to program the product, and then completed a series of quality assurance tests. We were working in an agile way with them. Belitsoft performed very well throughout our project. We are definitely looking at Belitsoft as a long-term partner.
Service Delivery Director at Crimson (United Kingdom)
I highly recommend Belitsoft for website design and development. We were up against a tight deadline to launch the project. The work was delivered on time and within budget! I will continue working with Belitsoft as a valued partner for our web development!
Program Administrator at UC Berkeley (United States)
We have worked with Belitsoft team over the past few years on projects involving much customized programming work. They are knowledgeable and are able to complete tasks on schedule, meeting our technical requirements. We would recommend them to anyone who is in need of custom programming work.
Main Partner at Hathway Tech (United States)
Belitsoft company is able to make changes instantly. One of our internal engineers has commented about how clean their code is. Belitsoft seems to know what they're doing, which I appreciate.
Co-Founder at HOWCAST MEDIA (United States)
It was a great pleasure working with Belitsoft software development company. New requirements and adjustments were implemented fast and precisely. We can recommend Belitsoft and are looking forward to start a follow-up project.
Deputy Head of Division at Fraunhofer FIT (Germany)
Belitsoft company has been able to provide senior developers with the skills to support back end, native mobile and web applications. We continue today to augment our existing staff with great developers from Belitsoft.
CEO at Apollo Matrix (United States)
Belitsoft company delivered dedicated development team for our products, and technical specialists for our clients' custom development needs. We highly recommend to use this company if you want the same benefits.
Managing Director at Key2Know A/S in 2012 (Denmark)
We approached BelITsoft with a concept, and they were able to convert it into a multi-platform software solution. Their team members are skilled, agile and attached to their work, all of which paid dividends as our software grew in complexity.
COO at Regenerative Medicine LLC (United States)
Having worked with Belitsoft as a service provider, I must say that I'm very pleased with the company's policy. Belitsoft guarantees first-class service through efficient management, great expertise, and a systematic approach to business. I would strongly recommend Belitsoft's services to anyone wanting to get the right IT products in the right place at the right time.
CEO at Moblers (Israel)
If you are looking for a true partnership Belitsoft company might be the best choice for you. They have proven to be most reliable, polite and professional. The team managed to adapt to changing requirements and to provide me with best solutions. I strongly recommend Belisoft.
Director at ShowCast Limited (Germany)
I expected and demanded a lot of you at Belitsoft company, but you exceeded my expectations. You acted pro-actively, challenged me at the right moments. Thanks!"
CEO at Ticken B.V. (Netherlands)
We have been working for over 10 years and they have become our long-term technology partner. Any software development, programming, or design needs we have had, Belitsoft company has always been able to handle this for us.
СEO at ElearningForce International (United States/Denmark)
Belitsoft has been the driving force behind several of our software development projects within the last few years. This company demonstrates high professionalism in their work approach. They have continuously proved to be ready to go the extra mile. We are very happy with Belitsoft, and in a position to strongly recommend them for software development and support as a most reliable and fully transparent partner focused on long term business relationships.
Global Head of Commercial Development L&D at Technicolor