Hi y'all!
I would like your guidance on evaluating whether StarRocks is a good fit for my use case.
I am planning to build a SaaS system that will support high usage. From an OLAP perspective, the system primarily involves three tables:
1. Logs Table:
◦ Used for data ingestion of logs.
◦ This data is not immutable and will be linked with the People table.
◦ Can hold upto 5 years of data max reach to 20-30 billion of records per client
2. People Table:
◦ Contains mutable data about individuals.
◦ The schema is dynamic and depends on client requirements, as each client can define their own properties/traits.
◦ This is largely JSON-based, and when new properties/traits are introduced, the system should update only the received fields without overwriting existing ones that are not included in the update request.
◦ Can hold upto 10-30millions of records per client
◦ Update frequency - may reach to 1000-5000 per client per 5-10 second (batching)
3. Actions Table:
◦ Tracks actions performed on people.
◦ Contains a status field that is updated frequently based on the state of the action.
◦ Can hold upto 10-90 millons of record per client
◦ Update frequency - may reach to 1000-5000 per client per 5-10 second (batching)
Additionally, I am considering a hybrid approach where one instance can host multiple databases:
• Clients with heavy workloads can have dedicated databases.
• Clients with lighter workloads can share databases.
This design should allow us to handle both horizontal and vertical scaling as the number of clients and workloads increase.
My main questions are:
• Can StarRocks support this architecture and requirements effectively?
• Are there any potential pitfalls or limitations with this approach that I should be aware of?
• Beyond the additional manual effort of managing multiple instances and databases (which we are prepared for), are there other database-level considerations I should keep in mind?
• One starrock instance, how many maximum databases can handle?
Your insights would be greatly appreciated.