Skip to content

hospital-wsgi collects results previously computed by daemon process #83

@benoitbryon

Description

@benoitbryon

At the moment, hospital-wsgi performs checks on demand. Checks take some time to execute.
Could be:

  • checks are executer by another process (a daemon? cronjob? periodic task?)
  • this "other process" writes results somewhere, typically to a file
  • hospital-wsgi reads the results. Perhaps could be done with "python -m SimpleHTTPServer" too ;)

In this use case, clients do care of:

  • "healthchecks" web service response is fast
  • "healthchecks" status is timestamped, i.e. we can tell "status was OK less 5 seconds ago" or "status was KO less than one minute ago".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions