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

Using an external cache server #2123

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

Using an external cache server #2123

matrixbot opened this issue Dec 16, 2023 · 0 comments
Labels

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 16, 2023

This issue has been migrated from #2123.


I found that synapse uses a cache, implemented its own means (synapse/util/caches).
This creates some difficulties:

I believe that using an external cache server like memcached or reddis could solve these problems.

The advantages of an external cache:

  • it can be accessed by all the processes of application, possibly running on several nodes.
  • memory storage is quite efficient, and done in a separate process.
  • it becomes possible to configure workers to use same cache and same database as synapse.
  • it becomes possible to configure two synapse servers are behind the balancer and work with one cache and a shared database.
@matrixbot matrixbot changed the title Dummy issue Using an external cache server 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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant