[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814023#comment-16814023
 ] 

Michael Han commented on ZOOKEEPER-3352:
----------------------------------------

I don't see an obvious gain of using a LSM tree backend just for snapshot and 
txn log. For zk clients, the read path will be served directly from memory 
(think zk data tree as a 'memtable' that never flushes); the write path is 
already sequential for both snapshot and txn log. Reading snapshot and txn log 
out of LSM tree instead of flat files might reduce recovery time, but I doubt 
the difference is substantial.

That said, having a LSM tree backend and build the zk data tree on top of it 
will make it possible to store a much larger scale of data set per single node, 
as we will not store all data in memory only.

> Use LevelDB For Backend
> -----------------------
>
>                 Key: ZOOKEEPER-3352
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3352
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Use LevelDB for managing data stored in ZK (transaction logs and snapshots).
> https://stackoverflow.com/questions/6779669/does-leveldb-support-java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to