Skip to content

[Feature Request] Multiple worker running on different datacenters #247

@aldy505

Description

@aldy505

Is your feature request related to a problem? Please describe.

It would be great if we can have each uptime job to have check reports coming from multiple (or different) datacenters in the world. Therefore if something is inaccessible from a certain country, we can easily trace it.

This is also useful for internal monitoring from a private networks that have multiple VPC (or multiple private network groups), you can find out which network is having issues.

Describe the solution you'd like

This is the current architecture diagram:

Image

It would be great if the worker have some more modes:

  • direct executor, like current implementation
  • relay, exposes API endpoints for other worker to register themself and submits the check reports
  • indirect executor (the leaf of the node), receives API request from relay and executes the healthcheck. reports back to relay through an API endpoint.

This assumes redis is not accessible on the leaf worker nodes, because it's on a different network. Which I believe it shouldn't connect to redis anyway if it's on a different datacenter.

Image

It might be possible for producer to do this, but I don't think it will be scalable.

Describe alternatives you've considered

None.

Additional context

None.

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