Routing and Load Balancing Using HAProxy

As the microservice buzzword catches up, I believe sooner or later you might think of trying microservices. In this blog post, I shall cover some of the common problems related to routing and load balancing and how to get around them using HAProxy.


Quadtree Simplified

Imagine a case where you have 10000 random points in a two-dimensional space, and you need to write a program that detects points in a given rectangular area.


Let’s visualize this for a better understanding of the problem.