NGINX Full Version

借助 NS1 和 NGINX Plus 实现全局服务器负载均衡

Global server load balancing (GSLB) is the practice of balancing load (connections or requests) across two or more distinct data centers or points of presence (PoPs). It is used to achieve several goals:

GSLB is generally implemented by managing the DNS resolution process; when a client makes a DNS lookup, it is given one or more IP addresses chosen by the GSLB process. The GSLB process is informed by health monitors (which determine which data centers have running services), load information, and proximity, which can be judged most easily using GeoIP location.

NS1 offers one of the most advanced GSLB solutions available as a service, with a rich API that allows PoPs to dynamically inform the NS1 servers about their availability and current loads. NGINX provides an integration agent so that NGINX Plus can provide load and availability data about itself, and the applications it is proxying, to the NS1 GSLB service. This agent runs alongside each NGINX Plus instance, monitoring its local load and the availability of backend services, and pushing metrics in real time to the NS1 API.

The agent supports the following capabilities:

The solution functions alongside other NS1 capabilities, such as geo‑proximal routing to direct each client to its closest PoP.

For complete instructions on deploying NS1 and the NGINX NS1 agent, check out our deployment guide Global Server Load Balancing with NS1 and NGINX Plus.