Distributed sequence number generation?

后端 未结 13 1897
小鲜肉
小鲜肉 2020-11-29 14:32

I\'ve generally implemented sequence number generation using database sequences in the past.

e.g. Using Postgres SERIAL type http://www.neilconway.o

13条回答
  •  时光取名叫无心
    2020-11-29 15:25

    One solution that is decent is to use a long time based generation. It can be done with the backing of a distributed database.

提交回复
热议问题