Skip to content

Question: How best do I carry out a health check? #144

@definite-d

Description

@definite-d

Streaq is great; I tried it straight from the comment about it in arq's repo, and it quickly became my default for any Python projects.

However, when paired with an API, of course the worker process has to start (and be ready) first. Using Docker Compose, one can set "dependencies" on other services, requiring that some are started and healthy before the others. That in turn needs a health check, like how PostgreSQL has pg_isready.

So I ask: what do you, the creators of the library, consider the best way to perform this health check in Streaq? I also believe the solution should be properly documented in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions