Question

  • No websockets on Heroku,
  • no thin on Engineyard,
  • gave OpenShift a try, but they are quite far from being ready for production.

If I want to host a Ruby/Rails app which uses websockets via faye, where can I do that?

Was it helpful?

Solution 2

Heroku now supports WebSockets (finally!): https://devcenter.heroku.com/articles/heroku-labs-websockets

OTHER TIPS

Not sure what you are trying to spend, but your best option is proably going to be looking into a VPS hosting solution, such as Linode. This way you have the freedom to install the software that you need.

Edit: (based on your comment)
You could also try the free tier of Amazon EC2 but you only get one year of free service.

Roll your own vserver, costs just a few bucks nowadays. You can run there everything you want and have full control over it.

There's a company called Blue Box in Seattle you might look into.

I work there, so there's that shameless plug aspect going on. But I think they'll be your best bet.

Here's an example OpenShift DIY instance that's currently running a prod Faye instance in the cloud for me.

As you say, OpenShift isn't really ready for primetime -- so I'm actually talking to this box from my main app running on Heroku! One note here might be that websockets secure protocol (wss) is supported on 8443 for OpenShift.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top