• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question What is better Event or Prefork with Nginx + Apache setup?

Laurynas

New Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
Plesk Obsidian 18.0.44.1
Hi,

would like to get some advice on how to configure Apache in order to get best possible performance.

We used to have only Apache stand alone Plesk servers for quite a time. But from now on we installed and enabled Nginx on all our servers. To minimize a need of customers intervention we decided to use Nginx not as stand alone, but as Nginx proxying requests to Apache and not to serve static files directly by Nginx in order to keep Apache rewire rules of customers .htaccess working.

But now we have a question on what is better on this setup: Event or Prefork? And why?
And also what your opinions on what's better FastCGI server by Apache, FPM served by Apache or FPM served by Nginx?
 
Oh, and what about Dedicated FPM handlers for each site? We have 256 GB of RAM per server and about 300-400 websites per server. What's your opinion on dedicated FPM for each website?
 
Back
Top