circles-project / matrix-docker-ansible-deploy

GNU Affero General Public License v3.0
2 stars 0 forks source link

Idea: Smarter request routing #5

Open Michael-Hollister opened 2 months ago

Michael-Hollister commented 2 months ago

Moving issue to Github. From @cvwright:

We're routing requests to workers according to Tom's homeserver guide. The guide is focused on achieving high performance for a server that serves only a handful of local users.

However, our situation is different. We are hoping to have lots of local users, and they will be running Circles instead of a traditional Matrix client.

So there are a few areas where we can possibly tweak Tom's routing to good effect:

Bigger questions:

Does it really make sense to have both sync workers AND client readers for authenticated users? Why not just load balance all non-room client requests according to the requesting user id?