Page MenuHomePhabricator

a few appservers at a time suffer mcrouter backlogs, leading to high latency
Closed, ResolvedPublic

Description

@Joe and @RLazarus have been investigating this.

Evidence of the correlation between latency and mcrouter backlogs https://w.wiki/DeT

Said appservers seem to saturate on CPU (consumption flattops at about 85%).

I tried decreasing the weight of a few as they were in the flattop state, and it did not seem to have any immediate effect.

Event Timeline

We've changed the niceness of mcrouter to be on par with the niceness of php-fpm; since then, we didn't see such huge lags anymore. Marking this as resolved.