loadbalancer: HTTP реверс-прокси балансировщик нагрузки на Go для обучения

DEV · 18.11.2026 · 22:55

loadbalancer — это проект для изучения вопросов, связанных с балансировкой нагрузки, таких как выбор бэкенда и управление их состоянием.

Читать в источнике

Оригинал

loadbalancer: an HTTP reverse-proxy load balancer in Go, built to learn

A load balancer is easy to describe: requests come in, and you send each one to one of several backends. The interesting questions start right after that sentence. Which backend? How do you know one of them is dead? What do you do with a request that was already sent to a dead one? And how do you change the list of backends without dropping the traffic that is flowing right now? loadbalancer is my learning project for those questions. It is an HTTP reverse-proxy load balancer in Go, using only