Comments (6)
@vweevers Congratulations on getting the new release out, I know it was a huge effort.
from rocksdb.
level-rocksdb
will soon be updated too (Level/community#98) and is recommended over direct use of rocksdb
:
It is strongly recommended that you use [the]
levelup
[interface] in preference torocksdb
unless you have measurable performance reasons to do so.levelup
is optimized for usability and safety. Although we are working to improve the safety of therocksdb
interface it is still easy to crash your Node process if you don't do things in just the right way.
from rocksdb.
Thanks @vweevers for the quick response, we will wait until level-rocksdb
is upgraded.
from rocksdb.
@vweevers What's the benefit of using level-rocksdb
over levelup
+ rocksdb
(aside from convenience)?
I see in the text you quoted that levelup
is recommended over using rocksdb
directly, but I don't see that the level-rocksdb
wrapper itself is recommended. I also see that the npm package hasn't been updated in two years, which makes it seem like it may be (or maybe should be) deprecated.
from rocksdb.
What's the benefit of using
level-rocksdb
overlevelup
+rocksdb
(aside from convenience)?
It also includes encoding-down
. Other than that, yes, it's just convenience.
I see in the text you quoted that
levelup
is recommended over usingrocksdb
directly, but I don't see that thelevel-rocksdb
wrapper itself is recommended.
We could improve those docs somewhat; it should say that using level-rocksdb
is recommended over using rocksdb
directly, because the level-rocksdb
package wraps it in a safer levelup
interface.
I also see that the npm package hasn't been updated in two years
I just released level-rocksdb
5.0.0.
from rocksdb.
Got it, thanks for clarifying all that!
from rocksdb.
Related Issues (20)
- DBOptions::manual_wal_flush ? HOT 1
- Which version of rocksdb and how/where is it documented? HOT 1
- Support 'prefix_extractor' option? HOT 5
- Cannot install with npm or yarn
- Read and write operations on non-persisted database does not fail HOT 8
- node-gyp error on M1 (Apple Sillicon): errorthe clang compiler does not support '-march=native': HOT 5
- Electron tests hang on M1 (Apple Sillicon) HOT 4
- Include prebuilt binary for alpine HOT 5
- Apple Silicon run-time error HOT 9
- Implement getMany() HOT 2
- node-gyp error built on x86 macbook HOT 1
- example please? HOT 1
- Publish linux-arm64 binaries HOT 5
- Memory leak in `db.getMany()` HOT 4
- Update rocks dep?
- Unable to install without prebuilt binaries HOT 1
- Update to latest rocksdb? HOT 5
- Use PinnableSlice for Get HOT 1
- Some unit tests fail for root user
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 rocksdb.