Skip to main content

Posts

Showing posts with the label nginx

Beginners guide to NGINX Part 1 - Introduction

  Beginners guide to NGINX Table of content  Introduction Apache Web Server NGINX Multiplexing and Demultiplexing Introduction NGINX is a web server, used to serve web pages over the internet, that also works as a reverse proxy, load balancer and caching and caching device. NGINX is pregerred for its single threaded, event-driven and master-slave architecture.   Let is understand the traditional apache web-server architecture. Apache web server architecture     Apache also known as HTTPD is an open source web server that follows a process driven approach and creates a new thread for each new request.   The MPMs (Multi-Processing Modules) in Apache, provides a flexible architecture for choosing different connections and different handling algorithms.   The three main Apache MPMs are:   1.Process (Pre-fork) MPM 2.Worker MPM 3.Event MPM   By default, Apache is configured in Pre-fork mode (mpm_prefork). It responds to a set numb...