id autoincrement/sequence emulation with CassandraDB/MongoDB etc

Posted by abovesun on Stack Overflow See other posts from Stack Overflow or by abovesun
Published on 2010-05-05T07:52:13Z Indexed on 2010/05/05 8:08 UTC
Read the original article Hit count: 365

Filed under:
|
|

Hi, I'm trying to build small web-system (url shortcutting) using nonsql Cassandra DB, the problem I stack is id auto generation.

Did someone already stack with this problem?

Thanks.

P.S. UUID not works for me, I do need to use ALL numbers from 0 to Long.MAX_VALUE (java). so I do need something that exactly works like sql sequence

© Stack Overflow or respective owner

Related posts about cassandra

Related posts about mongodb