开发者

Webbrick/Mongrel vs Passenger + Nginx for development?

Here is my case:

For production I use Heroku.

The question is what should i use f开发者_如何学Pythonor development:

My alternatives are:

  1. Built in Webbrick (or Mongrel)

  2. Passenger with Nginx

The question Im asking myself is:

Why would I use the second alternative when I will upload my application to Heroku anyway. Isnt it better to just use Webbrick/Mongrel instead then for development?

Thanks


I deploy to Heroku a lot and use either Webrick or Thin. No real point in setting up a more complex environment.


The most common use case for Nginx or Apache in development, is when the project makes use of specific features in either server. Since you're deploying on Heroku, there is as far as I know no way of configuring the server setup.

So I can't think of a reason why you should use Nginx while developing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜