unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Sam Saffron <sam.saffron@gmail.com>
To: unicorn-public <unicorn-public@bogomips.org>
Subject: Master wait time metric
Date: Tue, 1 Nov 2016 10:08:49 +1100	[thread overview]
Message-ID: <CAAtdryN4dbaLPZJrgdrDVkdJQXeOpmeOhpC+_u3ZpqpQcQiqJQ@mail.gmail.com> (raw)

Hi Eric / everyone :)

I would like to start graphing how long our master process spends
waiting for worker processes to be available.

This metric will allow us to quickly tell if a unicorn is being
overloaded and allow us to quickly remediate.

Once a minute I want to ask the master process how long it spent
waiting for child processes to become available.

How would I go about getting that metric?


             reply	other threads:[~2016-10-31 23:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 23:08 Sam Saffron [this message]
2016-10-31 23:36 ` Master wait time metric Eric Wong
2016-11-01  8:21   ` Sam Saffron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAtdryN4dbaLPZJrgdrDVkdJQXeOpmeOhpC+_u3ZpqpQcQiqJQ@mail.gmail.com \
    --to=sam.saffron@gmail.com \
    --cc=unicorn-public@bogomips.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).