Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommendation for an in-memory database [closed]

I would like to remove sql dependency of small chunks of data that I load on (almost) each request on a web application. Most of the data is key-value/document structured, but a relational solution is not excluded. The data is not too big so I want to keep it in memory for higher availability.

What solution would you recommend?

like image 253
vonPetrushev Avatar asked Mar 06 '11 09:03

vonPetrushev


1 Answers

The simplest and most widely used in-memory Key-value storage is MemcacheD. The introduction page re-iterates what you are asking for:

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

The client list is impressive. It's been for a long time. Good documentation. It has API for almost every programming language. Horizontal scaling is pretty simple. As my experience goes Memcached is good.

You may also want to look into MemBase.

like image 137
Nishant Avatar answered Sep 27 '22 16:09

Nishant