Load Balancing
101–110 of 243 posts
Re: Load Balancing
#102Context: perf-related webdev since 1998.
Re: Load Balancing
#103Anyone knows what technology was used for the animation?
Re: Load Balancing
#104What I don't understand is since it's the same service can't we just run a performance test, determine the ballpark of the needed resources and just have them capped like in k8s? why would some servers be more powerful than others in the first place?
Re: Load Balancing
#105Earlier quoted context omitted.
Nice to see someone mention direct server return or as BigIP called it nPath routing. This was an effective scaling method for handling small request that returned large payloads (audio and video files). I don't know how well known this configure is or whether it is still viable in an all TLS world.
It doesn't seem particularly well known. It works fine with TLS, but the origin servers need to do the TLS termination (IMHO, this is better for security than having your load balancers do it, but it does mean you have to work harder on key distribution). On a non-DSR load balancer, doing TLS termination on the origins means the load balancer has less application data to work with (request path, response status code,…
Put that in front of some HAProxy servers to do TLS termination and farm out requests to another layer of NGINX/uWSGI boxes and Robert is your cousins father.
Re: Load Balancing
#106What I don't understand is since it's the same service can't we just run a performance test, determine the ballpark of the needed resources and just have them capped like in k8s? why would some servers be more powerful than others in the first place?
Some requests may require utilizing different services than others.
Any change to the application at all could upset the delicate balance of its performance. You would need to be doing this sort of profiling on every change, using up to date and accurate production traffic.
It ends up being much easier to put some smarts in your load balancer.
Re: Load Balancing
#107Well written and animated!! Anyone knows what technology was used for the animation?
Re: Load Balancing
#108What I don't understand is since it's the same service can't we just run a performance test, determine the ballpark of the needed resources and just have them capped like in k8s? why would some servers be more powerful than others in the first place?
Re: Load Balancing
#109https://ngrok.com/docs/guides/how-to-round-robin-load-balanc...
Re: Load Balancing
#110the take away was complex load balancing can make problems worse when bad things happen unexpectedly.