Does ruby on rails have issues with regards to max # of threads the server and serve?
- 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?
精彩评论