memcached first numbers in!

I’ve just done some initial benchmarking for displaying a profile using memcached.

At the moment, on my MacBook, it takes about 18 ms to display a profile. Using memcache instead this drops to 0.4 ms, in other words it’s 180 times faster.

These tests were conducted with python-memcached which is the pure-Python interface because I didn’t immediately manage to get the C interface working. However I probably don’t need to bother with this right now given the performance gain.

Of course not all of the pages on the site are suitable for memcache but I would think about half the total pageviews could be.

Leave a Reply

You must be logged in to post a comment.