Use cases
There are different reasons why you may want to achieve multi-tenancy with Next.js. First of all, it's probably the best React framework out there, and working with it is a pleasure.
Small Agency
If you're working in a small agency, there are times where you want to save your money without degrading your customer websites' performances. Using a multi-tenant approach allows you to develop multiple websites reusing components, tests, CI/CD pipelines, and so on. It is also way cheaper to host a multi-tenant application on a single server than hosting 100 different websites on 100 other EC2/VPS instances. You have to scale just one server, and if you start to receive more traffic than expected, you have to configure only one CDN.
Big Corporate
Big corporates may also be interested in adopting a multi-tenant approach for their websites. Think of companies like IBM, Microsoft, or Adobe; they all have their design and component libraries. Every time they fix a bug or introduce any enhancement, they may want to deploy this new update directly on all of their websites. Well, using a multi-tenant approach, you only have to run one deployment task for updating hundreds of websites in just one move.
Last updated
Was this helpful?
