Lightweight NoSQL DB Supporting REST and JSON

10,418

Solution 1

You may want LevelDB, a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. You can use it as a standalone file-based database. Support for many languages (C/C++, Ruby, Java).

Also check out Kyoto Cabinet, a lightweight database library, a straightforward implementation of DBM, Key-value store, Standalone file-based database (also in-memory) , Support for many languages (Ruby, Java, C#, PHP, etc.).

Solution 2

Check out MongoDB; it's written in C++.

You could also check out CouchDB, but that's written in Erlang.

Share:
10,418
sof
Author by

sof

Updated on June 04, 2022

Comments

  • sof
    sof almost 2 years

    Just looking for a NoSQL DB as compact as SQLite, supporting REST and JSON, preferably implemented in C/C++ and capable of full-text search. Can you recommend it?

  • Bojan Markovic
    Bojan Markovic almost 11 years
    MongoDB is hardly lightweight given that it's optimized to be the only process running on the PC, loads entire database in a memory-mapped file, tends to use up all the memory it can get and behaves haphazardly when limited. I don't know enough about CouchDB, bud Erlang (the language/runtime) it runs on is interpreted garbage-collected runtime so it can't be that lightweight.
  • Lori
    Lori about 9 years
    RethinkDB ( t.co/e4I6Q2MTQq ) seems to be lighter than MongoDB, but is probably a lot bigger than SQLite.