存档
memcached: Benchmark of 4 Python libraries
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:
TORNADO – THE FASTEST WSGI SERVER?
Tornado – The fastest WSGI server?

Tornado is a non-blocking web server from the FriendFeed hackers. There are different hello world benchmarks, but none that are really interesting to me since all of my web-applications are WSGI applications.
nginx 7稳定版发布
做反向代理的时候加入了cache功能,”caching of proxied and fcgi server “,不知道效果如何,sina搞的ncache用起来太麻烦,还得64位系统。lighttpd的mod_cache竟然连PHP也给cache了-_-,要好好试下nginx 7的cache功能。
下载地址:http://sysoev.ru/nginx/nginx-0.7.59.tar.gz
Changes with nginx 0.7.59 25 May 2009
*) Feature: the “proxy_cache_methods” and “fastcgi_cache_methods”
directives.
阅读全文…
近期评论