Ask HN: How do you detect oddly performing machines in a large cluster?
Hi HN,
I have a problem where random nodes in a large cluster perform pretty far out of spec. What's the correct way to find them? There's a huge diversity of workloads, and the boxes are large so I was considering doing something really trivial that eats up some consistent % of CPU then graphing machines that are some n of SD out of normal (calculating fibbonacci to some low-ish number, for instance).
Is there any really good, clean way to do this that solves the problem in an elegant way?
5 comments
[ 3.4 ms ] story [ 27.9 ms ] threadOur workloads are dynamic enough that a box using 20% or 80% are both within range of normal, with some single threaded workloads so per-core stats are also not great.
I'm also not looking to fix anything, just have the ability to say, with a high degree of confidence, "hey, our system detected this box looks funky, can you just pull it out and replace it?"
I don't think it helps at a server level, but it does provide me some ideas, especially looking at some of the algorithms they're using.
My problems are mostly CPU related, whereas this paper seems to focus on Memory. I still can definitely get something useful from here. :)