Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve server performance through Synapse workers #21

Open
psrpinto opened this issue Dec 4, 2023 · 0 comments
Open

Improve server performance through Synapse workers #21

psrpinto opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
performance Performance issues and improvements

Comments

@psrpinto
Copy link
Member

psrpinto commented Dec 4, 2023

Currently the Matrix server (homeserver) of community.wordpress.org is running as a single process. However, it can be run as separate processes, which should improve performance. From Synapse's documentation on workers:

For larger instances where performance is a concern it can be helpful to split out functionality into multiple separate python processes. These processes are called 'workers', and are (eventually) intended to scale horizontally independently.

The architecture looks like the following (from How we fixed Synapse's scalability):

2020-11-03-synapse5

References

Metrics

"Event send time" should be a good indicator of overall performance.

Before

Screenshot 2023-12-04 at 11 35 28

After

TODO

@psrpinto psrpinto self-assigned this Dec 4, 2023
@psrpinto psrpinto added the performance Performance issues and improvements label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues and improvements
Projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant