cachecashproject / go-cachecash

Apache License 2.0
6 stars 4 forks source link

Cache causes spikes in CPU usage #13

Open bsenel opened 3 years ago

bsenel commented 3 years ago

When a client makes a cachecash-curl request toward a publisher, spikes in CPU usage occur at a node that runs a cache in use. The gRPC service of ClientCache has outliners at handling time, especially in the 99th and 90th percentile of requests. It is OK at the 50th and 25th percentile of requests. However, in the case of concurrent cachecash-curl requests made toward a publisher, e.g., 200 clients at once, the gRPC handling time reaches 10 seconds.