A word about Var­nish

OpenSource For You - - HOW TO ADMIN -

Var­nish is a Web ap­pli­ca­tion ac­cel­er­a­tor or ‘re­verse proxy’. It’s in­stalled in front of the Web server to han­dle HTTP re­quests. This way, it speeds up the site and im­proves the per­for­mance sig­nif­i­cantly. In some cases, it can im­prove the per­for­mance of a site by 300 to 1000 times.

It does this by caching the Web pages and when vis­i­tors come to the site, Var­nish serves the cached pages rather than re­quest­ing the Web server for it. Thus the load on the Web server re­duces. This method im­proves the site’s per­for­mance and scal­a­bil­ity. It can also act as a fail­safe method if the Web server goes down be­cause Var­nish will con­tinue to serve the cached pages in the ab­sence of the Web server.

With that said, let’s be­gin by in­stalling Var­nish on a VPS, and then con­nect it to a sin­gle NGINX Web server. Then let’s add another NGINX Web ser server so that we can im­ple­ment a fail­safe mech­a­nis mech­a­nism. This will ac­com­plish the per­for­mance g goals that we stated. So let’s get started. Fo For the rest of the ar­ti­cle, let’s as­sume that you are us­ing the Cen­tos 6.4 O OS. How­ever, we have pro­vided

in in­for­ma­tion wher­ever we for fw felt Ubuntu it was users nec­es­sary.

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.