Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(minus) Onboarding a new tenant means setting up a new system(plus) Only one runtime to manageNot currently supported by Blueriq
(minus) Each system needs maintenance separately(plus) Only one Blueriq software stack to maintain

(plus) Least chance for mixing up data

(minus) Tenant data ends up in the same system, so there's a chance data gets mixed up

(minus) Each system needs maintenance separately(plus) Only one runtime to  maintain

(plus) Maintenance can be performed without other tenants noticing(minus) Maintenance on the runtime affects all tenants
(plus) Easier to scale a single tenant(minus) When the system needs to scale, you need to scale the entire system
(plus) Resources can be allocated per tenant. Easier to prevent noisy neighbors.(minus) If the system experiences a sudden burst in activity, all tenants will notice this.

We expect the solution architect to consider the characteristics of each strategy and choose what suits best. For example, if you run on a container platform, the first solution may be more feasible, while when you run on VMs, the second strategy may be easier. Aspects that you may want to consider are operating costs, maintainability, data separation, availability, elasticity, flexibility and scalability.

Why use multi-tenancy?

When you want to offer a SaaS service to multiple companies, you need a multi-tenant setup.

The benefits of multi-tenancy are, amongst others:

  • Resource sharing: you can be more cost efficient by sharing resources between tenantsMultiple customers use the same serviceResource sharing
  • Build once, sell multiple times

What do you need to have in place when using multi-tenancy?

Scaling strategy and availability

When having a multi-tenant service, the tenants will demand the service to be available, according to the SLA that was agreed on in the contract. This means that when your service becomes more popular, or when it has peak usage windows, it will require more processing power. Hence, you need to be able to scale your system to fit the service's demands

Tenant onboarding

When a new tenant will use your service, you will need

...

a procedure that describes what needs to

...

be done to add

...

that tenant

...

.

When not to use multi-tenancy?

When your

...

service differs in a substantial way for each tenant

...

, multi-tenancy might not be suitable for your solution: more diversity between tenants leads to higher costs in development and maintenance.

In Blueriq terms, if you need to make exceptions based on tenant in your model, or if you need a different model for each tenant, we advise strongly against multi-tenancy.

System requirements

Generally, a multi-tenant system can accommodate the same amount of simultaneous users as the same system that is single tenant.

...