存档
‘python’ 分类的存档
2009年12月18日
没有评论
memcached: Benchmark of 4 Python libraries
2009年9月19日
没有评论
memcached: Benchmark of 4 Python libraries

Optimizations, don’t we just love them! Unfortunately most micro optimizations aren’t worth doing. The optimizations that are worth doing are those that affect everything… And if you use memcached, then memcached affects everything
In this blog post I present a benchmark of 4 most popular Python memcached libraries (one of them pure Python, the 3 others C wrappers).
As my benchmark shows, there are lots of gains, basically you can speed up your memcached operations by 2x times – which is REALLY hard to do with any other optimization.
There are currently 4 Python memcached libraries and there aren’t any good benchmarks of these, so I have set a goal to benchmark these. The candidates:
近期评论