Benjamin Mahler created MESOS-9237:
--------------------------------------

             Summary: Add http handler metrics in libprocess.
                 Key: MESOS-9237
                 URL: https://issues.apache.org/jira/browse/MESOS-9237
             Project: Mesos
          Issue Type: Improvement
          Components: libprocess, metrics
            Reporter: Benjamin Mahler


In a similar spirit to MESOS-9235, we can introduce per-route http metrics in 
libprocess to get a better sense of how long responses take to complete:

* The biggest window of time that we can measure is: time from parsing a 
request, to finishing {{send()}}ing all of the data for its response.
* An interesting subset of this time is how long it took from executing the 
handler to the response future being ready.
* Other interesting subsets of the overall time is how long it took us before 
we could execute the handler (e.g. routing delay, actor queueing delay), and 
how long it took us to send it to the os (e.g. I/O saturation, backpressure 
from a slow client, etc).

These metrics would ideally have histogram like distributions (e.g. percentiles 
over a window).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to