cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8341) Expose time spent in each thread pool
Date Wed, 19 Nov 2014 17:06:34 GMT


Robert Stupp commented on CASSANDRA-8341:

FWIW it's not necessary to add another {{ThreadLocal}} to trace work-unit start time. Wrapping
the {{Runnable}} using a static class containing the start-time feels cheaper.
Adding to metrics code before or after work-unit execution "transparently" extends work-unit
execution latency, which isn't measured.
(Note that System.nanoTime() [may introduce latency|]).

> Expose time spent in each thread pool
> -------------------------------------
>                 Key: CASSANDRA-8341
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Chris Lohfink
>            Priority: Minor
>              Labels: metrics
>         Attachments: 8341.patch
> Can increment a counter with time spent in each queue.  This can provide context on how
much time is spent percentage wise in each stage.  Additionally can be used with littles law
in future if ever want to try to tune the size of the pools.

This message was sent by Atlassian JIRA

View raw message