-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand and improve workers documentation and example configuration #9072
Comments
Is there specific information that you think is missing? the workers docs were recently expanded to include a bit more information.
I think this is pretty much #8557.
The current docker-compose stuff is under contrib, so I unfortunately this will probably need to be provided via a contribution. 😄 |
@clokep why was |
@ShadowJonathan The bit that is unclear to me is:
What information do you feel is missing? |
Oh, that part is a general call for a look at the documentation, but i'm not holding it for a requirement (thus the absence of checkmark), its generally just "hey, please give a look at the documentation for workers and judge if everything you know about setting up and configuring workers is in there" request, should i remove it to avoid confusion? |
we certainly need better documentation for how to run workers under docker |
I was asked to drop my opinion in here while we were discussing this issue in chat: There's a lot of info on types of workers, and little on how to redirect queries from a reverse proxy to the workers effectively. I know it sounds simple to say "just run a worker per CPU", but I didn't find my experience to feel quite so clear-cut. Put simply, an example showing how to run a server with 4+ cores, using Nginx as a reverse proxy, with an appropriate worker setup / Nginx config would go a long way I think. |
Extra thoughts;
|
The Loadbalancing Section is a little bit confusing. At least it should be statet that i need to bring my own load balancer. |
... asked by @jwh:covert.tel from the discourse on #synapse:matrix.org |
Maybe reference existing helm charts for Kubernetes? Thes deprecated repo (https://github.com/ananace/matrix-synapse) references https://gitlab.com/ananace/charts (espacially https://gitlab.com/ananace/charts/-/tree/master/charts/matrix-synapse up to date!) At least concerning "large deployments", concrete kubernetes images are very helpful - at least to mention their existence EDIT: Within the INSTALL.md some docker images and ansible... but these seem to focus on single process instances - multiple workers/processes are not even mentioned here yet |
I have found some more issues with worker docs:
|
I've raised PR #12737 with some fairly detailed instructions for using Docker Compose to create workers. Please feel free to provide feedback and let me know if this is helpful. |
A general call;
sample_config.yaml
) for each worker type, or for all workers in oneImo: Currently i think workers are very hard to set up or figure out on its own, because knowledge of it is mostly limited to large setups, and thus that knowledge is never reflected in documentation, or workers seen as an asset to be documented with the same priority.
The text was updated successfully, but these errors were encountered: