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
xoxoj
V2EX  ›  Python

python-memcached 与 python redis

  •  
  •   xoxoj · 2014-10-30 16:09:24 +08:00 · 3406 次点击
    这是一个创建于 3437 天前的主题,其中的信息可能已经有所发展或是发生改变。
    请教大家一下,python下的redis可以取代python-memcached吗?

    或者说,python redis比python-memcached更好?
    4 条回复    2014-10-31 12:41:21 +08:00
    takatost
        1
    takatost  
       2014-10-30 16:18:35 +08:00
    和python没关系吧,要看怎么用,数据结构比较复杂,要用到队列,hash,排序之类的,可以用redis,memcache只是单纯的key-value
    yangzh
        2
    yangzh  
       2014-10-30 16:27:20 +08:00
    VYSE
        3
    VYSE  
       2014-10-30 18:12:55 +08:00
    反正我会选择redis disable save充当memcached
    GeekGao
        4
    GeekGao  
       2014-10-31 12:41:21 +08:00
    跟python没啥关系的的。
    对于一般开发人员来讲:
    Redis支持的数据类型多,而且还具备对数据进行操作的内置特性。
    最重要一点是支持数据的持久化和binlog,数据可以保存到磁盘。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3589 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:27 · PVG 12:27 · LAX 21:27 · JFK 00:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.