django and comet

本小妞迷上赌 提交于 2019-12-11 15:08:58

问题


What should i use to implement comet on django?

All things i've found on google seems outdated. Some people point to orbited.org or hookbox.org, but both of them are just dead now. How people solve this problem nowadays?


回答1:


I would check out Pusher which is a third party service that will allow you to push events to your browser with a drop-dead simple API. They have a free sandbox plan that comes with 100k messages per day and 20 connections.

Alternatively, you could run APE on your server to push events down.

Django isn't really designed for long polling and comet.



来源:https://stackoverflow.com/questions/7730841/django-and-comet

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!