Giter VIP home page Giter VIP logo

Comments (6)

cisaacson avatar cisaacson commented on June 18, 2024 1

@vweevers Congratulations on getting the new release out, I know it was a huge effort.

from rocksdb.

vweevers avatar vweevers commented on June 18, 2024

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 to rocksdb 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 the rocksdb interface it is still easy to crash your Node process if you don't do things in just the right way.

from rocksdb.

cisaacson avatar cisaacson commented on June 18, 2024

Thanks @vweevers for the quick response, we will wait until level-rocksdb is upgraded.

from rocksdb.

buu700 avatar buu700 commented on June 18, 2024

@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.

vweevers avatar vweevers commented on June 18, 2024

What's the benefit of using level-rocksdb over levelup + 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 using rocksdb directly, but I don't see that the level-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.

buu700 avatar buu700 commented on June 18, 2024

Got it, thanks for clarifying all that!

from rocksdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.