Which NoSQL db to use with C? [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI'm working on an application that I'm going to write with C and i am considering to use a nosql db for storing timeseries data with at most 8 or 9 fields. But in every 5 minutes there will huge write operations such as 2-10 million rows and then there will be reads(but performance is not as crucial in read as in the write operation).
I'm considering to use a NoSQL db here in order to store the data but couldn't decide on which one to use. Couchdb seems to have a stable driver called pillowtalk for C; but Mongo's driver doesn't look as promising as pillowtalk. I'm also open to other suggestions.
What is your recommendation?
For crazy performance contraints you can't beat Tokyo Cabinet: http://fallabs.com/tokyocabinet/
There is also a server component called Tokyo Tyrant which looks really cool.
MongoDB works great with C - there is both a C driver and a C++ driver. The database uses the C++ driver itself for functions like replication (MongoDB is written in C++).
http://www.mongodb.org/display/DOCS/Drivers
Does your project want to support some form of offline data? If so you should probably go with CouchDB since the replication model is designed to support offline data changes and sync.
What about Sqlite? The site is here. The front end to edit/manage the sqlite database is sqliteman.
Hope this helps.
精彩评论