using g-counter for sequence number synchronization

Christopher Meiklejohn cmeiklejohn at
Mon Jan 26 11:37:17 EST 2015

> On Jan 26, 2015, at 5:06 PM, Hristo Asenov <hristo.s.asenov at> wrote:
> Thanks Mark and Chris, I see now that I need to use a strongly consistent framework of some kind for this operation. 

Hi Hristo,

Depending on your application, there are alternative ways of generating unique identifiers based on machine name and time — see the following: <> <>

However, these mechanisms while unique, are not comparable, so you’ll need an arbitration mechanism if you wish to generate a total order over these identifiers.

- Chris

Christopher Meiklejohn
Senior Software Engineer
Basho Technologies, Inc.
cmeiklejohn at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list