3 ms·
> Right now I am trying to figure out the best way to do service discovery and load balancing. Or you could just kubernetes, which does them (mostly) right, ri
by zeveb 11y ago
> Right now I am trying to figure out the best way to do service discovery and load balancing.
Or you could just kubernetes, which does them (mostly) right, right out of the box…
The way it works is that services are exposed as hostnames and environment variables; connexions to those hosts on certain ports are load-balanced to the actual backing services, transparently. It's really nice, and very Twelve-Factor-like.