Great challenge. Load balancer is quite a complex topic and you were able to break it down to such clear steps.

Anyone wishes to learn more about load balancers in a practical way, that is a challenge for you!

Expand full comment
Aug 27·edited Aug 27Liked by John Crickett

I've just finished implementing all three parts with the help of http4s, cats-effect IO and cats.effect.Ref (concurrent mutable reference).

I also considered using actor model which is great for encapsulating mutable state in a thread safe manner.

Those of you who are interested may check: https://github.com/Ghurtchu/lb.

Thank you John, this challenge was the most interesting so far, can't wait to move forward and complete others!

Expand full comment