martinky24 parent
You don’t scale horizontally, do you?
Do most people? Not everyone is Google.
Many people have more than 1 server that need to generate coherent identifiers amongst one another. That's not a "Google scale" thing.
Your comment heavily implied (to me) scaling databases horizontally. Yes, it's not necessarily "Google scale" either, but it's a ton of extra complexity that I'm happy to avoid. But a Google employee is probably going to approach every public-facing project with the assumption of scaling everything horizontally.
With multiple servers talking to a single database, I'd still prefer to let the database handle generating IDs.