推荐学习书目
› 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
396.81D
542.75D
V2EX  ›  Python

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

  •  
  •   Livid ·
    PRO
    · Apr 6, 2012 · 5528 views
    This topic created in 5287 days ago, the information mentioned may be changed or developed.
    6 replies  •  1970-01-01 08:00:00 +08:00
    lyxint
        1
    lyxint  
       Apr 6, 2012
    pylibmc, 性能是最好的

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

    benchmark: http://amix.dk/blog/post/19471
    phuslu
        2
    phuslu  
       Apr 7, 2012
    ultramemcache,性能和并发的完美结合。
    btwo
        3
    btwo  
       May 11, 2012
    pylibmc
    felinx
        4
    felinx  
       May 11, 2012
    看大的框架现在在推荐哪个就对路了,现在多推荐 pylibmc
    felinx
        5
    felinx  
       May 11, 2012
    另一趋势是现在很多人用redis或者mongodb这种NoSQL数据库来当cache了:)
    zuroc
        6
    zuroc  
       May 11, 2012
    redis可以当memcache用 , 配置文件中设置expire的模式为就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   877 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:47 · PVG 02:47 · LAX 11:47 · JFK 14:47
    ♥ Do have faith in what you're doing.