Does / can use passenger clusters such as Mongrel?

I'm just wondering if Passenger can use or use clusters like Mongrel. If so, how can I specifically launch Passenger with clusters? I am using nginx. And if not, how will it well surpass Mongral?

+3
source share
1 answer

Mongrel Cluster starts a certain number of Mongrel processes and assigns them incoming HTTP requests using the Apache mod_proxy_balancer module, which acts as a reverse proxy server and performs load balancing.

The passenger runs Ruby processes to process HTTP requests using one of three different and custom strategies . When the Passenger smart spawning method is used, it can cache the Ruby on Rails wireframe code, which significantly reduces the appearance time. A passenger can also reuse an already loaded Ruby interpreter, rather than loading a new one for each process.

+3
source

Source: https://habr.com/ru/post/1727324/


All Articles