6 ms·
I can't tell whether I'm missing something: how would IPv6 obsolete their work?
by AlexSW 5y ago
I can't tell whether I'm missing something: how would IPv6 obsolete their work?
- bullen 5y agoThe only "real" reason you need a loadbalancer is that you want to save IP addresses. If all your machines have their own unique public address you can loadbalance with your own software by pointing people directly to different machines.
- racingmars 5y ago> The only "real" reason you need a loadbalancer is that you want to save IP addresses. What?! Load balancers tend to be in place for availability and scalability reasons, not to save IP addresses. Sure, there are many use cases where you might not need to have public IPs on the backends a load balancer is sending traffic to, but to say that's the only "real" reason for a load balancer seems to be missing the point.
- purerandomness 5y agoA load balancer is, for example, used to distribute traffic to multiple worker nodes to scale horizontally. It can also be used for canary deployments where you roll out a feature to 1% of your user base. There are several other use cases. I'm pretty sure 'saving IP addresses' is not a use case you'd use a load balancer for.
- zbentley 5y ago> The only "real" reason you need a loadbalancer is that you want to save IP addresses. NAT. You're thinking of NAT.
- nijave 5y agoEven with scarce IPv4 you could currently do that just running backends on different ports It's common to do internal services that way but you can't control how or who or the internet might try to connect to your service so the load balancer offers a layer of protection so servers can't be picked off individually. They can also offer an abstraction/routing layer so you can do things like canaries and controlled rollouts which would be much more difficult just advertising IPs directly to the client.
- bullen 5y agoI'm going to reply to all of you here: You cannot use different ports from the client, it has to be 80 for HTTP, I meant; do you own loadbalancing from the client! So f.ex. the browser would load parts of the site from another server via javascript or redirect to another dns with another IPv6 address. To have a bottleneck between all your clients and all your servers is not good architecture.
- toast0 5y ago> To have a bottleneck between all your clients and all your servers is not good architecture. Maybe not, but everyone else is doing it. If your clients are web browsers, it's hard to convince them to do useful things like notice servers have changed; much easier to focus their attention on a handful of load balancers on static IPs and figure it out from there.