hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satish Bhatti <cthd2...@gmail.com>
Subject Unique Id Generation
Date Thu, 23 Apr 2009 23:52:20 GMT
We currently use a database sequence to generate unique ids for use by our
application.  I was thinking about using ZooKeeper instead so I can get rid
of the database.  My plan was to use the sequential id from ephemeral nodes,
but looking at the code it appears that this is an int, not a long.  Is
there any other straightforward way to generate ids using ZooKeeper?
Thanks,

Satish

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message