Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Comparison of Nginx and Nginx +     - MySQL Basic tutorial: About varchar (N) (Database)

- Safe learning through self-extracting package to achieve invasion (Linux)

- CentOS 7.0 Experience with previous versions (Linux)

- CentOS 6.5 installation using a data recovery software extundelete (Linux)

- Deb package installation method under ubuntu (Linux)

- Ubuntu 14.04 LTS next upgrade gcc to gcc-4.9, gcc-5 version (Linux)

- Learning MySQL data types (Database)

- Linux System Getting Started Learning: Disable Ubuntu Apport internal error reporting procedures (Linux)

- CentOS-based Kickstart automated installation practice (Linux)

- SQL Server 2008 database synchronization Notes (Database)

- Java class loading order (Programming)

- OpenSSL Introduction and compilation steps on Windows, Linux, Mac systems (Linux)

- Oracle row and column switch to turn columns (Database)

- Nginx start, stop, smooth start, smooth upgrade (Server)

- Tecplot Installation under Linux (Linux)

- ethtool command Detailed (Linux)

- Use LVM partition on Ubuntu and easily adjust the snapshot (Linux)

- SecureCRT connect virtual machine Linux system (Ubuntu) (Linux)

- CentOS 6.5 platform offline compile and install PHP5.6.6 (Server)

- The signature can not be verified under Debian (Linux)

 
         
  Comparison of Nginx and Nginx +
     
  Add Date : 2018-11-21      
         
         
         
  One, Nginx + Introduction

Nginx Nginx + and are Nginx official product, the difference between the two is that Nginx is open source community version, is Nginx Nginx + fees for enterprise edition.

Nginx + fees are as follows: For single-instance deployments, the annual fee of $ 19; and for multi-instance deployments, you need to contact Nginx official offer to negotiate.

Nginx + also offers a 30-day free trial, still need to pay after the expiration.

Nginx + only in binary releases provided the source is not available.

Nginx Nginx + in the open source community edition, based on the increased enterprise-class features, such as:

Full-featured HTTP and TCP load balancing
High-performance reverse proxy
Cache and uninstall static content and dynamic content
Godfather adaptive streaming audio and video content to any device
The application of sensitive health screening and high availability
Advanced Activity Monitor provides a dashboard or API methods
Advanced monitoring and management, to provide developer-friendly tools to manage change and real-time
Session Persistence
consultation service
Two, Nginx Nginx and comparison of +

Nginx Community Nginx + has some version does not have the characteristics, including:

1, advanced HTTP and TCP load balancing

In terms of load balancing algorithm, Nginx + Added "minimum time" (Least Time) load balancing algorithms. "Minimum time" algorithm that is being distributed to the request has the fastest response time and minimum activity connected server node.

2, session persistence

HTTP is a stateless protocol, it is usually a lot of applications in the status of local storage terminals, and the state can not share in the load balancing environment. Because the realization between the server node status of the client sharing means very slow to achieve too much, so the most common practice is to the same terminal load balancing to a single node, then there is no need to share and synchronize their status across nodes the information.

Nginx + can track the user's session will be distributed to end-user requests the correct upstream server nodes. Nginx + provides three methods to identify the user's session:

Insert the tracking information to the requesting data
Using sticky cookie command:

upstream backend {
    server webserver1;
    server webserver2;

    sticky cookie srv_id expires = 1h domain = .example.com path = /;
}
In the request for a test session
Using sticky learn command:

upstream backend {
   server webserver1;
   server webserver2;

   sticky learn create = $ upstream_cookie_sessionid
       lookup = $ cookie_sessionid
       zone = client_sessions: 1m
       timeout = 1h;
}
Tracking request specific data
Using sticky route command:

upstream backend {
   server webserver1 route = a;
   server webserver2 route = b;

   # $ Var1 and $ var2 are run-time variables, calculated for each request
   sticky route $ var1 $ var2;
}
     
         
         
         
  More:      
 
- Linux file permissions to modify the command: chmod (Linux)
- TPCC-MySQL Benchmark (Database)
- CentOS 6.6 install Oracle 11gR2 database (Database)
- CKEditor + SWFUpload achieve a more powerful editor (Linux)
- 10 practical Java programming technology (Programming)
- Automatic batch resolve dependencies problem locally installed rpm package (Linux)
- Windows Desktop use VNC remote connect Linux (Linux)
- Summary Linux operating system some tips to prevent attacks (Linux)
- Shell Script: create a function and specify a directory for download (Programming)
- Linux 4.0+ kernel support for hardware switching module (HW Switch Offload) (Linux)
- Enterprise Hadoop cluster architecture - NFS installation (Server)
- Yii2 Advanced Version Copy New Project Problem Solved (Programming)
- NAT (network address translation) Realization (Linux)
- Java precision four operations (Programming)
- MySQL / MariaDB database master-slave replication (Database)
- ogg start being given libnnz11.so: can not open shared object file (Database)
- ORA-04031 error appears in the solution 11.2.0.4 run utlrp.sql (Database)
- Apple Mac computer to install Windows 10 Concise Guide (Linux)
- Android Studio commonly used shortcuts and how to follow the Eclipse Shortcuts (Linux)
- Nginx reverse proxy and self-signed https (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.