是否有可能在Heroku上主持FAYE? [英] Is it possible to host FAYE on Heroku?

查看:143
本文介绍了是否有可能在Heroku上主持FAYE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果不是,为什么?如果是这样,任何问题或想法分享?

http://faye.jcoglan.com/ruby.html

解决方案

是的, p>

你应该检查这个git回购
https://github.com/ntenisOT/Faye-Heroku-Cedar-RedisToGo



README文件有几个链接,指向使用faye托管的功能项目在heroku中(包括它们的源代码)一个人认为你应该知道的是,除了Faye自0.5版以来对WebSockets的新支持,它仍然不支持heroku (即使在新的雪松堆栈中)


我们做出了艰难的决定,以支持WebSockets为例, ocol仍然是不断变化在符合现代标准的浏览器中不受统一支持


编辑:



faye repo在2年内没有更新,但现在 heroku支持websockets ,所以它可能值得试用网络套接字独立库


If not, why? If so, any issues or thoughts to share?

http://faye.jcoglan.com/ruby.html

解决方案

Yes, it is.

You should check this git repos https://github.com/ntenisOT/Faye-Heroku-Cedar-RedisToGo

The README file has several link to functional projects using faye hosted at heroku (including their source codes)

One think you should be aware is that besides Faye's new support for WebSockets since version 0.5, it is still not supported on heroku (not even in the new cedar stack)

we've made the difficult decision to hold off on supporting WebSockets, as the protocol is still in flux and not uniformly supported in modern standards-compliant browsers

EDIT:

the faye repo has not been updated in 2 years, but now heroku has support for websockets, so it might be worthy a trial to use the web sockets standalone library

这篇关于是否有可能在Heroku上主持FAYE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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