matrix-docker-ansible-deploy/docs
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
..
assets
alternative-architectures.md
ansible.md Upgrade devture/ansible (2.14.5-r0-0 -> 2.16.1-r0-0) 2023-12-16 09:59:07 +02:00
configuring-captcha.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
configuring-dns.md refactor: update links to avoid future issue 2023-12-15 11:18:18 +01:00
configuring-playbook-backup-borg.md
configuring-playbook-base-domain-serving.md Fix incorrect variable name for base-domain root-path redirection 2024-02-03 18:48:24 +02:00
configuring-playbook-bot-buscarron.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-bot-chatgpt.md
configuring-playbook-bot-draupnir.md Make addons communicate with the homeserver via a new internal Traefik entrypoint 2024-01-14 10:48:54 +02:00
configuring-playbook-bot-go-neb.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
configuring-playbook-bot-honoroit.md
configuring-playbook-bot-matrix-registration-bot.md Fix typo in configuring-playbook-bot-matrix-registration-bot.md (#3137) 2024-01-28 06:56:43 +02:00
configuring-playbook-bot-matrix-reminder-bot.md
configuring-playbook-bot-maubot.md Update configuring-playbook-bot-maubot.md 2024-02-13 17:42:09 +01:00
configuring-playbook-bot-mjolnir.md Make addons communicate with the homeserver via a new internal Traefik entrypoint 2024-01-14 10:48:54 +02:00
configuring-playbook-bot-postmoogle.md
configuring-playbook-bridge-appservice-discord.md
configuring-playbook-bridge-appservice-irc.md
configuring-playbook-bridge-appservice-kakaotalk.md
configuring-playbook-bridge-appservice-slack.md
configuring-playbook-bridge-appservice-webhooks.md
configuring-playbook-bridge-beeper-linkedin.md Update configuring-playbook-bridge-beeper-linkedin.md 2023-11-06 08:51:50 +01:00
configuring-playbook-bridge-go-skype-bridge.md
configuring-playbook-bridge-heisenbridge.md
configuring-playbook-bridge-hookshot.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-bridge-matrix-bridge-sms.md
configuring-playbook-bridge-mautrix-discord.md
configuring-playbook-bridge-mautrix-facebook.md
configuring-playbook-bridge-mautrix-gmessages.md
configuring-playbook-bridge-mautrix-googlechat.md
configuring-playbook-bridge-mautrix-hangouts.md
configuring-playbook-bridge-mautrix-instagram.md
configuring-playbook-bridge-mautrix-signal.md doc: check typo 2023-12-18 16:51:35 +01:00
configuring-playbook-bridge-mautrix-slack.md
configuring-playbook-bridge-mautrix-telegram.md
configuring-playbook-bridge-mautrix-twitter.md
configuring-playbook-bridge-mautrix-whatsapp.md Update configuring-playbook-bridge-mautrix-whatsapp.md 2024-02-08 03:44:38 +00:00
configuring-playbook-bridge-mautrix-wsproxy.md
configuring-playbook-bridge-mx-puppet-discord.md
configuring-playbook-bridge-mx-puppet-groupme.md
configuring-playbook-bridge-mx-puppet-instagram.md
configuring-playbook-bridge-mx-puppet-skype.md
configuring-playbook-bridge-mx-puppet-slack.md
configuring-playbook-bridge-mx-puppet-steam.md
configuring-playbook-bridge-mx-puppet-twitter.md
configuring-playbook-cactus-comments.md Add matrix-cactus-comments-client role 2024-01-09 09:53:01 +02:00
configuring-playbook-client-cinny.md
configuring-playbook-client-element.md refactor: update links to avoid future issue 2023-12-15 11:18:18 +01:00
configuring-playbook-client-hydrogen.md refactor: update links to avoid future issue 2023-12-15 11:18:18 +01:00
configuring-playbook-client-schildichat.md Announce SchildiChat 2023-08-31 13:42:40 +03:00
configuring-playbook-conduit.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
configuring-playbook-dendrite.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
configuring-playbook-dimension.md Add new global variable for controlling federation regardless of homeserver implementation 2024-01-14 11:52:40 +02:00
configuring-playbook-dynamic-dns.md
configuring-playbook-email.md Replace matrix-mailer with an external role 2024-01-05 17:54:50 +02:00
configuring-playbook-email2matrix.md Adjust email2matrix docs with regard to the homeserver container URL 2024-01-13 18:15:15 +02:00
configuring-playbook-etherpad.md Remove etherpad-proxy-connect role 2024-01-12 17:22:46 +02:00
configuring-playbook-external-postgres.md
configuring-playbook-federation.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-jitsi.md refactor: update links to avoid future issue 2023-12-15 11:18:18 +01:00
configuring-playbook-ldap-auth.md
configuring-playbook-ma1sd.md Move matrix-ma1sd to its own container network and add native Traefik support 2024-01-09 15:27:13 +02:00
configuring-playbook-matrix-corporal.md
configuring-playbook-matrix-ldap-registration-proxy.md Remove matrix_ldap_registration_proxy_container_additional_networks_custom mention in docs 2024-01-09 11:51:46 +02:00
configuring-playbook-matrix-media-repo.md Updated MMR docs with updated fields in main.yaml (#3047) 2023-12-18 11:01:59 +02:00
configuring-playbook-matrix-registration.md
configuring-playbook-mautrix-bridges.md
configuring-playbook-nginx.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-ntfy.md Update configuring-playbook-ntfy.md 2023-03-22 11:28:34 +02:00
configuring-playbook-own-webserver.md add missing ' in config 2024-01-24 19:22:35 +01:00
configuring-playbook-postgres-backup.md
configuring-playbook-prometheus-grafana.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
configuring-playbook-prometheus-nginxlog.md Remove matrix-homeserver-proxy role in favor of the new internal Traefik entrypoint 2024-01-14 10:53:14 +02:00
configuring-playbook-prometheus-postgres.md Update documentation related to variables for prometheus-node-exporter/prometheus-postgres-exporter metrics exposure 2024-01-12 18:04:18 +02:00
configuring-playbook-rageshake.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-rest-auth.md
configuring-playbook-riot-web.md Drop some matrix_nginx_proxy_proxy_riot_compat_* variables 2024-01-03 14:43:45 +02:00
configuring-playbook-s3-goofys.md
configuring-playbook-s3.md
configuring-playbook-shared-secret-auth.md
configuring-playbook-sliding-sync-proxy.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-ssl-certificates.md Remove tabs from YAML code snippets 2023-11-15 09:26:20 +02:00
configuring-playbook-sygnal.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
configuring-playbook-synapse-admin.md Add missing link to synapse config docs 2024-02-12 23:10:50 -05:00
configuring-playbook-synapse-auto-compressor.md
configuring-playbook-synapse-s3-storage-provider.md Adjust S3 docs section to not be so Wasabi-specific 2023-06-16 09:11:53 +03:00
configuring-playbook-synapse-simple-antispam.md
configuring-playbook-synapse.md Rework Synapse workers documentation 2024-01-20 12:41:21 +02:00
configuring-playbook-telemetry.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
configuring-playbook-traefik.md Add upstream proxy_protocol instructions to traefik (#3150) 2024-02-02 22:09:21 +02:00
configuring-playbook-turn.md
configuring-playbook-user-verification-service.md
configuring-playbook.md Update configuring-playbook.md 2024-02-04 09:31:32 -08:00
configuring-well-known.md Merge branch 'master' into bye-bye-nginx-proxy 2024-01-09 15:38:23 +02:00
container-images.md Update container-images.md to mention Draupnir 2024-02-11 23:28:45 +01:00
faq.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
getting-the-playbook.md
howto-server-delegation.md Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks 2024-01-14 18:42:14 +02:00
howto-srv-server-delegation.md Update SRV delegation docs 2024-02-10 10:18:46 +01:00
importing-postgres.md
importing-synapse-media-store.md
importing-synapse-sqlite.md
installing.md
maintenance-and-troubleshooting.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00
maintenance-checking-services.md
maintenance-migrating.md
maintenance-postgres.md Upgrade Postgres (v16.0-5 -> v16.0-6) - adds auto-tuning 2023-10-18 08:24:52 +03:00
maintenance-synapse.md Increase Synapse caches and enable cache-autotuning by default (#3017) 2024-02-14 12:02:06 +02:00
maintenance-upgrading-services.md
obtaining-access-tokens.md
prerequisites.md Update prerequisites.md (#3050) 2023-12-18 10:58:28 +02:00
README.md
registering-users.md
self-building.md Move exim-relay service to its own network and connect Synapse & ma1sd to it automatically 2024-01-05 18:10:24 +02:00
uninstalling.md
updating-users-passwords.md Replace (almost) all matrix-org/synapse references with element-hq/synapse 2024-01-17 08:02:47 +02:00