I'm making an app for restaurants management, and I want my app to scale well.Each one of my clients can have multiple branches of their restaurants with their own products, clients, transactions for each branch.I'm studying the possibility to use MongoDB for my app, but I'm kind of lost on how to plan the architecture.Should I use one cluster for each one os my clients and then one database for each one of their branches? Or there is a better way to do so? And if I use a cluster for each client, is there a way to programmatically create new clusters by demand?
I try to make a simple cluster and create all databases for each client branch, but it seems weird, and I think that it may scale badly.