Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a performant JSON based DB with a client side implementation?

I found this question about SQL-like query libraries. What I am looking for is a library that allows queries on JSON objects, embedded in a client-side application (browser), as well as from a remote high performance dedicated database.

like image 677
Coyote Avatar asked Nov 16 '13 09:11

Coyote


3 Answers

For the sake of completeness I'll throw out PouchDB and CouchDB.

Pouch for client side: http://pouchdb.com/ Couch for server side: http://couchdb.apache.org/

like image 100
ryan1234 Avatar answered Oct 12 '22 07:10

ryan1234


I was searching for the same thing and after much searching suddenly came across NeDB, which now has a browser implementation.

https://github.com/louischatriot/nedb

Unlike PouchDB it has a Mongo-like query API.

like image 35
Otto Avatar answered Oct 12 '22 09:10

Otto


You could try couchbase lite (client side) that syncs with couchbase server.

http://www.couchbase.com/communities/couchbase-lite and http://www.couchbase.com/

It is a document based nosql database, querying isn't as rich as SQL but you have the ability to create additional indices on which to query your data by using couchbase views (map reduce jobs). These work both on the client and server, it also supports syncing between the device and server.

like image 23
scalabilitysolved Avatar answered Oct 12 '22 07:10

scalabilitysolved