Overview
ngrok’s Global Load Balancer improves the performance and resiliency of your applications by distributing traffic to the nearest healthy point of presence, measured by latency, from the perspective of the connecting client. Every application you deliver with ngrok is automatically accelerated with our always-on, zero-configuration global load balancer. Global lobal balancing is sometimes called ‘Global Server Load Balancing’ or GSLB. Conceptually, a GSLB is simple. A GSLB accelerates traffic by adjusting DNS resolution so that when clients connect to your endpoints on the internet, they connect to the nearest point of presence (PoP). A GSLB adds resiliency by adjusting that same DNS resolution process to steer traffic away from failing PoPs.vs. Traditional GSLBs
ngrok operates differently from a traditional GSLB to give you some important benefits.- In a traditional GSLB deployment, you are responsible for running geographically redundant copies of your application and configuring networking technologies to distribute and failover traffic among these deployments. By contrast, ngrok runs a global delivery network of PoPs for you. This means that even if you only deploy your upstream service to a single geography, your apps still get faster from Connection Acceleration and Module Acceleration.
- Unlike a traditional GSLB deployment, when you deploy your application services to a new geographic location, ngrok automatically routes nearby traffic to those services without any configuration. Traditional GSLB deployments require many network configuration updates to bring these new locations online like IP provisioning and DNS record changes. With ngrok, there is zero configuration, just start your new application services with their ngrok agents and you’re done.
- Unlike a traditional reverse proxy, ngrok forwards traffic to your upstream services over secure connections established by the ngrok agent, Agent SDKs or Kubernetes Controller. So which PoPs do those agents connect to? ngrok also applies GSLB principles to those connections as well to ensure that your agents connect to the geographically closest PoPs.
Endpoints
ngrok’s GSLB improves the performance and resiliency of connections to your ngrok endpoints (e.g.https://your-app.ngrok.app
).