Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Well, 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.


Debugging 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: