DEV Community

Discussion on: Scaling React Server-Side Rendering

Collapse
 
arkwright profile image
Robert Arkwright

Thanks! Glad you enjoyed the drawings! It takes a lot longer to illustrate, but it's just so much more fun.

I'm not a Consul expert (Consul is the service discovery tool we were using), but I'm not aware of any facility that it provides to track instance queue lengths. Fabio (the load balancer we used) has great Consul integration, but also does not provide this capability. It could certainly be done, though. Tyler McMullen's awesome talk, "Load Balancing Is Impossible", discusses this approach briefly, in case you're interested in diving deeper (25:31): infoq.com/presentations/load-balan...

Collapse
 
bgadrian profile image
Adrian B.G.

I noticed the load balancer video, it increased my knowledge of load balancing with 99.9%.

I didn't considered the problem if you have multiple dispatchers, indeed is worst than random :).