IMVU Memcached Usage Per Node at 150K Requests/Second
engineering.imvu.com
IMVU Memcached Usage Per Node at 150K Requests/Second
1–8 of 8 posts
Re: IMVU Memcached Usage Per Node at 150K Requests/Second
#2Re: IMVU Memcached Usage Per Node at 150K Requests/Second
#3Shame he doesn't talk much about how they managed to get memcache performing like that. Alas.
Re: IMVU Memcached Usage Per Node at 150K Requests/Second
#4> if the result of all of those queries is already in memory somewhere, we can send the page back in less than a second, whereas it would take longer than that if we had to go to the database for each query.
This is breaking news? Seriously, fetching data in memory is substantially faster than doing disk IO. It also helps to do the full query in one pass and inside the database, rather than several separate queries that keep dragging data back and forth. You can get a further speed-up by staying small enough to run inside the processor caches - J (http://jsoftware.com/) and K (http://kx.com/) are quite fast, despite being interpreted.
While Redis has somewhat different use cases than Memcached (Redis is an in-memory db, not just a cache), it's another option.
Re: IMVU Memcached Usage Per Node at 150K Requests/Second
#51) For IMVU users who may not be web server gurus, give a peek into what goes into building a large, 24/7 website.
2) For those who already know memcached, provide some data on load capability for comparison and amusement.
This particular memcached is running an ancient version of Debian on a three year old dual-Xeon 1U box, and it is using TCP. (This is different from many users who move to UDP, to get more throughput but more loss)
The main tuning happens in the switches, where we attempt to have sufficient capacity to avoid packet loss except under the absolutely worst load transients.
I'd love to see other similar data from other sites, btw!
Re: IMVU Memcached Usage Per Node at 150K Requests/Second
#6As far as I can tell, it sounds like they just stumbled into a working configuration, which I'd like to believe is not the point at all.