Simon Willison’s Weblog

Subscribe

2 items tagged “amir-salihefendic”

2009

hash_ring 1.2. A Python library for consistent hashing with memcached, using MD5 and the same algorithm as libketama. Exposes an interface that is identical to regular memcache making this a drop-in replacement.

# 5th May 2009, 1:45 pm / amir-salihefendic, caching, consistenthashing, django, hashring, libketama, md5, memcached, python

Finding and fixing memory leaks in Python. Using Dozer, a clever piece of WSGI middleware which displays sparklines of Python object counts and allows you to introspect them, using the gc module under the hood.

# 22nd April 2009, 12:16 pm / amir-salihefendic, debugging, memory, memoryleaks, middleware, python, wsgi