Zookeeper on windows in production environment

2010-03-30 Thread vishal kher
Hi,

The Zookeeper admin guide mentions that Win32 is not supported in production 
environment. We are planning to use zookeeper on Windows production environment 
if it is stable enough. Can folks who are using Zookeeper on Win32 please share 
their experiences? How long have you been running Zookeeper on windows? Are you 
facing any stability issues? Any issues that we should be aware off? Is it 
advisable to use Zookeeper on Windows? Thanks.

Regards,
-Vishal






Re: How to ensure trasaction create-and-update

2010-03-30 Thread Benjamin Reed
i agree with ted. i think he points out some disadvantages with trying 
do do more. there is a slippery slope with these kinds of things. the 
implementation is complicated enough even with the simple model that we use.


ben

On 03/29/2010 08:34 PM, Ted Dunning wrote:

I perhaps should not have said power, except insofar as ZK's strengths are
in reliability which derives from simplicity.

There are essentially two common ways to implement multi-node update.  The
first is the tradtional db style with begin-transaction paired with either a
commit or a rollback after some number of updates.  This is clearly
unacceptable in the ZK world if the updates are sent to the server because
there can be an indefinite delay between the begin and commit.

A second approach is to buffer all of the updates on the client side and
transmit them in a batch to the server to succeed or fail as a group.  This
allows updates to be arbitrarily complex which begins to eat away at the
no-blocking guarantee a bit.

On Mon, Mar 29, 2010 at 8:08 PM, Henry Robinsonhe...@cloudera.com  wrote:

   

Could you say a bit about how you feel ZK would sacrifice power and
reliability through multi-node updates? My view is that it wouldn't: since
all operations are executed serially, there's no concurrency to be lost by
allowing multi-updates, and there doesn't need to be a 'start / end'
transactional style interface (which I do believe would be very bad).

I could see ZK implement a Sinfonia-style batch operation API which makes
all-or-none updates. The reason I can see that it doesn't already allow
this
is the avowed intent of the original ZK team to keep the API as simple as
it
can reasonably be, and to not introduce complexity without need.

 




Re: How to ensure trasaction create-and-update

2010-03-30 Thread Ted Dunning
As usual, Ben says better what I was trying to say.

Henry's point that a very limited multi-update would be useful is also true,
though.  If somebody can come up with a way to do that without making things
unreasonably complicated, it would be really nice to have.

In the meantime, I will try to build lockless structures by ordering my
updates.

On Tue, Mar 30, 2010 at 1:00 PM, Benjamin Reed br...@yahoo-inc.com wrote:

 i agree with ted. i think he points out some disadvantages with trying do
 do more. there is a slippery slope with these kinds of things. the
 implementation is complicated enough even with the simple model that we use.