Re:Ways to shoot yourself in the foot with Redis
by GauntletWizard on Saturday July 29, 2023 @04:30PM
(#36924232)
I would guess your problem is probably scheduler based. The default(ish) Linux scheduler operates in 100ms increments, the first use of a client takes 3-4 round-trips. TCP opens, block, request is sent, the client blocks on write, the client attempts to read and blocks on read. If CPU usage is high momentarily, each of these yields to another process and your client isn't scheduled for another 100ms
[ Parent
| on HN ]
Re:Ways to shoot yourself in the foot with Redis
by jontonsoup on Saturday July 29, 2023 @05:47PM
(#36925016)
Hmm. We have super low CPU utilization- something like 9%. This is also across 10+ different clusters.
Re:Ways to shoot yourself in the foot with Redis
by jontonsoup on Saturday July 29, 2023 @06:05PM
(#36925182)
We also pool our clients heavily. Maybe we could reduce the new connections to zero to test.