开发者

Does ruby on rails have issues with regards to max # of threads the server and serve?

  1. Does ruby on rails have issues with regards to max # of threads the server and serve?

i.e. you have to run m开发者_JS百科ultiple instances of the server if you reach high load?


Ruby-on-rails is by design single-threaded. To be able to server multiple users efficiently there are several solutions:

  • use Ruby Enterprise Edition and Phusion Passenger
  • use a cluster of mongrel services, for which loads of alternatives exist (mongrel-cluster, or using apache, nginx, ... to dispatch to different mongrels)

Does that help?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜