Django的实时解决方案? [英] Realtime solution for Django?

查看:152
本文介绍了Django的实时解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个月前,我能够使用Orbited和Stomp与Django来创建一个简单的实时应用程序。由于orbited.org已经停止,Orbited项目似乎已经死亡了(或者处于一个通量状态)。

A few months ago I was able to use Orbited and Stomp with Django to create a simple realtime application. The Orbited project seems to be dead now (or in a state of flux?) as orbited.org is down.

使用Django创建实时应用程序有什么好的解决方案?

What is a good current solution for creating realtime applications with Django?

谢谢。 b $ b

推荐答案

很晚,但简短的回答:

看起来像Orbited是死的。但是,您仍然可以将其用于Django(最近我有)。还有其他选项,例如 APE ,但是让它与Django合作不是微不足道,也没有很大的保持。但是APE与Node.js一起工作,这对于这种事情非常适合。

It does appear like Orbited is dead. However, you can still use it for Django (I have, recently). There are other options, like APE, but getting that to work with Django is not trivial, and it's also not greatly maintained. But APE works with Node.js, which is a good fit for this sort of thing.

根据我的经验,除非您需要的Comet解决方案非常简单,而且在您的开发服务器和部署服务器上都有很多时间和自由设置,您最好不要随便解决问题,例如 Scala + 升级。 (我知道,你要求Django,但是经过很长一段时间的追求,我觉得很好,给你一些建议。)

In my experience, unless the Comet solution you need is exceedingly simple, and you have lots of time and freedom to set things up both on your development server and your deployment server, you're better off to go with something made to solve the problem, like Scala + Lift. (I know, you asked for Django, but after searching for a long time myself, I feel it good to leave you with this bit of advice.)

这篇关于Django的实时解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆