avito-tech / bioyino

High performance and high-precision multithreaded StatsD server
The Unlicense
228 stars 22 forks source link

inner slow-w-len metric #69

Open Karsonito opened 1 year ago

Karsonito commented 1 year ago

Hello! Please explain what inner slow-w-len metric means? Periodically I get 1 as value. Which settings should be tuned if something wrong?

Albibek commented 1 year ago

This metric shows the queue length for tasks performed at slow threads. As slow threads can be of heavy calculations, 1 is most probably not the issue you should worry about. If it goes too high, you may try increasing the number of worker threads (w-threads). There is also task-queue-size parameter, but it's default value 1024, setting it to a higher one will most probably give you nothing than increased memory consumption.

Karsonito commented 1 year ago

Thanks for explaining!