Skip to content

whodarewin/pdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDB

基于LSM树的存储引擎,写着玩的。。。
just for fun

    String path = "/tmp/pdb";
    PDBBuilder builder = new PDBBuilder();
    builder.path(path);
    this.pdb = builder.build();
    for(int i = 0; i < 1000; i ++){
         pdb.put(Bytes.toBytes(i), Bytes.toBytes(i));
    }
    pdb.get(Bytes.toBytes(1));
    pdb.scan(Bytes.toBytes(1),Bytes.toBytes(100));
    pdb.delete(Bytes.toBytes(1));
    pdb.clean();

About

基于LSM树的本地KV 存储

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages