Distributed sequence number generation?
Posted
by Jon
on Stack Overflow
See other posts from Stack Overflow
or by Jon
Published on 2010-04-20T00:52:50Z
Indexed on
2010/04/20
1:03 UTC
Read the original article
Hit count: 391
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?
© Stack Overflow or respective owner