What is Load Balancing? Guide to Optimizing Website Traffic with VergeCloud

Load Balancing

Overview

VergeCloud’s Load Balancer enables intelligent distribution of incoming traffic across multiple origin servers, ensuring high availability, stable performance, and fast response times for users around the world. It acts as an advanced traffic management layer in front of your servers, preventing any single server from becoming overloaded and ensuring that each request is served efficiently.

The system evaluates multiple factors—server health, geographic proximity, and load distribution rules—to determine the best destination for every request. VergeCloud enhances this setup with two key capabilities: Active Health Check and Geo-Steering.

Active Health Check continuously monitors server responsiveness in real time. If a server becomes slow or unresponsive, it is automatically removed from rotation until it recovers, preventing outages and improving reliability for applications that require continuous uptime, such as OTT platforms, e-commerce sites, gaming backends, and SaaS services.

Geo-Steering directs users to the nearest healthy server pool based on their geographic location, reducing latency and significantly improving the user experience for global audiences. Together, these features ensure fast content delivery, optimal resource utilization, and consistent performance even during peak traffic or regional load spikes.

Glossary

  1. Pool: A group of origin servers that work together to handle traffic for a domain or subdomain.
  2. Monitoring: The automated process of checking server health at regular intervals to ensure availability.
  3. Traffic Routing: The logic used by the load balancer to determine where incoming requests should be sent.
  4. Active Health Check: A real-time mechanism that tests server responsiveness and automatically removes unhealthy servers from traffic distribution.
  5. Geo-Steering: A method that directs users to the nearest or most appropriate server pool based on their geographic location.

Real Usage Scenarios

A global e-commerce website can send European traffic to an EU pool, US users to a US pool, and Asian traffic to a pool located nearby. This ensures faster page loads and reduces cart abandonment. An OTT or streaming platform can benefit even more severely during peak hours or live events, where heavy requests must be handled efficiently. With VergeCloud’s load balancing, streaming content can be served from multiple origin servers, while unhealthy nodes are automatically isolated without impacting viewers. Similarly, SaaS platforms can maintain service continuity during version upgrades or server maintenance by rerouting users seamlessly to alternate pools.

Step-by-Step Feature and Field Descriptions

Load Balancing Management (Step 1)

The first step in configuring load balancing begins under the Traffic menu of your VergeCloud dashboard. After navigating to the Load Balancing section and selecting Create, you can configure settings such as the load balancer name, description, and operating mode. VergeCloud supports two main methods. The Active-Active method distributes traffic among all healthy pools according to the assigned geolocations. The Active-Passive method prioritizes the primary pool, directing traffic there unless the pool becomes unhealthy, in which case traffic automatically shifts to the next available pool.

 

Pool Management (Step 2)

After establishing a load balancer, you must create one or more pools. A pool consists of multiple origin server IPs or hostnames. In the pool configuration, you can provide a name, description, and choose the load distribution method. VergeCloud supports two primary balancing methods. Round-Robin distributes requests in sequence, giving each server an equal opportunity to handle traffic based on their weight. Client IP Hash ensures that users are consistently routed to the same server based on their IP address, which is especially valuable for session-based workloads like gaming, authentication services, or logged-in user experiences.

If enabled, the Origin Server Health Check feature ensures that VergeCloud regularly tests each server in the pool. If any server begins to fail these checks, the system prevents it from receiving traffic until it recovers, ensuring uninterrupted service for users.

 

Traffic Routing (Step 3)

In this step, you assign geolocations to each pool so specific regions are directed to designated servers. For example, users in India can be routed to Pool A while users in Europe are connected to Pool B. If no pool is assigned for a region, the load balancer defaults to the primary pool. Geo-Steering significantly decreases latency by ensuring that users connect to the closest server geographically.

Monitoring and Active Health Check (Step 4)

Monitoring is the final step and one of the most critical. By selecting Edit Monitoring, you can fine-tune the behavior of Active Health Check. VergeCloud enables you to configure the protocol, path, HTTP method, expected response codes, and monitoring nodes’ regions. Monitoring results categorize your pools into healthy, warning, or unhealthy states. If monitoring is disabled, VergeCloud sends no health check requests to your origin servers. In Non-Critical mode, server health is checked and email notifications are sent for unhealthy servers but traffic routing is unaffected. In Critical mode, unhealthy servers are automatically removed from distribution after notifications are issued.

It is necessary to whitelist VergeCloud edge IPs within your firewall to ensure uninterrupted health check communication.

How to Add, Edit, or Use the Feature

You can configure load balancing by following the sequence outlined: create a load balancer, configure pools, assign geographic routing, and set up monitoring. All changes can be made directly through the VergeCloud dashboard.

Testing and Validation

To test DNS resolution, you can run the following dig command:
dig +short loadbalancer.yourdomain.com

To check server responsiveness, use curl:
curl -I http://origin-server.yourdomain.com

Both methods help validate whether load balancing and health checks are functioning correctly.

    • Related Articles

    • DNS Load Balancing

      The VergeCloud DNS Load Balancer allows you to distribute incoming traffic for your domain or subdomains across multiple servers. This distribution can be configured based on the weight of each server, type of response, or the geographic location of ...
    • Using Layer 4 Network on VergeCloud

      Overview The VergeCloud Layer 4 Proxy enhances security and performance for applications using TCP protocol. It is ideal for non-HTTP traffic such as email, FTP, SSH, VoIP, or gaming. By proxying connections through VergeCloud’s edge, your origin ...
    • API Keys

      Overview The API Keys section allows you to centrally create, manage, and secure programmatic access to VergeCloud services. From here, you can generate new keys, define their access scopes and roles, and revoke or review existing keys as needed. ...
    • DNS Setup

      Overview When you change your domain’s Nameservers (NS) to VergeCloud, your domain becomes active on VergeCloud DNS. From this point forward, all DNS records must be added and managed through the VergeCloud dashboard to ensure your domain and ...
    • Boost Web Pages

      Overview Web Boost improves the loading speed and overall performance of your website by optimizing static assets, images, and code delivery. Faster pages lead to better SEO rankings, lower bounce rates, improved user engagement, and higher ...