I am currently in the process of designing a multi-business system that involves user management, business details, and order processing. I am contemplating whether to store all business data in a single table or create multiple databases for each business. What would be the most scalable and efficient approach?
I understand that the answer may be "it depends on the number of users, businesses, and orders," but it could be substantial even if things go smoothly, like handling 2 or 3 orders per second. This makes me ponder the scenario where there might be a significant volume of orders from different businesses, and each business will have its own web interface to showcase its products. It resembles a Shopify system, where each business can have its dedicated "web" or "product showcase," and users can make purchases. Importantly, each "business web" is independent of others, sharing only the user table, every business has their own products, orders, categories, etc.
Given that, I would like to ask for your opinion on achieving better performance?
I was searching and asking for the opinions of other people. Now, I want to ask more people to know their opinions and gather different points of view.