开发者

Is it possible to host FAYE on Heroku?

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

http://faye.jcoglan.com/开发者_JAVA百科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 has now posted an article about running Faye on Heroku: https://devcenter.heroku.com/articles/ruby-websockets

So the answer is officially "yes" now.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜