Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lightweight NoSQL DB Supporting REST and JSON

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?

like image 317
sof Avatar asked Dec 17 '11 23:12

sof


People also ask

Which type of NoSQL database can be used to store JSON objects?

The best database for JSON A JSON database like MongoDB stores the data in a JSON-like format (binary JSON), which is the binary encoded version of JSON, and is optimized for performance and space. This makes the MongoDB database the best natural fit for storing JSON data.

Does NoSQL support JSON?

A JSON database is arguably the most popular category in the NoSQL family of databases. NoSQL database management differs from traditional relational databases that struggle to store data outside of columns and rows.

Which database is good for REST API?

Selecting the appropriate database for your REST API is crucial, and based on current trends, MongoDB is one of the most popular databases for web applications. MongoDB REST API is simple to set up and allows you to store and retrieve documents, making it great for Unstructured Data.


2 Answers

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

like image 135
Brent81 Avatar answered Oct 14 '22 22:10

Brent81


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

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

like image 30
leifericf Avatar answered Oct 14 '22 23:10

leifericf