gemhome / fnordmetric

(possible new home for) FnordMetric is a redis/ruby-based realtime Event-Tracking app
0 stars 1 forks source link

fnordmetric 1.0.0: Running on heroku, websockets vs polling. #24

Open bf4 opened 10 years ago

bf4 commented 10 years ago

Issue by radiospiel Sunday Aug 12, 2012 at 10:04 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/90


fnordmetric really is awesome, and looks great on my local machine. However, I have trouble deploying it to heroku (and even though I haven't tried that yet, probably to other servers where it would run behind an nginx proxy.)

Apparently fnordmetric 1.0.0 uses websockets as a transport, where 0.7.x polled the server. If I understand this issue correctly https://github.com/imanel/websocket-rack/issues/8 running websockets on heroku just does not work.

Is there a simple way to fall back to polling instead of websockets? Some configuration option one can set somewhere? A working project

I am aware that #73 already deals with running on heroku. The suggested soultion works, but with fnordmetric 0.7.x versions only.

bf4 commented 10 years ago

Comment by kamilski81 Monday Oct 01, 2012 at 23:55 GMT


@radiospiel - did you resolve this by any chance?

bf4 commented 10 years ago

Comment by skorfmann Sunday Mar 24, 2013 at 11:13 GMT


Anyone had success deploying this to heroku?

bf4 commented 10 years ago

Comment by voodoologic Wednesday Jan 29, 2014 at 20:59 GMT


Heroku should now support websockets.