Google Updates Compute Engine Load Balancing, Adds Backup Pool

Posted on Monday, October 14, 2013 by STUART PARKERSON, Global Sales

Google has updated its Google’s Compute Engine which offers a load balancing service that helps developers support periods of heavy traffic so that they don't overload their instances. With the load balancing service, developers can pick a region with multiple zones and deploy their application on instances within these zones. Then, they can configure a forwarding rule that can spread traffic across all virtual machine instances in all zones within the region. Each forwarding rule can define one entry point to an application using an external IP address.
 
With the need for modern web apps to keep session information, special support is required from the load balancing so that developers keep getting connected to a server that has the necessary context information to help them. With the latest update to Google Compute Engine Load Balancing, developers now can spread the load while tracking sessions using the client IP address. When enabled, this feature ensures that all requests from the same IP (in a session) get forwarded to the same healthy Compute Engine instance.

Google has also introduced backup pool, which can add more redundancy to a load balanced website or application. When the health of the servers in the primary pool drops to some configurable threshold, the servers in the backup pool will take over until the primary pool is healthy again. This feature can also provide more flexibility and convenience especially during patching and upgrading of backend instances.

Developers can only provide one backup pool per primary target pool and the backup pool must be in the same region as the primary target pool. If the ratio of healthy instances in the primary target pool falls below the configured failover ratio, Google Compute Engine uses the following rules to route traffic:

1 - If a primary target pool is declared unhealthy (falls below the failover ratio), traffic will be sent to healthy instances in the backup pool; 2 - If the primary target pool is declared unhealthy, but there are no remaining healthy instances in the backup pool, traffic is sent to the remaining healthy instances in the primary pool; 3- If the primary pool is unhealthy and there are no remaining healthy instances in either pools, traffic will be sent to all instances in the primary pool so as to not drop traffic;  4 - If the primary pool doesn't contain any instances, and none of the instances in the backup pool are healthy, traffic will be sent to all instances in the backup pool so as to not drop any traffic.

At most, only one level of failover is supported. For example, if target pool A has backup pool B and back pool B has a backup pool C, then traffic intended for target pool A can only reach up to backup pool B and not C.
 
Both load balancing and the backup pool are supported via the gcutil command line tool, RESTful API and the Cloud Console.

To learn more, Google has published here an in-depth look at load balancing on Compute Engine that shows how easy it can be to set up for even complex apps. In addition to discussing use case scenarios, this article presents the results of running load tests with a half million requests to illustrate how our load balancing works.

 

More App Developer News

APAC 5G expansion to fuel 347B mobile market by 2030



How AI is causing app litter everywhere



The App Economy Is Thriving



NIKKE 3.5 anniversary update livestream coming soon



New AI tool targets early dementia detection



Jentic launch gives AI agents api access



Experts warn ai-generated health content risks misinterpretation without human oversight



Ludo.ai Unveils API and MCP Beta to Power AI Game Asset Pipelines



AccuWeather Launches ChatGPT Integration for Live Weather Updates



Stop Using Business Jargon: 5 Ways Buzzwords Damage Job Performance



IT spending rises as banks balance legacy and innovation



Tech hiring slumps as Software Developer job postings fall



AI is becoming more widespread in collaboration tools



FCC prohibits new foreign router models citing critical infrastructure risks



ChatGPT Carbon Footprint Matches 1.3 Million Cars Report Finds



Lens Launches MCP Server to Connect AI Coding Assistants with Kubernetes



Accelerating corporate ai investment returns



Enviromates tech startup launches global participation platform



Private Repository Secures the AI-driven Development Boom



UK Fintech Platform Enviromates Connects Projects Brands and Consumers



Env Zero and CloudQuery Announce Merger



How Industrial AI Is Transforming Operations in 2026



AI generated work from managers is damaging trust among employees



Foresight Secures $25M to Bridge Infrastructure Execution Gap



UNESCO AI initiatives driving sustainable development in Africa



Copyright © 2026 by Moonbeam

Address:
1855 S Ingram Mill Rd
STE# 201
Springfield, Mo 65804

Phone: 1-844-277-3386

Fax:417-429-2935

E-Mail: contact@appdevelopermagazine.com