Code Monkey home page Code Monkey logo

Comments (10)

yetzt avatar yetzt commented on July 29, 2024

sadly, this project is dead.

from nedb.

michaelkornblum avatar michaelkornblum commented on July 29, 2024

So I guess we have to use nodes fs module now?

from nedb.

alexbruno avatar alexbruno commented on July 29, 2024

So sad...
Looking for alternatives, I'm now trying Level/level (leveljs.org), a simple Node.js wrapper for LevelDB.
It is not the same... In fact it is totally another paradigm, but I think it can be a good replace.

from nedb.

yetzt avatar yetzt commented on July 29, 2024

i made a drop-in-replacement for myself: https://www.npmjs.com/package/@yetzt/nedb

from nedb.

michaelkornblum avatar michaelkornblum commented on July 29, 2024

@yetzt, thank you so very much for patching this.

from nedb.

alexbruno avatar alexbruno commented on July 29, 2024

Ok guys, what about this?

I'm coding a Koa server web app running on Microsoft Azure cloud, with a lot of CSV data imported to a local embeded NoSQL DB at build time, using data to populate server-side dynamic HTML and respond to API search requests.

It was developed with NeDB. Some users reported slow responses and I really noticed it with some tests.

But now I just droped NeDB and replaced it by a LevelDB wrapper and now the application is blazing fast.

I really feel the difference and testing with Lighthouse I can see a performance boost.

Maybe it is because LevelDB is a C++ lib (like SQLite is a C lib), running operations at low level, wrapped into NPM module.

I strongly recommend LevelDB, it works in other "level".

from nedb.

victorsouzaleal avatar victorsouzaleal commented on July 29, 2024

Ok guys, what about this?

I'm coding a Koa server web app running on Microsoft Azure cloud, with a lot of CSV data imported to a local embeded NoSQL DB at build time, using data to populate server-side dynamic HTML and respond to API search requests.

It was developed with NeDB. Some users reported slow responses and I really noticed it with some tests.

But now I just droped NeDB and replaced it by a LevelDB wrapper and now the application is blazing fast.

I really feel the difference and testing with Lighthouse I can see a performance boost.

Maybe it is because LevelDB is a C++ lib (like SQLite is a C lib), running operations at low level, wrapped into NPM module.

I strongly recommend LevelDB, it works in other "level".

Thanks, I was looking for an alternative since this project seems to have been abandoned

from nedb.

yetzt avatar yetzt commented on July 29, 2024

ich just checked out linvodb3, which was forked from nedb and uses level for data storage. looks pretty much like a drop in replacement to me.

from nedb.

rulrok avatar rulrok commented on July 29, 2024

@louischatriot Could you please look into this one? It is causing headaches for a project which depends on npm audits to pass.

from nedb.

rmanibus avatar rmanibus commented on July 29, 2024

Hello, I released a new version of nedb on my own fork to adress this issue:
https://github.com/rmanibus/nedb

release 1.9.0 can be found here:
https://www.npmjs.com/package/@rmanibus/nedb

It also support composite indexes:

    model.ensureIndex({ fieldName: ["field", "field2"], unique: true }, function (err) {
        if(err){
            debug("DB error: " + err);
        }
    });

from nedb.

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.