element-hq / element-hq/synapse

we only use a single thread with sqlite

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

Description

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

---

For reasons that are unclear to me, we only use a single thread with sqlite by default (see [here](https://github.com/matrix-org/synapse/blob/release-v1.18.0/synapse/config/database.py#L94)).

I feel like this may be responsible for some of the poor performance seen with sqlite.

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.