Using Counters in cassandra for multiple java instances -


hi planning use counters getting human readable unique number in cassandra .i have java application running on 2 servers (2 instances).how can ensure request @ anytime fetches me unique counter value?

counters not sequences. use uuids generate unique identifiers instead: http://www.datastax.com/documentation/cql/3.0/webhelp/cql/cql_reference/cql_data_types_c.html


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -