Home > Operation and Maintenance > Nginx > The difference between Alibaba slb and nginx

The difference between Alibaba slb and nginx

(*-*)浩
Release: 2019-07-19 13:24:57
Original
20405 people have browsed it

SLB (Server Load Balancer) load balancing is a network load balancing service designed for the Alibaba Cloud elastic computing platform. SLB fully considers the usage characteristics of elastic computing platform cloud servers and specific business scenarios in system architecture, system security and performance, expansion, and compatibility design.

The difference between Alibaba slb and nginx

SLB is a load balancing service that distributes traffic to multiple cloud servers. It can expand the external service capabilities of the application system through traffic distribution and improve the performance of the application system by eliminating single points of failure. Availability.

Load balancing virtualizes the added ECS instance into a high-performance, high-availability application service pool by setting the virtual service address, and distributes requests from the client to the ECS in the cloud server pool according to the forwarding rules. Example.

Load balancing checks the health status of ECS instances in the cloud server pool by default and automatically isolates abnormal ECS instances, eliminating the single point of failure of a single ECS instance and improving the overall service capabilities of the application. In addition, load balancing also has the ability to resist DDoS attacks, enhancing the protection capabilities of application services.

Load balancing consists of the following three parts:

Load balancing instance (Server Load Balancer instances)

A load balancing instance is a running A load balancing service that receives traffic and distributes it to backend servers. To use the load balancing service, you must create a load balancing instance and add at least one listener and two ECS instances.

Listeners

Listeners are used to check client requests and forward the requests to the back-end server. The listener also performs health checks on the backend servers.

Backend Servers

A group of ECS instances that receive front-end requests. You can add ECS instances to the server pool individually, or add and manage them in batches through virtual server groups or active and backup server groups.

High availability

Adopts a fully redundant design, no single point, and supports intra-city disaster recovery. Combined with DNS, cross-regional disaster recovery can be achieved, with availability as high as 99.95%.

Elastic expansion based on application load, without interrupting external services even if traffic fluctuates.

Scalable

You can increase or decrease the number of back-end servers at any time according to business needs to expand the service capabilities of the application.

Low cost

Compared with the high investment of traditional hardware load balancing systems, the cost can be reduced by 60%.

Security

Combined with Cloud Shield, it can provide 5Gbps anti-DDOS attack capability.

In fact, using nginx to do load balancing is thankless, the operation and maintenance cost is high, and it is very unstable. Compared with directly purchasing Alibaba Cloud Load Balancing SLB, it has high stability, high disaster tolerance, multiple protocol support, and Low operation and maintenance costs.

For more Nginx related technical articles, please visit the Nginx Usage Tutorial column to learn!

The above is the detailed content of The difference between Alibaba slb and nginx. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template