Re:Sharding data models
by sdrothrock on Monday August 28, 2017 @11:50PM
(#15121962)
What ORMs out there natively support sharding well? I use Django the most and whenever I look into Django sharding, I don't see very many options being kept up to date...
[ Parent
| on HN ]
Re:Sharding data models
by craigkerstiens on Tuesday August 29, 2017 @12:56AM
(#15122170)
I'm not sure any do completely out of the box but many are very close.
We've created a library at Citus to make rails sharding turn-key, activerecord-multi-tenant. We have a Django one in the works, if you want to take a look and give us any feedback on it please drop us a note. From what I've seen hibernate has some out of the box support, but we only have a few customers leveraging it so not as familiar with it.
Re:Sharding data models
by sdrothrock on Tuesday August 29, 2017 @02:33AM
(#15122515)
Unfortunately, I don't think I have the time to test anything rigorously, but I would definitely be interested in learning more about the Django solution when it's more mature! Is there a mailing list or something I could sign up for?
I use ServiceStack's OrmLite for .NET, and it supports multi-nested database connections for Master/Shard setup: https://github.com/ServiceStack/ServiceStack.OrmLite#multi-n...
Doctrine has some support for sharding.
http://docs.doctrine-project.org/projects/doctrine-dbal/en/l...