matrix-org / matrix-org/rust-synapse-compress-state
Option for minimum saving
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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