7 ms·
> I do not really understand what it does It's basically: query the database for the list of nodes, then tell the LB which of those nodes you want to send traf
by viraptor 6y ago
> I do not really understand what it does
It's basically: query the database for the list of nodes, then tell the LB which of those nodes you want to send traffic to. Something you come up with in 5min if you ever need it.
- BrandoElFollito 6y agoWell, yes, that I more or less understood - but why? The LB does this already, it is its role to know what to send where under which conditions.
- viraptor 6y agoDebugging I guess? If you have more logic in your LB/routing, you may want to process all of it as usual, but skip the random selection part and talk to a specific server for a single request. Or it could be used for pull-style monitoring over the same LB as traffic (GET /stats/i-0001234). Or some weird cluster selection... like HP uses numbers in the domain, for example www8.hp.com