matrix-org / matrix-org/rust-synapse-compress-state

Prioritizing larger rooms

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
173
Forks
37
PR merge metrics
No merged PRs in 30d

Description

The synapse_auto_compressor is already a huge improvement, but it would be nice to be able to prioritize handling the largest rooms first, as from my experience those are usually the rooms with the biggest compression gains.

After processing the (x largest) rooms once in that order, the tool can be set up automatically in the current fashion, just looking at newer groups (as I understand it does?)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the synapse_auto_compressor entry point and its current handling of newer groups. Determine how room selection and ordering work; done means the tool can process a configured number of largest rooms first, then retain its current behavior for newer groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.