Skip to content

Understanding the fundamental knowledge of load balancer. How it operates?

License

Notifications You must be signed in to change notification settings

hyunbin7303/GoLoadBalancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLoadBalancer

Understanding the fundamental knowledge of load balancer. Layer 7 Load balancer for now(HTTP Levels), but I would like to make it works for the Layer 4, which is TCP/IP layer.

Load balancer setup

  • Load balancer configuration setup requirements.

Health check

Network Load Balancers use active and passive health checks to determine whether a target is available to handle requests. By default, each load balancer node routes requests only to the healthy targets in its Availability Zone. If you enable cross-zone load balancing, each load balancer node routes requests to the healthy targets in all enabled Availability Zones.

Health check status are: Initial, Healthy, Unhealthy, Draining, Unhealthy.draining, unavailable.

Algorithms

Round Robin

  • Distribute incoming client requests across multiple servers in a sequential, cyclical manner.Each incoming request is forwarded to the next server, and it loops back to the first server when it hits the end of the server list.

Weighted Round Robin(In Progress)

  • TBD

Reference

About

Understanding the fundamental knowledge of load balancer. How it operates?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages