Presentation: Redis, The Hacker's Database
amix.dk
amix.dk
What are the pros & cons of Redis compared to MongoDB?
(Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase comparison)
Buy some SSD drives, try out Postgres, but if you bet your business on something like Redis, you deserve whatever you get.
Are you just referring to the potential pitfalls of using a non-relational backing store? Or is there something specific wrong with Redis?
Things like: Configuration for optimum performance, distributing loads/clustering, replication etc.
I'm using it for a few projects that I hope could draw a lot of users and I want to get the most out of my tiny Linode VPS.
It strikes me that redis has some cool concepts...but you can't just wave your arms around and say that because redis is a memory-based database it solves I/O and performance problems of databases that normally operate in larger than memory deployments. If redis falls apart when memory can't contain the entire data set, that's a limitation, not a feature.
Since I know Tokyo Tyrant (and its successor or sibling or whatever, Kyoto Tycoon) are blisteringly fast in memory only workloads using key-value datasets, I'm highly suspicious of claims that redis is naturally and obviously faster (or something...I can't tell if this is a claim of speed, or architectural superiority because redis somehow solves I/O in a different way, I can't tell from the slides what is claimed, really).
Personally, I'd like to see some more meat to the argument that redis is superior, or at least some clarity about when and why redis is superior. It's obviously not going to replace MySQL for my CMS or OpenLDAP for my directory services, but it might have a place in other types of deployments. I couldn't figure out what Plurk is, so I'm not sure I understand what it was developed for. (I'm old, though...Plurks purpose might be obvious to someone not afflicted with my particular malady.)
Although Redis is critiqued for its VM implementation, I found that it is good enough for my specific usage: I have around 2 million or so keys and the workset is about 25k keys average.
Yes, Redis is not a universal solution to everything, and I am a little worried about its current proposal of disk-based system (to me, Tokyo Cabinet's disk op implementation is more mature and antirez should do more analysis on the comparison to Tokyo Cabinet and Berkeley DB since these two are only known k-v based disk DBs that tested in battle field).
A few operations that Redis supports are specifically designed to work well in memory and can't be made efficient on disk. See for instance sorted sets and all the commands that this data type supports.