NGinx is an asynchronous event-driven web-server which has become immensely popular in recent years for its performance advantages. NGinx can be used is a reverse proxy to load balance HTTP requests among back-end servers. Here is how this can be achieved on a standard Ubuntu server: Setup
1 2 3 4 5 6 7 8 9 10 11 |
------------------------------ |----------| Back-end Server 1 (BES1) | | ------------------------------ ---------------------- | Internet | Front-end server |-----------' ------------------------------ -------------| Running NGinx |----------------------| Back-end Server 2 (BES2) | | (FES) |------------ ------------------------------ ---------------------- | | ------------------------------ '----------| Back-end Server 3 (BES3) | ------------------------------ |
In this sample setup, we have a […]