Why would I want to use unicorn or thin instead of WEBrick for development purposes?

后端 未结 4 1674
野的像风
野的像风 2021-01-31 08:02

I\'ve recently found that some people prefer using unicorn_rails instead of the default WEBrick as a web server for developing Rails applications.

I unders

4条回答
  •  滥情空心
    2021-01-31 08:38

    My personal experience is that WEBrick is faster in my development environment than Unicorn and Thin (OS X) in a pretty big Rails app (lots of gems, routes etc). But you should measure it yourself, with your app in your machine to see (I tested using ab and using Chrome's developer tools).

    However using the same server in production and development is a very good idea.

提交回复
热议问题