6 ms·
What is the best alternative for redis?
by martin1985 12y ago
What is the best alternative for redis?
- JonnieCache 12y agoThere isn't really one. Memcached fulfills a subset of its simplest use cases.
- thedufer 12y agoThat would depend pretty strongly on what about redis isn't working for you.
- antirez 12y agoDepends on the use case, but basically, there is a big set of problems you can solve with different technologies depending on your exact details, one will be better in one way, one will be better in some other way. The sensibility of the programmer is to pick the right one, in an effort to maximize the different aspects: data model fitness for the problem at hand, operational aspects, consistency guarantees, performances (number of nodes needed), scalability, simplicity (do I need support since it's a complex stuff?), and so forth.
- espeed 12y agoLook at HyperDex http://hyperdex.org/ http://hyperdex.org/
- hydrogen18 12y agoLast time I looked into HyperDex it requires proprietary extensions to get access to all of its features.
- misframer 12y agoThat would be Warp[0], which adds ACID transactions across multiple keys. [0] http://hyperdex.org/solutions/ http://hyperdex.org/solutions/
- joeblau 12y agohttp://memcached.org/ http://memcached.org/ used to be. I haven't done system architecture in about 2 years but when we were looking at in memory databases, it came down to Redis or Memcache. Depending on what you need your database for, there are some that perform better than others. You can check this site for comparisons: http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis
- astrodust 12y agoMemcached is just a stupid key-value store, and by stupid I mean it just stores and retrieves values. It's extremely primitive compared to Redis. It's not even close to the same thing as Redis except superficially. The key/value part of Redis is just the beginning. The values themselves can be of several different types that allow for a lot more flexibility in how you store and query data.
- BurningFrog 12y agoRedis is normally not in memory. Everything is written to disk and survives a power failure. Memcached is just a cache. Don't store anything there you can't lose.
- tim333 12y agoNot sure that's quite right. From the docs: >In order to achieve its outstanding performance, Redis works with an in-memory dataset. Depending on your use case, you can persist it either by dumping the dataset to disk every once in a while, or by appending each command to a log.
- BurningFrog 12y agoWell, it's written to disk either way. You're right that if you do the "once in a while" setup, you can lose some data in a power failure. At a previous job people started using Redis thinking it was a fast in-memory data store. It turned out we had accumulated tens of thousands of records. I haven't measured, but I doubt it's much faster than Postgres. It does have other nice features. I like using the expiring records for caching.
- rakoo 12y agoWhat do you want to do ?
- danneu 12y agoOne alternative is to use the database you're already using (like Postgres) until you actually need Redis.
- orangesareok 12y agoAre Oracle Coherence and Infinispan considered alternatives to redis? Don't know much about any of these besides their names to be honest.
- dsetrakyan 12y agoI think yes. Take a look at Apache Ignite Data Grid as well.
- vasquque 12y agoHey, I also think you have to try http://tarantool.org http://tarantool.org if you wish to use persistent and an application server.