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

Option for minimum saving

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

Nobody has claimed this yet.

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

Description

To speed up the maintenance of the state table it would be helpful to skip minimal savings. A gain of fewer then 500 rows isn't worth the verification of the result and the execution of the SQL commands. What's your opinion?

How about adding a command line option to specify the minimal saving to consider an update?

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

The issue names no files, tests, or entry points; begin by identifying the command-line entry point and the state-table update path in the repository. Done means a configurable minimum-saving threshold skips smaller updates while allowing larger ones, with the relevant behavior verified.

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.