V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Livid
V2EX  ›  Python

Python 目前已经有了无数个 memcache 协议的库,你会选择用哪个呢?

  •  
  •   Livid · 2012-04-06 07:46:08 +08:00 · 4501 次点击
    这是一个创建于 4396 天前的主题,其中的信息可能已经有所发展或是发生改变。
    6 条回复    1970-01-01 08:00:00 +08:00
    lyxint
        1
    lyxint  
       2012-04-06 08:44:55 +08:00
    pylibmc, 性能是最好的

    python-memcache会莫名奇妙的丢掉连接抛异常。

    benchmark: http://amix.dk/blog/post/19471
    phuslu
        2
    phuslu  
       2012-04-07 02:36:08 +08:00
    ultramemcache,性能和并发的完美结合。
    btwo
        3
    btwo  
       2012-05-11 17:55:59 +08:00
    pylibmc
    felinx
        4
    felinx  
       2012-05-11 17:57:01 +08:00
    看大的框架现在在推荐哪个就对路了,现在多推荐 pylibmc
    felinx
        5
    felinx  
       2012-05-11 17:58:11 +08:00
    另一趋势是现在很多人用redis或者mongodb这种NoSQL数据库来当cache了:)
    zuroc
        6
    zuroc  
       2012-05-11 18:23:07 +08:00
    redis可以当memcache用 , 配置文件中设置expire的模式为就好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5598 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.