▲ | bhouston 13 hours ago | ||||||||||||||||
Argh. Shard the damn database already. Why are they not sharing by user/org yet? It is so simple and would fix the primary issue they are running into. All these work arounds they go through to avoid a straight forward fix. | |||||||||||||||||
▲ | samwillis 13 hours ago | parent | next [-] | ||||||||||||||||
The message of the talk was very much that you can scale to massive throughput without having to shard and having only a single master. Of course they considered it, but the tradeoffs didn't match what they wanted to do - plus they found you could scale to this level without sharding. | |||||||||||||||||
| |||||||||||||||||
▲ | bohanoai 9 hours ago | parent | prev | next [-] | ||||||||||||||||
Speaker here — Bohan from OpenAI. Our application has hundreds of endpoints, which makes sharding non-trivial. We've already offloaded shardable workloads—particularly write-heavy ones—from PostgreSQL. What remains is primarily read-only and would require substantial effort to shard. Currently, the workload scales well on Azure Database for PostgreSQL, and we have sufficient headroom to support future growth. That said, we're not ruling out sharding in the future—it’s just not a near-term priority. | |||||||||||||||||
▲ | mike_hearn 9 hours ago | parent | prev | next [-] | ||||||||||||||||
Sharding is often not simple. The whole reason you're using a powerful database in the first place is that you want its ability to analyze data and answer complex questions. If you didn't you might as well just use a bunch of NFS mounts: it's sharding and even simpler than a database. | |||||||||||||||||
▲ | iampims 13 hours ago | parent | prev | next [-] | ||||||||||||||||
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. | |||||||||||||||||
| |||||||||||||||||
▲ | levkk 11 hours ago | parent | prev [-] | ||||||||||||||||
That's exactly what I'm saying! |