3 ms·
It adds a lot of overhead at any scale, it’s just that the overhead is hidden due to the absurd speed of modern hardware. I’ll again point out (I said this els
by sgarland 3y ago
It adds a lot of overhead at any scale, it’s just that the overhead is hidden due to the absurd speed of modern hardware.
I’ll again point out (I said this elsewhere in a post today on UUIDs) that PlanetScale uses int PKs internally. [0] That is a MASSIVE distributed system, working flawlessly with integers as keys. They absolutely can scale, it just requires more thoughtful data modeling and queries.
[0]: https://github.com/planetscale/discussion/discussions/366 https://github.com/planetscale/discussion/discussions/366
- samlambert 3y agoGitHub also uses int PKs and has over 100,000,000 users.