FastCGI is to keep the CGI interpreter process in memory and therefore achieve high performance. The repeated loading of the CGI interpreter is the main reason for the poor CGI performance.
If the CGI interpreter remains in memory and accepts the dispatch of the FastCGI manager, it can provide good performance for scaling rows.
<USR1 is also commonly used to inform application overloading profiles > Linux command signals
How to load balance
1.dns Polling
Most domain service providers support adding multiple A records to the same host, which is DNS polling, and the DNS server randomly assigns resolution requests to different IPs in the order of a records.
Cons: Low reliability (DNS cache), uneven distribution.
2. Four/seven-layer load balancing device
Fourth layer refers to the transport layer
The Seventh tier application layer performs load balancing tasks based on the information of the header by examining the HTTP headers that flow through.
The software four layer load balanced representative works for LVS
Software seven-layer load Balancer representative works Nginx
3. Multi-line multi-region intelligent DNS resolution and hybrid load balancing method
High-efficiency Nginx