Gunz
Chevereto Member
This is a basic guide how to setup you Server, remember there are thons of guides on internet so i advice you to read also them. With this guide we can try to share our knowledge and improve our website:
Server configuration:
CLOUDFLARE -> VARNISH -> APACHE -> NGINX -> SITE WEB
From wikipedia:
CloudFlare is a content delivery network and distributed domain name server service marketed as improving website performance and speed and providing security. CloudFlare has both free and paid services. CloudFlare received media attention, not all of it positive, after providing security to LulzSec's website. The Turkish government has also used CloudFlare.
Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP, unlike other proxy servers that often support FTP, SMTP and other network protocols.
The Apache HTTP Server, commonly referred to as Apache, is a web server software notable for playing a key role in the initial growth of the World Wide Web. In 2009 it became the first web server software to surpass the 100 million website milestone. Apache was the first viable alternative to the Netscape Communications Corporation web server (currently named Oracle iPlanet Web Server), and since has evolved to dominate other web servers in terms of functionality and performance.[ Typically Apache is run on a Unix-like operating system.
Nginx (pronounced “Engine-X”) is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high concurrency, performance and low memory usage. It is licensed under a BSD-like license and it runs on Unix, Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX and Microsoft Windows.
So our system will run like this:
Client side: Here will work Cloudflare, easy to setup. It will protect your website and cache all file you want. You can easly configure it. Here a guide by Rodolfo how to setup it. http://chevereto.com/community/threads/cloudflare-chevereto.2351/
Server side: Varnish work on port :80 and cache all files and point to web server Apache on port :8080 that work on dynamic file. All static file will be linked to nginx web server.
That's all, so you will have a fast system to handle thons of requests.
I think that will be a long guide, so i will divide it on part. I hope there isn't a low limit of characters on topic. TO BE COMPLETED.
Server configuration:
CLOUDFLARE -> VARNISH -> APACHE -> NGINX -> SITE WEB
From wikipedia:
CloudFlare is a content delivery network and distributed domain name server service marketed as improving website performance and speed and providing security. CloudFlare has both free and paid services. CloudFlare received media attention, not all of it positive, after providing security to LulzSec's website. The Turkish government has also used CloudFlare.
Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP, unlike other proxy servers that often support FTP, SMTP and other network protocols.
The Apache HTTP Server, commonly referred to as Apache, is a web server software notable for playing a key role in the initial growth of the World Wide Web. In 2009 it became the first web server software to surpass the 100 million website milestone. Apache was the first viable alternative to the Netscape Communications Corporation web server (currently named Oracle iPlanet Web Server), and since has evolved to dominate other web servers in terms of functionality and performance.[ Typically Apache is run on a Unix-like operating system.
Nginx (pronounced “Engine-X”) is an open source Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high concurrency, performance and low memory usage. It is licensed under a BSD-like license and it runs on Unix, Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX and Microsoft Windows.
So our system will run like this:
Client side: Here will work Cloudflare, easy to setup. It will protect your website and cache all file you want. You can easly configure it. Here a guide by Rodolfo how to setup it. http://chevereto.com/community/threads/cloudflare-chevereto.2351/
Server side: Varnish work on port :80 and cache all files and point to web server Apache on port :8080 that work on dynamic file. All static file will be linked to nginx web server.
That's all, so you will have a fast system to handle thons of requests.
I think that will be a long guide, so i will divide it on part. I hope there isn't a low limit of characters on topic. TO BE COMPLETED.