What is an app?
CometChat apps are a way to combine a set of users, groups, roles and other configuration that results in a particular experience for chat users.What is a multi-app setup?
To provide different experiences to a different set of users, a developer can create many CometChat apps. Each of these apps have their own data within them, like it’s users, messages, etc., and do not interact or share data with other apps. Similarly, each of these apps have their own billing plans and cycles which do not interact with each other.What is a multi-tenant setup?
To provide a similar experience to a different set of users, a developer can create many similar CometChat apps that consume from the limits and quotas of the same CometChat billing plan. The data is still not shared between apps, but the billing plan is. This provides economies of scale as well as a streamlined experience in configuring, deploying and managing many CometChat apps.When should you use a multi-tenant plan?
Multi-tenant plans are quite suitable for certain use cases such as for aggregators and vertical-specific software. Think of situations such asthe following or ones adjacent to it.
- You’re building an app that allows schools and teachers to communicate with students and parents. You’d create a multi tenant account for yourself and each school, their students, teachers, announcements etc. would be an app of their own.
- A business app that lets business owners or franchises of a particular chain, their employees, and customers talk to each other. Something like Slack. Each business would be a separate app in this case, and the account would work on multi tenancy mode.