Skip to content

Monitoring the number of idle/busy workers? #3432

@slava-pasedko

Description

@slava-pasedko

We've got a big Django monolith that is deployed across 4 big vm's with each having 40+ workers running sync gunicorn.

We have a lot of integrations with different internal systems through HTTP.
We all know that sync worker is blocked until the integration's done. Sometimes our application's performance degrades because of slow responses from internal system.

I would like to know, is there any way to monitor the number of idle/busy workers in a moment? This kind of metric would indicate that we lack workers at the moment of related system's performance degradation.

If it is not available - please could you guide me how could I implement it? Is it possible to implement using gunicorn hooks f.e.?
Best regards, thank you for this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions