Alternatives to NeDB logo

Alternatives to NeDB

LokiJS, SQLite, MongoDB, LevelDB, and Loki are the most popular alternatives and competitors to NeDB.
37
84
+ 1
0

What is NeDB and what are its top alternatives?

Embedded persistent or in memory database for Node.js, nw.js, Electron and browsers, 100% JavaScript, no binary dependency. API is a subset of MongoDB's and it's plenty fast.
NeDB is a tool in the Databases category of a tech stack.
NeDB is an open source tool with 13.4K GitHub stars and 1K GitHub forks. Here’s a link to NeDB's open source repository on GitHub

Top Alternatives to NeDB

  • LokiJS
    LokiJS

    LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. Runs in node (including cordova/phonegap and node-webkit), nativescript and the browser. ...

  • SQLite
    SQLite

    SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file. ...

  • MongoDB
    MongoDB

    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding. ...

  • LevelDB
    LevelDB

    It is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. It has been ported to a variety of Unix-based systems, macOS, Windows, and Android. ...

  • Loki
    Loki

    Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream. ...

  • Pouchdb
    Pouchdb

    PouchDB enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login. ...

  • Redis
    Redis

    Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams. ...

  • RxDB
    RxDB

    💻 📱 Reactive, serverless, client-side, offline-first database in javascript. Client-Side Database for Browsers, NodeJS, electron, cordova, react-native and every other javascript-runtime. ...

NeDB alternatives & related posts

LokiJS logo

LokiJS

36
55
3
In-memory JavaScript Datastore with Persistence
36
55
+ 1
3
PROS OF LOKIJS
  • 3
    Can query the objects directly
CONS OF LOKIJS
    Be the first to leave a con

    related LokiJS posts

    SQLite logo

    SQLite

    18.5K
    14.6K
    535
    A software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine
    18.5K
    14.6K
    + 1
    535
    PROS OF SQLITE
    • 163
      Lightweight
    • 135
      Portable
    • 122
      Simple
    • 81
      Sql
    • 29
      Preinstalled on iOS and Android
    • 2
      Free
    • 2
      Tcl integration
    • 1
      Portable A database on my USB 'love it'
    CONS OF SQLITE
    • 2
      Not for multi-process of multithreaded apps
    • 1
      Needs different binaries for each platform

    related SQLite posts

    Dimelo Waterson
    Shared insights
    on
    PostgreSQLPostgreSQLMySQLMySQLSQLiteSQLite

    I need to add a DBMS to my stack, but I don't know which. I'm tempted to learn SQLite since it would be useful to me with its focus on local access without concurrency. However, doing so feels like I would be defeating the purpose of trying to expand my skill set since it seems like most enterprise applications have the opposite requirements.

    To be able to apply what I learn to more projects, what should I try to learn? MySQL? PostgreSQL? Something else? Is there a comfortable middle ground between high applicability and ease of use?

    See more

    Hi all. I want to rewrite my system. I was a complete newbie 4 years ago and have developed a comprehensive business / finance web application that has been running successfully for 3 years (I am a business person and not a developer primarily although it seems I have become a developer). Front-end is written in native PHP (no framework) and jQuery with backend and where many processes run in MySQL. Hosted on Linux and also sends emails with attachments etc. The system logic is great and the business has grown and the system is creaking and needs to be modernised. I feel I would stick with MySql as DB and update / use Django / Spring or Laravel (because its php which I understand). To me, PHP feels old fashioned. I don't mind learning new things and also I want to set the system up that it can be easily migrated to Android/iOS app with SQLite. I would probably employ an experienced developer while also doing some myself. Please provide advice -- from my research it seems Spring/Java is the way to go ... not sure. Thanks

    See more
    MongoDB logo

    MongoDB

    91.5K
    79K
    4.1K
    The database for giant ideas
    91.5K
    79K
    + 1
    4.1K
    PROS OF MONGODB
    • 827
      Document-oriented storage
    • 593
      No sql
    • 553
      Ease of use
    • 464
      Fast
    • 410
      High performance
    • 257
      Free
    • 218
      Open source
    • 180
      Flexible
    • 145
      Replication & high availability
    • 112
      Easy to maintain
    • 42
      Querying
    • 39
      Easy scalability
    • 38
      Auto-sharding
    • 37
      High availability
    • 31
      Map/reduce
    • 27
      Document database
    • 25
      Easy setup
    • 25
      Full index support
    • 16
      Reliable
    • 15
      Fast in-place updates
    • 14
      Agile programming, flexible, fast
    • 12
      No database migrations
    • 8
      Easy integration with Node.Js
    • 8
      Enterprise
    • 6
      Enterprise Support
    • 5
      Great NoSQL DB
    • 4
      Support for many languages through different drivers
    • 3
      Drivers support is good
    • 3
      Aggregation Framework
    • 3
      Schemaless
    • 2
      Fast
    • 2
      Managed service
    • 2
      Easy to Scale
    • 2
      Awesome
    • 2
      Consistent
    • 1
      Good GUI
    • 1
      Acid Compliant
    CONS OF MONGODB
    • 6
      Very slowly for connected models that require joins
    • 3
      Not acid compliant
    • 1
      Proprietary query language

    related MongoDB posts

    Jeyabalaji Subramanian

    Recently we were looking at a few robust and cost-effective ways of replicating the data that resides in our production MongoDB to a PostgreSQL database for data warehousing and business intelligence.

    We set ourselves the following criteria for the optimal tool that would do this job: - The data replication must be near real-time, yet it should NOT impact the production database - The data replication must be horizontally scalable (based on the load), asynchronous & crash-resilient

    Based on the above criteria, we selected the following tools to perform the end to end data replication:

    We chose MongoDB Stitch for picking up the changes in the source database. It is the serverless platform from MongoDB. One of the services offered by MongoDB Stitch is Stitch Triggers. Using stitch triggers, you can execute a serverless function (in Node.js) in real time in response to changes in the database. When there are a lot of database changes, Stitch automatically "feeds forward" these changes through an asynchronous queue.

    We chose Amazon SQS as the pipe / message backbone for communicating the changes from MongoDB to our own replication service. Interestingly enough, MongoDB stitch offers integration with AWS services.

    In the Node.js function, we wrote minimal functionality to communicate the database changes (insert / update / delete / replace) to Amazon SQS.

    Next we wrote a minimal micro-service in Python to listen to the message events on SQS, pickup the data payload & mirror the DB changes on to the target Data warehouse. We implemented source data to target data translation by modelling target table structures through SQLAlchemy . We deployed this micro-service as AWS Lambda with Zappa. With Zappa, deploying your services as event-driven & horizontally scalable Lambda service is dumb-easy.

    In the end, we got to implement a highly scalable near realtime Change Data Replication service that "works" and deployed to production in a matter of few days!

    See more
    Robert Zuber

    We use MongoDB as our primary #datastore. Mongo's approach to replica sets enables some fantastic patterns for operations like maintenance, backups, and #ETL.

    As we pull #microservices from our #monolith, we are taking the opportunity to build them with their own datastores using PostgreSQL. We also use Redis to cache data we’d never store permanently, and to rate-limit our requests to partners’ APIs (like GitHub).

    When we’re dealing with large blobs of immutable data (logs, artifacts, and test results), we store them in Amazon S3. We handle any side-effects of S3’s eventual consistency model within our own code. This ensures that we deal with user requests correctly while writes are in process.

    See more
    LevelDB logo

    LevelDB

    102
    110
    0
    An open-source on-disk key-value store
    102
    110
    + 1
    0
    PROS OF LEVELDB
      Be the first to leave a pro
      CONS OF LEVELDB
        Be the first to leave a con

        related LevelDB posts

        Loki logo

        Loki

        374
        315
        17
        Like Prometheus, but for logs (by the makers of Grafana)
        374
        315
        + 1
        17
        PROS OF LOKI
        • 5
          Opensource
        • 3
          Very fast ingestion
        • 3
          Near real-time search
        • 2
          Low resource footprint
        • 2
          REST Api
        • 1
          Smart way of tagging
        • 1
          Perfect fit for k8s
        CONS OF LOKI
          Be the first to leave a con

          related Loki posts

          Pouchdb logo

          Pouchdb

          142
          242
          6
          Open-source JavaScript database inspired by Apache CouchDB that's designed to run well within the browser
          142
          242
          + 1
          6
          PROS OF POUCHDB
          • 2
            Offline cache
          • 1
            JSON
          • 1
            Very fast
          • 1
            Free
          • 1
            Repication
          CONS OF POUCHDB
            Be the first to leave a con

            related Pouchdb posts

            Jonathan Pugh
            Software Engineer / Project Manager / Technical Architect · | 25 upvotes · 2.9M views

            I needed to choose a full stack of tools for cross platform mobile application design & development. After much research and trying different tools, these are what I came up with that work for me today:

            For the client coding I chose Framework7 because of its performance, easy learning curve, and very well designed, beautiful UI widgets. I think it's perfect for solo development or small teams. I didn't like React Native. It felt heavy to me and rigid. Framework7 allows the use of #CSS3, which I think is the best technology to come out of the #WWW movement. No other tech has been able to allow designers and developers to develop such flexible, high performance, customisable user interface elements that are highly responsive and hardware accelerated before. Now #CSS3 includes variables and flexboxes it is truly a powerful language and there is no longer a need for preprocessors such as #SCSS / #Sass / #less. React Native contains a very limited interpretation of #CSS3 which I found very frustrating after using #CSS3 for some years already and knowing its powerful features. The other very nice feature of Framework7 is that you can even build for the browser if you want your app to be available for desktop web browsers. The latest release also includes the ability to build for #Electron so you can have MacOS, Windows and Linux desktop apps. This is not possible with React Native yet.

            Framework7 runs on top of Apache Cordova. Cordova and webviews have been slated as being slow in the past. Having a game developer background I found the tweeks to make it run as smooth as silk. One of those tweeks is to use WKWebView. Another important one was using srcset on images.

            I use #Template7 for the for the templating system which is a no-nonsense mobile-centric #HandleBars style extensible templating system. It's easy to write custom helpers for, is fast and has a small footprint. I'm not forced into a new paradigm or learning some new syntax. It operates with standard JavaScript, HTML5 and CSS 3. It's written by the developer of Framework7 and so dovetails with it as expected.

            I configured TypeScript to work with the latest version of Framework7. I consider TypeScript to be one of the best creations to come out of Microsoft in some time. They must have an amazing team working on it. It's very powerful and flexible. It helps you catch a lot of bugs and also provides code completion in supporting IDEs. So for my IDE I use Visual Studio Code which is a blazingly fast and silky smooth editor that integrates seamlessly with TypeScript for the ultimate type checking setup (both products are produced by Microsoft).

            I use Webpack and Babel to compile the JavaScript. TypeScript can compile to JavaScript directly but Babel offers a few more options and polyfills so you can use the latest (and even prerelease) JavaScript features today and compile to be backwards compatible with virtually any browser. My favorite recent addition is "optional chaining" which greatly simplifies and increases readability of a number of sections of my code dealing with getting and setting data in nested objects.

            I use some Ruby scripts to process images with ImageMagick and pngquant to optimise for size and even auto insert responsive image code into the HTML5. Ruby is the ultimate cross platform scripting language. Even as your scripts become large, Ruby allows you to refactor your code easily and make it Object Oriented if necessary. I find it the quickest and easiest way to maintain certain aspects of my build process.

            For the user interface design and prototyping I use Figma. Figma has an almost identical user interface to #Sketch but has the added advantage of being cross platform (MacOS and Windows). Its real-time collaboration features are outstanding and I use them a often as I work mostly on remote projects. Clients can collaborate in real-time and see changes I make as I make them. The clickable prototyping features in Figma are also very well designed and mean I can send clickable prototypes to clients to try user interface updates as they are made and get immediate feedback. I'm currently also evaluating the latest version of #AdobeXD as an alternative to Figma as it has the very cool auto-animate feature. It doesn't have real-time collaboration yet, but I heard it is proposed for 2019.

            For the UI icons I use Font Awesome Pro. They have the largest selection and best looking icons you can find on the internet with several variations in styles so you can find most of the icons you want for standard projects.

            For the backend I was using the #GraphCool Framework. As I later found out, #GraphQL still has some way to go in order to provide the full power of a mature graph query language so later in my project I ripped out #GraphCool and replaced it with CouchDB and Pouchdb. Primarily so I could provide good offline app support. CouchDB with Pouchdb is very flexible and efficient combination and overcomes some of the restrictions I found in #GraphQL and hence #GraphCool also. The most impressive and important feature of CouchDB is its replication. You can configure it in various ways for backups, fault tolerance, caching or conditional merging of databases. CouchDB and Pouchdb even supports storing, retrieving and serving binary or image data or other mime types. This removes a level of complexity usually present in database implementations where binary or image data is usually referenced through an #HTML5 link. With CouchDB and Pouchdb apps can operate offline and sync later, very efficiently, when the network connection is good.

            I use PhoneGap when testing the app. It auto-reloads your app when its code is changed and you can also install it on Android phones to preview your app instantly. iOS is a bit more tricky cause of Apple's policies so it's not available on the App Store, but you can build it and install it yourself to your device.

            So that's my latest mobile stack. What tools do you use? Have you tried these ones?

            See more
            Mike Endale
            Shared insights
            on
            Android SDKAndroid SDKRealmRealmPouchdbPouchdb
            at

            We are building an offline-first Android SDK app. The solution we're working on runs on a mobile device in areas where internet connectivity is intermittent or does not exist. The applications needs to be able to collect data and when it reaches a home base or finds internet connectivity, we'll sync it with the host.

            We've heard Realm and Pouchdb could be a good solution, but we are curious if anyone has any experience with either or have another path forward.

            See more
            Redis logo

            Redis

            58.1K
            44.8K
            3.9K
            Open source (BSD licensed), in-memory data structure store
            58.1K
            44.8K
            + 1
            3.9K
            PROS OF REDIS
            • 886
              Performance
            • 542
              Super fast
            • 513
              Ease of use
            • 444
              In-memory cache
            • 324
              Advanced key-value cache
            • 194
              Open source
            • 182
              Easy to deploy
            • 164
              Stable
            • 155
              Free
            • 121
              Fast
            • 42
              High-Performance
            • 40
              High Availability
            • 35
              Data Structures
            • 32
              Very Scalable
            • 24
              Replication
            • 22
              Great community
            • 22
              Pub/Sub
            • 19
              "NoSQL" key-value data store
            • 16
              Hashes
            • 13
              Sets
            • 11
              Sorted Sets
            • 10
              NoSQL
            • 10
              Lists
            • 9
              Async replication
            • 9
              BSD licensed
            • 8
              Bitmaps
            • 8
              Integrates super easy with Sidekiq for Rails background
            • 7
              Keys with a limited time-to-live
            • 7
              Open Source
            • 6
              Lua scripting
            • 6
              Strings
            • 5
              Awesomeness for Free
            • 5
              Hyperloglogs
            • 4
              Transactions
            • 4
              Outstanding performance
            • 4
              Runs server side LUA
            • 4
              LRU eviction of keys
            • 4
              Feature Rich
            • 4
              Written in ANSI C
            • 4
              Networked
            • 3
              Data structure server
            • 3
              Performance & ease of use
            • 2
              Dont save data if no subscribers are found
            • 2
              Automatic failover
            • 2
              Easy to use
            • 2
              Temporarily kept on disk
            • 2
              Scalable
            • 2
              Existing Laravel Integration
            • 2
              Channels concept
            • 2
              Object [key/value] size each 500 MB
            • 2
              Simple
            CONS OF REDIS
            • 15
              Cannot query objects directly
            • 3
              No secondary indexes for non-numeric data types
            • 1
              No WAL

            related Redis posts

            Robert Zuber

            We use MongoDB as our primary #datastore. Mongo's approach to replica sets enables some fantastic patterns for operations like maintenance, backups, and #ETL.

            As we pull #microservices from our #monolith, we are taking the opportunity to build them with their own datastores using PostgreSQL. We also use Redis to cache data we’d never store permanently, and to rate-limit our requests to partners’ APIs (like GitHub).

            When we’re dealing with large blobs of immutable data (logs, artifacts, and test results), we store them in Amazon S3. We handle any side-effects of S3’s eventual consistency model within our own code. This ensures that we deal with user requests correctly while writes are in process.

            See more

            I'm working as one of the engineering leads in RunaHR. As our platform is a Saas, we thought It'd be good to have an API (We chose Ruby and Rails for this) and a SPA (built with React and Redux ) connected. We started the SPA with Create React App since It's pretty easy to start.

            We use Jest as the testing framework and react-testing-library to test React components. In Rails we make tests using RSpec.

            Our main database is PostgreSQL, but we also use MongoDB to store some type of data. We started to use Redis  for cache and other time sensitive operations.

            We have a couple of extra projects: One is an Employee app built with React Native and the other is an internal back office dashboard built with Next.js for the client and Python in the backend side.

            Since we have different frontend apps we have found useful to have Bit to document visual components and utils in JavaScript.

            See more
            RxDB logo

            RxDB

            56
            176
            63
            A fast, reactive, client-side database
            56
            176
            + 1
            63
            PROS OF RXDB
            • 15
              Good documentation
            • 13
              Subscription to queries
            • 11
              Example projects
            • 10
              Typescript support
            • 10
              Works
            • 3
              Offline first
            • 1
              Plugins
            CONS OF RXDB
            • 4
              Bulk operation for updates and other operation

            related RxDB posts

            Gabriel Pa

            If you want to use Pouchdb might as well use RxDB which is an observables wrapper for Pouch but much more comfortable to use. Realm is awesome but Pouchdb and RxDB give you more control. You can use Couchbase (recommended) or CouchDB to enable 2-way sync

            See more