4 ms·
Another benefit in-memory cache vs remote key-value store is the reliability. Redis/memcached servers are super reliable, but at scale, you'll run into non-tri
by analyst74 7y ago
Another benefit in-memory cache vs remote key-value store is the reliability.
Redis/memcached servers are super reliable, but at scale, you'll run into non-trivial amount of failures when communicating to those servers, even a sub-second blip in network connections could result in hundreds of failures.
Now you have to deal with retry, ensure your application logic is failure tolerant, worry about timeout, consider impact of temporary delays in redis to your application server due to skyrocketing threads waiting for results and all that fun stuff.
- alexchamberlain 7y agoAt scale, don't you have the same problems with your in memory caching solution (specifically in the distribution and coordination parts)?
- graycat 7y agoNice. Sounds like the clients should be willing to retry any such remote communications due if only due to little blue ET men crawling through the server farm LAN cables.