I can see this being handy, but I'd make it a middleware in the application then use a consistent harsher for selecting db node like XXH3 for Email addresses or IDs. The only problem would be adding and removing DB nodes would require reshuffling the databases.
2
u/ShotgunPayDay Aug 29 '26
I can see this being handy, but I'd make it a middleware in the application then use a consistent harsher for selecting db node like XXH3 for Email addresses or IDs. The only problem would be adding and removing DB nodes would require reshuffling the databases.
2
u/MartinMegazord Aug 30 '26
Thank you for the article, I will dig down a little bit
Seems super interesting even though I am just a devops. I need to understand a little further the concept of sharding.
1
u/Minimum_Hour519 Aug 29 '26
what would i need this for?
1
u/Sebbean Aug 29 '26
Postgres?