On 16/12/2009 20:06, Benjamin Reed wrote:
I agree with Ted, it doesn't seem like a good idea to do in practice.
Maybe in some specifically environment as described in ZOOKEEPER-546. But yes, I agree, it's only a idea. The world are changing to SSD's too!
1) use tmpfs
My memory will be split in 2, ok?
2) you can set forceSync to "no" in the configuration file to disable syncing to disk before acknowledging responses
3) if you really want to make the disk write go away, you can modify the SyncRequestProcessor in the code
More good. Thanks for indicating the path! -- Thiago Borges