Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Mongo good for transient storage (high volume of object creates & deletes)?

Tags:

mongodb

I have an application that will periodically create a large number (10,000+) of hashes (collections of name/value pairs). The hashes may be manipulated a few times, and then deleted.

Is MongoDB an appropriate choice for this? Are there any obviously-better-suited alternatives?

like image 785
jmay Avatar asked Nov 06 '22 09:11

jmay


1 Answers

Mongo is a document database and a bit overkill for key/value pairs. It's strength lies in that it can do ad hoc queries in the documents. If you need this, then that's great.

Take a look at tokyocabinet. This is rumored to be a very fast key/value store.

like image 178
Peter Tillemans Avatar answered Nov 15 '22 05:11

Peter Tillemans