Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Audit device list updates #4115

@erikjohnston

Description

@erikjohnston

We're spending quite a bit of CPU and DB time handling device list updates (both local and remote). We should look at whether things are working as expected or if there are some optimisations we can make.

  • Ensure that we're only sending out device list updates over federation when necessary (e.g. jki.re sends to be sending device list updates even when I've not created devices)
  • _prune_old_outbound_device_pokes takes a lot of CPU and DB time
  • Consider not ignoring devices that don't have encryption keys
  • There are a few device lists tables that are huge, do we need to be inserting so much data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PerformancePerformance, both client-facing and admin-facing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions