matrix-docker-ansible-deploy/roles/custom
Catalan Lover 9eab0292d4
Increase Synapse caches and enable cache-autotuning by default (#3017)
* Modify Synapse Cache Factor to use Auto Tune

Synapse has the ability to as it calls in its config auto tune caches.

This ability lets us set very high cache factors and then instead limit our resource use.

Defaults for this commit are 1/10th of what Element apparently runs for EMS stuff and matrix.org on Cache Factor and upstream documentation defaults for auto tune.

* Add vars to Synapse main.yml to control cache related config

This commit adds various cache related vars to main.yml for Synapse.

Some are auto tune and some are just adding explicit ways to control upstream vars.

* Updated Auto Tune figures

Autotuned figures have been bumped in consultation with other community members as to a reasonable level. Please note these defaults are more on the one of each workers side than they are on the monolith Side.

* Fix YML Error

The playbook is not happy with the previous state of this patch so this commit hopefully fixes it

* Add to_json to various Synapse tuning related configs

* Fix incorrect indication in homeserver.yaml.j2

* Minor cleanups

* Synapse Cache Autotuning Documentation

* Upgrade Synapse Cache Autotune to auto configure memory use

* Update Synapse Tuning docs to reflect automatic memory use configuration

* Fix Linting errors in synapses main.yml

* Rename variables for consistency (matrix_synapse_caches_autotuning_* -> matrix_synapse_cache_autotuning_*)

* Remove FIX ME comment about Synapse's `cache_autotuning`

`docs/maintenance-synapse.md` and `roles/custom/matrix-synapse/defaults/main.yml`
already contains documentation about these variables and the default values we set.

* Improve "Tuning caches and cache autotuning" documentation for Synapse

* Announce larger Synapse caches and cache auto-tuning

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2024-02-14 12:02:06 +02:00
..
matrix_playbook_migration Wire matrix_server_fqn_matrix_federation to matrix_SERVICE_*_public_federation_api_traefik_hostname for ease of use 2024-01-26 16:04:55 +02:00
matrix-base Disable addons communicating with the homeserver via Traefik if there is no Traefik at all 2024-01-18 12:12:41 +02:00
matrix-bot-buscarron fix buscarron old vars 2024-02-08 21:17:12 +02:00
matrix-bot-chatgpt Merge branch 'master' into bye-bye-nginx-proxy 2024-01-05 17:55:49 +02:00
matrix-bot-draupnir Update gnuxie/draupnir Docker tag to v1.86.2 2024-02-09 21:13:33 +00:00
matrix-bot-go-neb Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bot-honoroit update honoroit (v0.9.19 -> v0.9.20) 2024-02-05 22:12:24 +02:00
matrix-bot-matrix-registration-bot Revert "Auto-generate matrix_bot_matrix_registration_bot_bot_password via group vars" 2024-01-09 10:22:20 +02:00
matrix-bot-matrix-reminder-bot Merge branch 'master' into bye-bye-nginx-proxy 2024-01-13 10:25:35 +02:00
matrix-bot-maubot Make Traefik labels files look better 2024-01-15 10:41:15 +02:00
matrix-bot-mjolnir Explicitly Declare Draupnir and Mjolnir Config and enter Bot Mode 2024-01-24 15:26:05 +01:00
matrix-bot-postmoogle Update registry.gitlab.com/etke.cc/postmoogle Docker tag to v0.9.17 2024-02-11 19:45:35 +00:00
matrix-bridge-appservice-discord Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-appservice-irc Fix NeDB to Postgres importing task for matrix-bridge-appservice-irc 2024-01-13 17:18:22 +02:00
matrix-bridge-appservice-kakaotalk Fix additional-networks connectivity for a few services 2024-01-15 11:13:47 +02:00
matrix-bridge-appservice-slack Make Traefik labels files look better 2024-01-15 10:41:15 +02:00
matrix-bridge-appservice-webhooks Make Traefik labels files look better 2024-01-15 10:41:15 +02:00
matrix-bridge-beeper-linkedin Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-go-skype-bridge Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-heisenbridge Move matrix-bridge-heisenbridge to its own container network 2024-01-07 15:24:10 +02:00
matrix-bridge-hookshot Fix problematic Hookshot redirect for /hookshot/widgetapi/v1/static 2024-01-19 17:08:14 +02:00
matrix-bridge-mautrix-discord Fix mautrix-discord config Jinja2 syntax error 2024-01-25 07:35:16 +02:00
matrix-bridge-mautrix-facebook Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-mautrix-gmessages Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-mautrix-googlechat Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-mautrix-hangouts Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-mautrix-instagram Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-mautrix-signal Update Signal config.yaml.j2 2024-02-08 09:16:29 +00:00
matrix-bridge-mautrix-slack Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-telegram chore(deps): update Telegrambot config 2024-01-20 12:58:41 +01:00
matrix-bridge-mautrix-twitter Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-mautrix-whatsapp Use to_json for matrix_mautrix_whatsapp_extev_polls 2024-02-09 16:42:48 +02:00
matrix-bridge-mautrix-wsproxy Fix additional-networks connectivity for a few services 2024-01-15 11:13:47 +02:00
matrix-bridge-mx-puppet-discord Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-groupme Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-instagram Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-slack Fix Traefik load balancer port for matrix-mx-puppet-slack 2024-01-19 12:13:22 +02:00
matrix-bridge-mx-puppet-steam Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-twitter Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-bridge-sms Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-cactus-comments Add matrix-cactus-comments-client role 2024-01-09 09:53:01 +02:00
matrix-cactus-comments-client Update joseluisq/static-web-server Docker tag to v2.27.0 2024-02-13 03:02:42 +00:00
matrix-client-cinny Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-client-element Upgrade Element (v1.11.57 -> v1.11.58) 2024-02-13 19:06:14 +02:00
matrix-client-hydrogen Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-client-schildichat Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-common-after/tasks Fix all 300+ ansible-lint-reported errors 2023-03-07 17:28:15 +02:00
matrix-conduit Make post-start delay for matrix-conduit configurable 2024-01-17 12:26:28 +02:00
matrix-corporal Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-coturn Add additional-networks support to matrix-coturn 2024-01-15 11:18:09 +02:00
matrix-dendrite Update matrixdotorg/dendrite-monolith Docker tag to v0.13.6 2024-01-26 14:05:29 +00:00
matrix-dimension Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-dynamic-dns Add additional-networks support to matrix-dynamic-dns 2024-01-15 11:18:25 +02:00
matrix-email2matrix Fix yamllint-reported errors in matrix-email2matrix 2024-01-13 19:47:04 +02:00
matrix-ldap-registration-proxy Make Traefik labels files look better 2024-01-15 10:41:15 +02:00
matrix-ma1sd Make Traefik labels files look better 2024-01-15 10:41:15 +02:00
matrix-media-repo Update turt2live/matrix-media-repo Docker tag to v1.3.4 2024-02-10 01:50:50 +00:00
matrix-prometheus-nginxlog-exporter Fix some variable typos in matrix-prometheus-nginxlog-exporter 2024-01-14 21:32:02 +02:00
matrix-prometheus-services-connect Properly switch to element-hq-synapse and introduce variables for customizing that 2024-01-17 08:40:23 +02:00
matrix-rageshake Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-registration Make Traefik labels files look better 2024-01-15 10:41:15 +02:00
matrix-sliding-sync Upgrade sliding-sync (v0.99.14 -> v0.99.15) 2024-01-22 14:36:05 +02:00
matrix-static-files Update joseluisq/static-web-server Docker tag to v2.27.0 2024-02-13 03:02:42 +00:00
matrix-sygnal Ensure each container labels file defines at least one service 2024-01-17 17:56:45 +02:00
matrix-synapse Increase Synapse caches and enable cache-autotuning by default (#3017) 2024-02-14 12:02:06 +02:00
matrix-synapse-admin Upgrade synapse-admin (0.9.0 -> 0.9.1) 2024-02-08 16:39:29 +02:00
matrix-synapse-auto-compressor Connect matrix-synapse-auto-compressor directly to Postgres network, if integrated Postgres is used 2024-01-13 20:01:06 +02:00
matrix-synapse-reverse-proxy-companion Split some homeserver _additional_networks variables into _auto and _custom 2024-01-26 12:55:01 +02:00
matrix-user-creator add ensure-users-created tag alongside with ensure-matrix-users-created 2023-10-02 18:33:21 +03:00
matrix-user-verification-service Move matrix-user-verification service to its own container network 2024-01-13 17:31:03 +02:00