logoalt Hacker News

amarantlast Monday at 9:18 PM1 replyview on HN

Oh wow, that's a super simple solution, and I can immediately see how this gets you the best of both worlds!

And since it's only used for speedy lookup we can even use a fast, cheap and non-secure hashing algorithm, so it's really a low-cost operation!

Thanks! This was really one of those aha-moments where I feel kinda stupid to not have thought of it myself!


Replies

bddickenlast Monday at 9:21 PM

I've also written about sharding.

https://planetscale.com/blog/database-sharding

show 1 reply