Comments (7)
Actually, there are JNI wrappers for LevelDB itself, which might be a better fit for PebblesDB: https://github.com/fusesource/leveldbjni (@jialin-li: check it out?)
from pebblesdb.
Ah, missed that. Nevertheless, the YCSB driver implementation is definitely useful. Thanks!
from pebblesdb.
Hi @calin-iorgulescu, thank you for the note! As it turns out, @abhijith97 has been working on the same thing, and we have the changes merged into our group's fork of leveldbjni: https://github.com/utsaslab/leveldbjni. I believe the changes are exactly the same. Abhijith just done with the work, or I could have saved you some effort.
from pebblesdb.
The rocksdb jni wrappers are well written. It'd probably be straight forward to start with that and nuke parts of the api that aren't available in pebbles. https://github.com/facebook/rocksdb/tree/master/java
from pebblesdb.
thanks @noahdesu, this is really useful! We'll take a look at the RocksDB JNI wrappers.
from pebblesdb.
Don't know if this is still of interest, but I was recently able to build the leveldbjni code with PebblesDB. I've pushed my changes here: https://github.com/calin-iorgulescu/leveldbjni/tree/pebblesdb . I also changed the build instructions to apply to pebblesdb
.
It seems that the main differences are the lack of Suspend/ResumeCompaction
operations from the flavour of LevelDB that the authors originally used. One test also needed to be commented out due to it expecting a different compaction behavior than that of PebblesDB.
I have yet to fully test it, but the built-in simple tests seem to work.
from pebblesdb.
Closed by pull request #15 by @abhijith97. Thanks @abhijith97!
from pebblesdb.
Related Issues (12)
- Set max memory used by PebblesDB HOT 2
- Extend PebblesDB to use SURF filters HOT 1
- VersionSet::RemoveFileLevelBloomFilterInfo isn't thread-safe HOT 2
- Create python binding for PebblesDB
- Fix memory leak when using PebblesDB with small key-value pairs HOT 4
- Some question about VersionSet::PickCompactionForGuards
- Does PebblesDB compatible with leveldb completely?
- PebblesDB does not discard partially-flushed values
- PebblesDB Crashing with large KV pairs HOT 1
- Which part of the code gives write amplification calculation HOT 8
- YCSB legacy code in db_bench?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pebblesdb.