Files
client-go/tools/cache
Antonio Ojea c63d830a92 client-go: deltaFIFO trace slow handlers
If the informers handlers are slow processing the objects, the deltaFIFO
blocks the queue and the streamWatchers can not add new elements to the
queue, creating contention and causing different problems, like high
memory usage.
The problem is not easy to identify from a user perspective, typically
you can use pprof to identify a high memory usage on the StreamWatchers
or some handler consuming most of the cpu time, but users should not
have to profile the golang binary in order to know that.

Metrics were disabled on the reflector because of memory leaks, also
monitoring the queue depth can't give a good signal, since it never goes high

However, we can trace slow handlers and inform users about the problem.

Kubernetes-commit: d38c2df2c4b945bcf1f81714fc6bfd01bbd0f538
2021-07-26 16:00:31 +02:00
..
2016-10-21 04:44:19 +00:00
2020-01-06 01:49:29 -05:00
2020-04-17 15:25:06 -04:00
2020-01-27 18:19:44 -08:00
2019-01-30 15:27:39 +11:00
2021-04-07 10:38:27 -04:00