179 questions
No questions match those filters.
Your largest tenant is 40% of the corpus and 60% of que...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansAcknowledge that pure tenant partitioning creates a hot partition that cannot fit on a single node, while pure hash-sharding loses the routing efficiency for small tenants. Propose a hybrid architecture: hash-shard the ‘whale’ tenant into multiple sub-shards with its own replicas, and keep one partition per small tenant with many tenants co-resident per node, using tenant_id for routing at the top level. Be prepared to explain the added complexity, such as maintaining two code paths and the need for rebalancing jobs if a small tenant grows into a whale.