Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nicolaisalien #286

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
432ce80
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
9e463ce
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
a0529b3
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
617057e
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
22cbef5
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
52bb707
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
93fb315
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
73f5627
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
5568930
Update loadbalancing_101.rst
nicolaisalien Dec 8, 2015
d27db8b
Update loadbalancing_101.rst
nicolaisalien Dec 8, 2015
947dbfd
Update security_201.rst
nicolaisalien Dec 8, 2015
3a8183e
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
e0d45b8
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
8116da0
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
8623206
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
d038706
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
b4a578b
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
1120f7b
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
4263401
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
a783363
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
c4536bb
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
5ebdbf8
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
113477a
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
2be4b28
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
f70b216
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
1316fc5
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
63e5a28
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
13b121f
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
52d653e
Update shell_tools_101.rst
nicolaisalien Dec 8, 2015
9cd0b9f
Update security_201.rst
nicolaisalien Dec 8, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update loadbalancing_101.rst
  • Loading branch information
nicolaisalien committed Dec 8, 2015
commit 556893016c0a9e736f92378855b37d5822c871a4
12 changes: 12 additions & 0 deletions loadbalancing_101.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@ connections). It supports health checks using the method built into AJP protocol
Nginx
-----

NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.

NGINX is one of a handful of servers written to address the C10K problem. Unlike traditional servers, NGINX doesn’t rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but more importantly, predictable amounts of memory under load. Even if you don’t expect to handle thousands of simultaneous requests, you can still benefit from NGINX’s high-performance and small memory footprint. NGINX scales in all directions: from the smallest VPS all the way up to large clusters of servers.

Many famous sites make use of NGINX. For example Netflix, Github, WordPress, etc.

Some people either choose for Apache or for NGINX. These two are the most common used. Both of them are alternative web server softwares which serve web pages in response to browser requests. NGINX is better as in that it's more secure than apache and because NGINX doesn't need to spawn new processes or threads for each request that is being received, which is the case for Apache. Also, it's very ideal for high traffic websites. Also, NGINX is compatible with most platforms, for example WordPress, which is a platform that is used very often.

Ofcourse there's not only advantages about NGINX, but there's also a few downsides to it. It's known that it is very diffult to create modules using NGINX. Apache doesn't have this disadvantage, but Nginx has no function such as the Aparche Portable Runtime. Therefore the creator needs to find the function needed for creating the module within the internal code of Nginx.

When you don't have Nginx installed yet, you can install it by using the command `yum install nginx`. Once installed, you can apply certain actions with the `nginx -s signal` where the signal paramter can be one of the following: `stop`, `quit`, `reload`, `reopen`. Once Nginx is installed, it can be configured in the following configuration file: `/etc/nginx/nginx.conf`.

HAProxy
-------

Expand Down