Salvatore Sanfilippo (@antirez) talking about the decisions behind Redis Virtual memory implementation:
The whole Redis semantics of being single threaded, fast, and very versatile in the data structures provided, is up to the fact that we use the good and old data structures implemented with something that is able to provide good performances even with bad locality (compared to a disk) that is: memory.
While I love reading such posts, I’m not really sure why Salvatore spends so much time arguing his decisions when there’s no competitor around. Remember Redis is smart data structures + raw speed.
Original title and link: Redis Virtual Memory Implementation Rationale (NoSQL databases © myNoSQL)