Cache Warm-Up: Redis vs Memcached vs Microsoft AppFabric
The traffic of our football news syndicating website (Kick News) has been steadily growing a lot since it launched. When we redeveloped it a couple of years ago, we used an in-process cache, by creating an IQueryable extension method that uses an md5 hash of the underlying SQL query as the key. This worked reasonably well, but has it's obvious problems, such as the caches needing to be refilled when the app pool recycles or when the server is restarted. On our busy site, this means we had to wait until the caches are full before we serve any requests or it would overload our database server, which is unacceptable. Before the site gets any busier we're going to move to an out-of-process cache and the are 3 main options we've considered are Redis, Memcached and Windows Server AppFabric
via NoSQL databases
Post a Comment