Distributed sequence number generation?
- by Jon
I've generally implemented sequence number generation using database sequences in the past.
e.g. Using Postgres SERIAL type http://neilconway.org/docs/sequences/
I'm curious though as how to generate sequence numbers for large distributed systems where there is no database. Does anybody have any experience or suggestions of a best practice for achieving sequence number generation in a thread safe manner for multiple clients?