Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are different web server options on Heroku?

I recently deployed an app and am using WEBrick, and was considering on switching to Thin. I am wondering on the different options that exist and are best for a heroku environment?

Thanks.

like image 341
Kamilski81 Avatar asked Dec 21 '22 22:12

Kamilski81


2 Answers

Provided you're on Cedar stack you can use whatever you want - Thin works, you are able to get excellent performance out of Unicorn though on Heroku - http://blog.railsonfire.com/2012/05/06/Unicorn-on-Heroku.html

like image 195
John Beynon Avatar answered Jan 05 '23 21:01

John Beynon


(Asummption: You don't mean WEB server (i.e Apache or Nginx), but your application process)

The only real constraint is what you can run on Linux. Nginx is the proxy that is used by the Heroku stack - but behind that it's up to you.

I've seen stuff running Thin, Webrick and Unicorn with no problems.

like image 34
Neil Middleton Avatar answered Jan 05 '23 20:01

Neil Middleton