Is there a way to monitor the status of a puma server? most specifically, how many busy workers it has and how many threads each worker provisioned. best would be something similar to apache's mod_status
Is there a way to monitor the status of a puma server? most specifically, how many busy workers it has and how many threads each worker provisioned. best would be something similar to apache's mod_status
Maybe
in another terminal
Results in:
But that looks static :(
Starting your app via puma like this:
allows you later to query per your webbrowser:
Resulting in:
Which looks more dynamic...
Edit_0:
As workers are processes, one could also leverage tools provided by the operating system to gather information, e.g. on Linux:
Starting a puma instance:
Using top to investigate workers:
gives us
from which one can parse out relevant information like CPU or RAM utilization.