codership/glb

What is high latency according to watchdog?

Opened this issue · 2 comments

I assume watchdog decides when a server is slow and take it out of the pool if latency is high, but what is considered high latency? A second, more?

Any thoughts on this?

Do I need to set the --latency flag to check latency or is there a default value and does the check happen anyway when not set?

It depends on the watchdog script you use. The mysql.sh script under the files/ directory only checks node states, it does not care about the latency.

So how would I test the latency then?