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

Performance problems with bridges with ephemeral events enabled #8903

Open
matrixbot opened this issue Dec 18, 2023 · 0 comments
Open

Performance problems with bridges with ephemeral events enabled #8903

matrixbot opened this issue Dec 18, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 18, 2023

This issue has been migrated from #8903.


A lot of these problems seem to happen at scale. This is what we saw when we restarted matrix.org with ephemeral events enabled for the OFTC bridge:

  • The memory usage of the appservice worker has increased ~3.5x, presumably to handle caching of members in rooms ahead of time.
  • CPU will churn during startup handling notify_interested_services_ephemeral
  • The database will be hammered for get_users_in_room and set_type_stream_id_for_appservice
@matrixbot matrixbot changed the title Dummy issue Performance problems with bridges with ephemeral events enabled Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant