Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to host FAYE on Heroku?

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

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

like image 578
AnApprentice Avatar asked Feb 25 '11 21:02

AnApprentice


2 Answers

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

like image 73
Felipe Sabino Avatar answered Nov 16 '22 23:11

Felipe Sabino


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.

like image 25
Taytay Avatar answered Nov 17 '22 00:11

Taytay