Todd Hoff, of HighScalability, has written a post describing an updated view of StackOverflow's architecture. StackOverflow has grown tremendously over the past few years and is now serving 95 million page views a month. So as you can imagine the post contains a lot of interesting tidbits about the architecture itself.
Specifically in this post I want to highlight the usage of NoSQL at StackOverflow. Specifically, how StackOverflow uses Redis as part of their caching layer:
- Redis is used as part of their site and global caching layers
- Redis is so fast the slowest part of the cache lookup is the writing/reading from the network
- Values are compressed prior to insertion into Redis and a majority if not all of their data are strings
- CPU usage on their Redis machines is 0%
- Most items in the cache expire after a timeout period (typically a few minutes), nothing is ever explicitly removed
Read the original post: Stack Overflow Architecture Update - Now At 95 Million Page Views A Month