开发者

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

开发者 https://www.devze.com 2023-01-03 08:54 出处:网络
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 d
  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

精彩评论

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