Micro Service Load Balancer

Been working on building micro services and I understand how scaling is aided through load balancers, the question is how can load balancers themselves be scaled, let's say a billion users for example they can't all go through same load balancer, so where can load balancers be scaled for users to connect to different load balancers per say, is that doable, or is the solution just a bigger load balancer
3 Replies
ErickO
ErickOā€¢3mo ago
You want the short answer? both are possible, since load balancers don't need to do much more than passing along a request you can scale vertically easier than other services but it is possible and in fact, often done, to scale horizontally Now I'm not gonna sit here and pretend I understand how horizontal scaling works in load balancers because it relies heavily on networking knowledge, which means as a dev it's not really your job, that's why people just use premade solutions like AWS elastic load balancer, you're free to learn more about it tho just saying you don't really have to
dysbulic šŸ™
dysbulic šŸ™ā€¢3mo ago
On simple method of horizontal scaling is to have multiple DNS records for a given domain. For example:
āÆ dig google.com
ā‹®
google.com. 140 IN A 74.125.138.102
google.com. 140 IN A 74.125.138.138
google.com. 140 IN A 74.125.138.100
google.com. 140 IN A 74.125.138.113
google.com. 140 IN A 74.125.138.101
google.com. 140 IN A 74.125.138.139
āÆ dig google.com
ā‹®
google.com. 140 IN A 74.125.138.102
google.com. 140 IN A 74.125.138.138
google.com. 140 IN A 74.125.138.100
google.com. 140 IN A 74.125.138.113
google.com. 140 IN A 74.125.138.101
google.com. 140 IN A 74.125.138.139
Electronic
Electronicā€¢3mo ago
Thanks šŸ™šŸ¾ So it's that layer of balancing got it thank you