element-hq / element-hq/synapse

Offload State Resolution into Rust

Open
#16,502 0 comments 0 reactions 0 assignees View on GitHub
T-Task Z-Rust
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#16502](https://github.com/matrix-org/synapse/issues/16502).

---

The aim is to get it off the reactor thread, stop it holding the GIL and ultimately get better performance.

Things to consider:

- [ ] we might need to move `Event` into Rust (Erik has a branch that started this; it's quite old but at the same time it's probably still a good start) #16503
- State res makes DB accesses and those can't be moved into Rust until #16501 is sorted — but there are pieces of code around the DB calls, where we manually yield to the reactor for instance, that are hopefully ripe for moving over

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.