Service Fabric multi-tenant
Asked Answered
H

1

5

We are planning to use Azure Service Fabric for a data-oriented multi-tenant application. Typically 100+ customers each with 5 - 100 users.

Looking at the documentation, I concluded that the best approach is to use an Application instance for each customer, rather than trying to use Profiles to achieve multi-tenancy.

Is this the best way to go ?

Hillyer answered 5/1, 2016 at 16:2 Comment(1)
Not sure what you mean by Profiles. Also the best approach depends a bit on your specific requirements. Can you elaborate a bit more?Adaxial
A
16

An application instance for each customer is a good way to handle multi-tenant situations on a single cluster, yes. There are Service Fabric applications that do this today (Azure DB is a notable one).

Here are some things you get with this approach:

  • Each application instance gets its own process, which means you have process-level isolation per tenant.
  • Each application instance is composed of one or more services, which means you can use a "microservices" architectural style for the application.
  • Each application instance can be created with unique parameters, so you can have various setups for each tenant. For example, you can do things like offer higher availability to certain tenants by using higher replica set size settings for the services in their application instance, or you can offer higher data capacity by using a higher partition count setting for the services in their application instance.

These are generally good things for data-oriented multi-tenant situations but whether or not its the best way to go of course depends on your specific requirements.

Adaxial answered 5/1, 2016 at 22:48 Comment(3)
John, would you mind marking the question as answered?Beaumont
Apologies for misspelling your name Vaclav !Hillyer
In this case how you aggregate the data ? Im sure a all branch or all customer picture will be presented ?Paunchy

© 2022 - 2024 — McMap. All rights reserved.