Is it possible to use MongoDB without the database part? As really for my application what would be ideal is to just keep the database in memory, and not actually require a database server. The use case for this is to pretty much wrap a selector/query engine around a series of documents that only exist in memory temporarily - once the session is over, we can don't care for the documents anymore.
Thanks guys, the application is in Node.js. If MongoDB can't do this, do you have any recommendations?
As far as I know that's not possible, but you could easily create a new collection per session and drop it when the session finishes.
You could use Memcached.
Here is a side=-by-side comparison of the two
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With