compare pylibmc and python-memcached - optimize python - memcache performance
I have some test with 2 lib and have some result.| Operation | python-memcached | pylibmc (function) | pylibmc (operator []) |
| Insert 1.000.000 records | 107 sec | 65 sec | 69 sec |
| Insert/Query 1.000.000 records | 190 sec | 131 sec | 135 sec |
So as result, we should you pylibmc instead of python-memcached. It can improve about 50% - 70% performance and try to use function (get(),set()) instead of operator ([])
* for install python-memcache and pylibmc you can see in here
No comments:
Post a Comment