▲ | iampims 14 hours ago | |
Not sure I would qualify sharding a DB that get 1M qps as straight forward. I agree with you that it seems that an org would be a natural sharding key, but we know that at this scale, nothing really is ever straight forward, especially when it's your first rodeo. | ||
▲ | bhouston 10 hours ago | parent | next [-] | |
> Not sure I would qualify sharding a DB that get 1M qps as straight forward. Sharding at the application layer (basically figure out the shard from org/user in your application code prior to interacting with the DB), will scale to any QPS rate. This is what I was referring to. | ||
▲ | evanelias 13 hours ago | parent | prev [-] | |
That's true, but that's also why you really should shard long before hitting that point... If your company is growing at this insane rate, it should be obvious that eventually you must shard. And the longer you delay this, the more painful it will be to accomplish. |