Which NoSQL db to use with C? [closed] - c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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 question
I'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.

Related

Are there any databases that focus on query and read performance? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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 8 years ago.
Improve this question
Are there any databases that focus more on insanely fast read/querying performance? I am looking for a good nosql document database that I don't plan for any significance writes (updating the database is only done by me on a weekly schedule). The type of query I will be doing are keyword searches that will search multiple string fields and interval searching that will look for elements within/overlap an interval.
I was looking at Redis initially, but I needed something a bit more extensive than key/value to store my data. MongoDB looks like a good choice?
There are many possible solutions for your problem, the right solution depends mostly on the scale and the actual use case.
Redis does quite a bit more than simple key/value storage, but I doubt that it's what you need right now.
For mostly read only storage and these type of searches I would recommend taking a look at Elasticsearch and/or Solr, should do what you need and more.
Basically... fast to read, slow to write means lots of denormalisation. You can do that yourself, you can (with some apps) let the database take care of it. But it's always a trade off.

Choosing framework for writing into cassandra database using Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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 question
Hi am new to database programming, am in a project where i need to write data to noSql database currently we choosed Cassandra as our DB.
But its not final i need to come up with a framework or library service where any of application request data from DB, this library should serve it.
I choosed to use the "Hector" framework with that i can able to write to cassandra DB, but requirement is if tommorow we change database my library has to work with new database where we just store data as key-value pair.
Please help me to get solution to this problem.
Thanks.
If you decided to go with Hector, it is recommended to use DataStax Java Driver.
It is built from the very beginning to take advantage of Cassandra's new CQL native protocol. I used Hector in the past and it is too much annoying to use and code in.
DataStax Java Driver: A new face for Cassandra

Where to find practical well-designed database schema examples to learn from? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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 question
I am new to database schema design and I want to learn more about how a well-designed database scheme is implemented in the real world?
Is there any places to find those schemes? Or is there any book focused on explanation over examples.
DatabaseAnswers.org (unfortunately now defunct) but well-preserved in the Wayback Machine is a great source of example database schemas.
I can also recommend Beginning Database Design, published by Apress. I own this book and can confirm that it is of high quality. The book looks at a number of real world scenarios and explains the impact a certain design decision could have on the way the database works and the quality of the data and its output.
Finally I would advise building some small databases (E.G. contact management, Task list etc). Start by specifying some basic requirements and create some tables and queries. You WILL make some mistakes which is the best way of learning.
Here is a nice library of schemas to browse through.
http://www.databaseanswers.org/data_models

Local Sql database support for Windows phone 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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 8 years ago.
Improve this question
I would like to develop for Windows Phone 7 but the lack of database support still blocks me. Has anyone found a good library, stack to use for accessing local database from WinPhone7?
Can you post links/examples of good practices to select/insert data in DB from a WinPhone7 application?
Thanks in advance !
c.
[edited] any updates available?
There are lots of options:
WinPhone7Db
Perst
SQLite (and here)
siaqodb
db4o
Ninja Database Pro
Rapid Repository
Sterling
Effiproz
SQL Compact Edition will be coming in the "Mango" update - due later this year
Take a look at winphone7db.
This project implements a Isolated Storage (IsolatedStorage) based database for Windows Phone 7. The database consists of table object, each one supporting any number of columns.
Or you can store data on the internet and use webservices.
You'll be able to use Microsoft's SQL CE with the upcoming tools update due out in May. When end users will have Mango is another story though :)
There is a local database coming in Windows Phone 7.1 / Mango - take a look at the MSDN pre-release documentation here: http://msdn.microsoft.com/en-us/library/hh202860%28v=VS.92%29.aspx
You'll need to use Linq to SQL and the databases are still bound to individual isolated application storage contexts, but otherwise should be as you expect =)

Flash game data storage [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
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 8 years ago.
Improve this question
I'm storing a variety of variables containing statistics, items weapons, etc in a flash based game. Currently I'm using PHP and AMFPHP as a backend, calling services to pull the data. This is fine for my own machine, even my own website, however if I want to deploy the game to a site such as Kongregate or ArmorGames, what storage method can I use at that point?
I have a small preference of continuing to use a database such as MySQL because I spent some time designing the ER diagram and schema, but if I have to store in a flat file, I can do that too. I'm especially interested in others who have deployed games which have data storage (such as inventory, characters, classes, items, mobs) external to their game.
Edit: Looking for answers as to whether people use remote services or another solution for deploying their games to sites such as this.
Perhaps you should peruse the documentation of the respective providers:
http://www.kongregate.com/developer_center/docs/shared-content-api
Not sure if armor games has any of that type.
I asked within Kongregate's developers, the answer is yes, I can use remote web services. The API unfortunately had nothing in it dealing with this issue.
You could use our backend Flox http://gamua.com/flox/. It allows you to store your inventories, characters, etc. It's not MySQL but based on a NoSQL database. However, since you'd be using the AS3 SDK, you would not get in touch with the DB anyway.
Also, I should mention that I am the lead developer of Flox, which may make me a bit biased. ;-)

Resources