Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 355 Bytes

optimizations.md

File metadata and controls

10 lines (7 loc) · 355 Bytes

Use the current balancer as the endpoint

  • If the picked endpoint is a balancer, use the current selected balancer.
  • For that, we need to send balancer when picking up the endpoint hash
  • then if the endpoint is equal to current endpoint, simply return false

Use CPU based balancing

  • synchronize CPU usage accross instances
  • balance accordingly