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

Django 实时通知另类实现

  •  2
     
  •   P9 · Jun 17, 2014 · 4301 views
    This topic created in 4509 days ago, the information mentioned may be changed or developed.
    DJANGO 实时系统的另类实现 请各位移步:
    http://scriptogr.am/pison/post/django-
    6 replies  •  2014-08-26 13:25:53 +08:00
    n37r06u3
        1
    n37r06u3  
       Aug 26, 2014
    我用这个 间隔send了一些数据 导致redis内存升高 直接自杀 怎么办?
    P9
        2
    P9  
    OP
       Aug 26, 2014
    @n37r06u3 你send的数据有多大? 我之前只是发送通知消息。
    n37r06u3
        3
    n37r06u3  
       Aug 26, 2014
    @P9 大概0.2M 我试了 如果没有开浏览器读数据 数据一直挤压在redis里 越来越多 最后导致redis内存占满。 我开了redis 的vm 还是会满的 满了后 浏览器就读不到新数据了
    P9
        4
    P9  
    OP
       Aug 26, 2014
    @n37r06u3 哪我觉得是逻辑的问题吧,内存始终有限的。
    n37r06u3
        5
    n37r06u3  
       Aug 26, 2014
    @P9 发你个demo 看看
    P9
        6
    P9  
    OP
       Aug 26, 2014
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5401 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 07:30 · PVG 15:30 · LAX 00:30 · JFK 03:30
    ♥ Do have faith in what you're doing.