However that said it is also true that memory starts to be seriously cheap, and the real limit may be to run stuff on EC2 or similar platforms.
So sometimes the cost of RAM is a virtual cost associated with the platform you are running your services in, compared to the actual cost of that amount of memory.
Redis had a virtual-memory option like you describe at some point, but it was scraped due to poor performance and other issues.
Awesome interview and kudos to whoever recommended the switch, that's a ton of savings you guys made!
"We are very happy with the hammer we are currently using. Previously, we were using pliers to hammer nails and we saw that it wasn't very efficient."
[1] http://nosql.mypopescu.com/post/1583884165/facebook-the-unde...
[1] https://www.facebook.com/notes/facebook-engineering/inside-f...
Maybe be able to assign a specific DB number to disk?
I realize that might be kitchen sinking Redis more than he intends, but it might be worth it.
"Redis VM is now deprecated. Redis 2.4 will be the latest Redis version featuring Virtual Memory (but it also warns you that Virtual Memory usage is discouraged). We found that using VM has several disadvantages and problems. In the future of Redis we want to simply provide the best in-memory database (but persistent on disk as usual) ever, without considering at least for now the support for databases bigger than RAM. Our future efforts are focused into providing scripting, cluster, and better persistence."
http://www.anchor.com.au/blog/2013/04/redis-rethought-exciti...;