zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Zookeeper for generating sequential IDs
Date Fri, 25 Feb 2011 23:43:07 GMT
Keep in mind that blog post is pretty old. I see comments like this in
the commit log

"hard to call it alpha/experimental after serving billions of ids"

so it seems it's in production at twitter at least...

Patrick

On Fri, Feb 25, 2011 at 2:58 PM, Ertio Lew <ertiop93@gmail.com> wrote:
> Thanks Patrick,
>
> The fact that it is still in the alpha stage and twitter is not yet
> using it, makes me look to other solutions as well, which have a large
> community/users base & are more mature.
>
> I do not know much about the snowflake if it is being used in
> production by anyone ..
>
>
>
>
> On Fri, Feb 25, 2011 at 11:21 PM, Patrick Hunt <phunt@apache.org> wrote:
>> Have you looked at snowflake?
>>
>> http://engineering.twitter.com/2010/06/announcing-snowflake.html
>>
>> Patrick
>>
>> On Fri, Feb 25, 2011 at 9:43 AM, Ted Dunning <ted.dunning@gmail.com> wrote:
>>> If your id's don't need to be exactly sequential or if the generation rate
>>> is less than a few thousand per second, ZK is a fine choice.
>>>
>>> To get very high generation rates, what is typically done is to allocate
>>> blocks of id's using ZK and then allocate out of the block locally.  This
>>> can cause you to wind up with a slightly swiss-cheesed id space and it means
>>> that the ordering of id's only approximates the time ordering of when the
>>> id's were assigned.  Neither of these is typically a problem.
>>>
>>> On Fri, Feb 25, 2011 at 1:50 AM, Ertio Lew <ertiop93@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I am involved in a project where we're building a social application
>>>> using Cassandra DB and Java. I am looking for a solution to generate
>>>> unique sequential IDs for the content on the application. I have been
>>>> suggested by some people to have a look  to Zookeeper for this. I
>>>> would highly appreciate if anyone can suggest if zookeeper is suitable
>>>> for this purpose and any good resources to gain information about
>>>> zookeeper.
>>>>
>>>> Since the application is based on a eventually consistent distributed
>>>> platform using Cassandra, we have felt a need to look over to other
>>>> solutions instead of building our own using our DB.
>>>>
>>>> Any kind of comments, suggestions are highly welcomed! :)
>>>>
>>>> Regards
>>>> Ertio Lew.
>>>>
>>>
>>
>

Mime
View raw message