Hacker News new | ask | show | jobs
by morshu9001 246 days ago
That table is still a single authority, isn't it? But I guess fewer steps is still faster.
1 comments

Except if you're using a sharding or clustering database system, where the record itself may be stored to separate servers as well as the key generation itself.
In those cases yes. There's still a case for sequential there depending on the use pattern, but write-heavy benefits from not waiting on one server for IDs.