element-hq / element-hq/synapse
Support database read-replicas
Open
A-Database
O-Uncommon
S-Tolerable
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 [#15718](https://github.com/matrix-org/synapse/issues/15718).
---
Hi,
It would be nice to have an option to split databases for writing and reading tasks.
For example we are running a Synapse installation on AWS where we can create "Writer" and "Reader" endpoints for the database in RDS. This appears like it would improve the scalability since we are ran some load tests on our Synapse homeserver and we see that the database is under load and the most operations are `select` statements.
Contributor guide
Assessment
This issue has not been assessed yet.