How to enable and customize PHP-FPM directives/pool for a domain or server wide :: cPanel

What is PHP-FPM?

PHP FastCGI Process Manager (PHP-FPM) is an alternative FastCGI daemon for PHP that makes a website capable of handling strenuous loads. By setting specific amounts of resources, it even allows a host to process a domain’s requests. To accomplish this, the PHP-FPM maintains “pools” (workers available to respond to PHP requests) where these “pools” of workers allow the website to handle more requests than it normally could.

PHP-FPM is faster than traditional CGI-based methods such as SUPHP for multi-user PHP environments. It does not overload a system’s memory with PHP from Apache processes like ruid2+php-dso does. This method is useful when a user receives extra traffic that requires resources to process it. For example, your website may receive a spike in traffic after a TV show features it or is linked from a popular website.

Continue reading…

Configuration of HAProxy Load Balancer on CentOS

HAProxy stands for High Availability Proxy.  It is a very fast and reliable solution for high availability and load balancing. HAProxy is used as TCP/HTTP Load Balancer and for proxy Solutions. The HAProxy application will share the workload with multiple servers.

Steps for Installation and Configuring  HAProxy
===========

Step 1: Before proceeding with the installation of  HAProxy in the server, we need to install the epel repository on our system depending on the operating system version using the following command.
Continue reading…

Squid proxy installation in windows server

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Squid has a variety of uses and advantages such as speeding up web browsing for the end user, reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. It also can work as web filtering and can control the browsing traffic.

Squid is based on the Harvest Cache Daemon developed in the early 1990’s. It was one of two forks from the codebase after the Harvest project ran to completion. Continue reading…