Re: Queue code

2009-07-17 Thread Patrick Hunt
Thanks for the report, looks like something we need to address, would you mind going the extra step and adding a JIRA on this? https://issues.apache.org/jira/browse/ZOOKEEPER Thanks, Patrick kishore g wrote: Hi All, Zookeeper recipe queue code has a bug. byte[] b = zk.getData(root

Re: Queue code

2009-07-17 Thread Mahadev Konar
Also are there any performance numbers of zookeeeper based queues. How does it compare with JMS. thanks Kishore G Hi Kishore, We do not have any performance number fr queues on zookeeper. I think you can get a rough idea of those numbers from your usage of zookeeper (number of reads/writes

Re: Queue code

2009-07-17 Thread Ted Dunning
Depending on your needs, there may be other recipes as well that would give higher performance. For example, it might be preferable to keep the queue itself in a small-ish set of files that each hold many task items. Different implementations will give different trade-offs on speed, especially