Home > Magento Hosting > Do you use Apache or NGINX as the http Server?

Do you use Apache or NGINX as the http Server?

We use NGINX only.

Is Nginx better that Apache? Nginx is the best-known asynchronous server, whereas Apache is a process-based server. The main advantage of an asynchronous server is its scalability. Apache, being a process-based server, requires a thread for each simultaneous connection, which incurs significant overhead. An asynchronous server, on the other hand, is event-driven and handles requests in a single thread (or at least, very few threads). Undoubtedly, Nginx works best for Magento, offering best performance especially under heavier loads!

Serving 10,000 simultaneous connections would probably only cause Nginx to use a few megabytes of RAM whereas, Apache would probably consume hundreds of megabytes (if it could do it at all).