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

Add ability to write to the database directly during the run.

Open
#20 1 comment 2 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

This tool has now been run quite a lot without issues, so hopefully its safe enough that we can write directly to the database during the run rather than keeping everything in memory.

This would also allow us to not keep all the state in memory for the entire set of target state.

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 tracing how the tool currently keeps target state in memory and where database access is performed. The change is complete when state can be written directly to the database during the run without retaining the entire target state in memory; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
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.