首页
注册
登录
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
V2EX
›
Python
Django 实时通知另类实现
2
P9
·
2014-06-17 10:16:32 +08:00
· 3829 次点击
这是一个创建于 4102 天前的主题,其中的信息可能已经有所发展或是发生改变。
DJANGO 实时系统的另类实现 请各位移步:
http://scriptogr.am/pison/post/django-
django
实时
移步
6 条回复
•
2014-08-26 13:25:53 +08:00
1
n37r06u3
2014-08-26 09:01:52 +08:00
我用这个 间隔send了一些数据 导致redis内存升高 直接自杀 怎么办?
2
P9
OP
2014-08-26 09:35:09 +08:00
@
n37r06u3
你send的数据有多大? 我之前只是发送通知消息。
3
n37r06u3
2014-08-26 11:31:01 +08:00
@
P9
大概0.2M 我试了 如果没有开浏览器读数据 数据一直挤压在redis里 越来越多 最后导致redis内存占满。 我开了redis 的vm 还是会满的 满了后 浏览器就读不到新数据了
4
P9
OP
2014-08-26 12:09:03 +08:00
@
n37r06u3
哪我觉得是逻辑的问题吧,内存始终有限的。
5
n37r06u3
2014-08-26 12:20:21 +08:00
@
P9
发你个demo 看看
6
P9
OP
2014-08-26 13:25:53 +08:00
[email protected]
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
实用小工具
·
955 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 37ms ·
UTC 21:34
·
PVG 05:34
·
LAX 14:34
·
JFK 17:34
Developed with
CodeLauncher
♥ Do have faith in what you're doing.
❯