Hello, I have a question about the performance improvement from 3.1 to 3.2

2009-09-12 Thread DaiLionel(戴武川)
Dear sir:
   It is said In version 3.2 r/w performance improved by ~2x
compared to the previous 3.1
releasehttp://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperOver.html#Performance.
 I have diff the src of the tow version, and find out the difference of
FileTxnLog.java, which uses BufferedOutputStream. Could you tell me some
detail about the performance improvement. Like algorithm, coding, data
structure optimization.   Thank you for your help.

  Lionel.Dai


Re: Hello, I have a question about the performance improvement from 3.1 to 3.2

2009-09-12 Thread Patrick Hunt

I think this is one of the big ones in addition to what you mentioned:
https://issues.apache.org/jira/browse/ZOOKEEPER-308

Patrick

DaiLionel(???) wrote:

Dear sir:
   It is said In version 3.2 r/w performance improved by ~2x
compared to the previous 3.1
releasehttp://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperOver.html#Performance.
 I have diff the src of the tow version, and find out the difference of
FileTxnLog.java, which uses BufferedOutputStream. Could you tell me some
detail about the performance improvement. Like algorithm, coding, data
structure optimization.   Thank you for your help.

  Lionel.Dai