Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

why not traditional load balancers for microservices

Anjali Sharma answered on January 6, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • When to Use Network Load Balancer
  • why not traditional load balancers for service discovery and registration
  • Problem: Manage Consistency Across Microservices in Distributed Transactions
  • Difference between API Gateway and Load Balancer in Microservices?

  • why not traditional load balancers for microservices

    0

    Microservices and service-oriented architectures require a change in your load-balancing strategy. 

    A more modern approach is to use a service registry, a tool-like Consul. Now, as new instances boot, they get automatically registered inside of this catalog—the central registry—that knows, what are all the services, where are they running, what's their current status? And then we drive our load-balancing against this registry.

    Applications can either natively query the registry using something like DNS and discover and connect to their upstreams without going through a load balancer. Or we use the registry to automatically populate and drive the configuration of the load balancers. So as soon as a new instance boots it gets put into the registry, then that registry is basically repopulating and reconfiguring our load balancer to instantly send traffic to it.

    The Application Load Balancer operates at Layer 7 of the OSI model, the network load balancer distributes traffic based on Layer 4. However, the classic load balancer works at both Layer 4 and 7.The Classic Load Balancer is a connection-based balancer where requests are forwarded by the load balancer without “looking into” any of these requests. They just get forwarded to the backend section.

    Popularity 1/10 Helpfulness 1/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 06 2023
    Anjali Sharma
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.