3 ms·
SQLalchemy (the orm that they're using) actually comes with some nice sharding hooks and examples. I used to complain about the lack of "out-of-the-box" shardi
by moe 15y ago
SQLalchemy (the orm that they're using) actually comes with some nice sharding hooks and examples.
I used to complain about the lack of "out-of-the-box" sharding middleware myself, but came to realize that this is really something that belongs in the application layer for all but the most trivial use-cases.
However, there is no reason why full-stack frameworks such as Django and Rails couldn't grow meaningful sharding support.
- zzzeek 15y agoWe've got a rudimental hook sure, but it's not what I'd call "easy"...it still needs to be attended to with custom logic anytime you need to cross shard boundaries.
- moe 15y agoI've been there, so can confirm it's not "easy". But at least it gave me starting point, which is already more than most other ORMs can offer.