Re: ZK recovery questions

2010-07-21 Thread Ashwin Jayaprakash
(QuorumPeerMain.java:108) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:76) Ashwin. -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/ZK-recovery-questions-tp5310116p5319775.html Sent from the zookeeper-user mailing list archive

Re: ZK recovery questions

2010-07-21 Thread Benjamin Reed
i did a benchmark a while back to see the effect of turning off the disk. (it wasn't as big as you would think.) i had to modify the code. there is an option to turn off the sync in the config that will get you most of the performance you would get by turning off the disk entirely. ben On

Re: ZK recovery questions

2010-07-21 Thread Ted Dunning
My own experiments in my own environment where ZK is being used purely for coordination at a fairly low transaction rate (tens to hundreds of ops per second, mostly status updates) made me feel that disk throughput would only be detectable as an issue for pretty massively abused ZK applications.

Re: ZK recovery questions

2010-07-20 Thread Mahadev Konar
Hi Ashwin, We have seen people wanting to have something like ZooKeeper without the reliability of permanent storage and are willing to work with loosened guarantees of current Zookeeper. What you mention on log files is certainly a valid use case. It would be great to see how much throughput

Re: ZK recovery questions

2010-07-20 Thread Ashwin Jayaprakash
. -- View message @ http://zookeeper-user.578899.n2.nabble.com/ZK-recovery-questions-tp5310116p5316726.html To unsubscribe from Re: ZK recovery questions, click herehttp://zookeeper-user.578899.n2.nabble.com/subscriptions/Unsubscribe.jtp?code

Re: ZK recovery questions

2010-07-19 Thread Ted Dunning
They don't auto-detect. What is usually done is that the configurations on all the servers are changed and they are re-started one at a time. On Mon, Jul 19, 2010 at 8:35 PM, Ashwin Jayaprakash ashwin.jayaprak...@gmail.com wrote: So, what happens when a new replacement server has to be

ZK recovery questions

2010-07-18 Thread Ashwin Jayaprakash
Hi, I've been reading the docs and trying out some basic Zookeeper examples. I have a few simple questions related to recovery. It would be good to have questions like these on the Wiki/docs to avoid noobs like me asking the same thing over and over. - If 1 out of 3 servers crashes and the

Re: ZK recovery questions

2010-07-18 Thread Ted Dunning
On Sun, Jul 18, 2010 at 3:34 PM, Ashwin Jayaprakash ashwin.jayaprak...@gmail.com wrote: - If 1 out of 3 servers crashes and the log files are unrecoverable, how do we provision a replacement server? Just start it and it will download a snapshot from the other servers. - If the