Skip to content

v2.0.0-Release <- Read this for performance problems #4500

Closed
@CommanderStorm

Description

This was originally a PR here, but has been transformed into an issue due to being pin-able

what has been done?

We are hard at work improving Uptime Kuma.
If you want to have a look at the full set of features for v2.0, have a look here.

Most notably this includes (a full migration guide will be made before the release, dont worry):

Tip

If you are affected by the performance problems of v1, you need to reduce the amount of data you store.
The core problem is that Uptime Kuma in v1 has to do a table scan of the entire heartbeat table for some operations.

The solution boils down to having a lower amount of data => making Uptime Kuma less worried about reading those gigabytes of data.:

  • reduce the retention and execute a manual cleanup via the VACUUM button under /settings/monitor-history
  • Increase the time between checks
  • pause or reduce the amount of monitors
  • delete the specific history of less essential monitors (to "lower" their retention below the configured maximum)

what is needed to get 2.0.0-beta.0 released

Note

We hope 2.0.0-beta.0 can be released in spring 2024, which doesn't include the e2e tests yet. During the beta test, we will try to work on implementing the e2e tests.

Tip

How can I get involved?

While most of the bugs noted below require reading some code
=> gaining some context about how the aggregated tables work, some work do not and are such better starting points:

  • writing a synthetic benchmark which spawns some monitors and looks how the server handles it
  • helping in writing e2e tests using playwright

Metadata

Assignees

No one assigned

    Labels

    area:coreissues describing changes to the core of uptime kumadiscussionreleaseblockerblocking bugs encountered with a new release

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions