3 ms·
Sorry that wasn't clear. The latency didn't get better, but what happened is that instead of having to make a lot of calls to memcache it was just one (well, j
by jedberg 13y ago
Sorry that wasn't clear. The latency didn't get better, but what happened is that instead of having to make a lot of calls to memcache it was just one (well, just a few), so while that one took longer, the total time was much less.
- robotmay 13y agoI actually did some (simplistic) examples of this in a small presentation to illustrate the performance improvements of batching memcached requests, if anyone's interested: https://speakerdeck.com/robotmay/a-simple-introduction-to-effective-caching-in-ruby-on-rails?slide=11 https://speakerdeck.com/robotmay/a-simple-introduction-to-ef... (slides 11 to 14)
- jedberg 13y agoThat's a better explanation than mine. :) Thanks for the link.