Implementing Consistent Hashing in a Dynamic Microservices Architecture
I am developing a microservice architecture and had to design a custom load balancer to resolve issues with a general one; however, I encountered a problem with hashing functions that allowed distributing loads effectively among the services. To be precise, all the services I’m running are unique instances that could as well be copy instances capable of scaling up or down depending on the traffic load.