element-hq / element-hq/synapse

Document configuration on how to shard Synapse's logical databases

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

Description

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

---

One can do so via the `databases` top-level config option, replacing the `database` one. This feature is still experimental, and should be classified as such (we haven't yet tried it on matrix.org for instance):

https://github.com/matrix-org/synapse/blob/ba5287f5e8be150551824493b3ad685dde00a543/synapse/config/database.py#L123-L136

We currently document this feature here (without mentioning that it is experimental): https://matrix-org.github.io/synapse/latest/development/database_schema.html?highlight=state_gro#logical-databases

We may want to hold off adding documentation about it to the sample config until it is stable, but thoughts welcome.

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.