mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
df5d8bfc04
This was meant to serve as an intermediary for services needing to reach the homeserver. It was used like that for a while in this `bye-bye-nginx-proxy` branch, but was never actually public. It has recently been superseded by homeserver-like services injecting themselves into a new internal Traefik entrypoint (see `matrix_playbook_internal_matrix_client_api_traefik_entrypoint_*`), so `matrix-homeserver-proxy` is no longer necessary. --- This is probably a good moment to share some benchmarks and reasons for going with the internal Traefik entrypoint as opposed to this nginx service. 1. (1400 rps) Directly to Synapse (`ab -n 1000 -c 100 http://matrix-synapse:8008/_matrix/client/versions` 2. (~900 rps) Via `matrix-homeserver-proxy` (nginx) proxying to Synapse (`ab -n 1000 -c 100 http://matrix-homeserver-proxy:8008/_matrix/client/versions`) 3. (~1200 rps) Via the new internal entrypoint of Traefik (`matrix-internal-matrix-client-api`) proxying to Synapse (`ab -n 1000 -c 100 http://matrix-traefik:8008/_matrix/client/versions`) Besides Traefik being quicker for some reason, there are also other benefits to not having this `matrix-homeserver-proxy` component: - we can reuse what we have in terms of labels. Services can register a few extra labels on the new Traefik entrypoint - we don't need services (like `matrix-media-repo`) to inject custom nginx configs into `matrix-homeserver-proxy`. They just need to register labels, like they do already. - Traefik seems faster than nginx on this benchmark for some reason, which is a nice bonus - no need to run one extra container (`matrix-homeserver-proxy`) and execute one extra Ansible role - no need to maintain a setup where some people run the `matrix-homeserver-proxy` component (because they have route-stealing services like `matrix-media-repo` enabled) and others run an optimized setup without this component and everything needs to be rewired to talk to the homeserver directly. Now, everyone can go through Traefik and we can all run an identical setup Downsides of the new Traefik entrypoint setup are that: - all addon services that need to talk to the homeserver now depend on Traefik - people running their own Traefik setup will be inconvenienced - they need to manage one additional entrypoint |
||
---|---|---|
.. | ||
assets | ||
alternative-architectures.md | ||
ansible.md | ||
configuring-captcha.md | ||
configuring-dns.md | ||
configuring-playbook-backup-borg.md | ||
configuring-playbook-base-domain-serving.md | ||
configuring-playbook-bot-buscarron.md | ||
configuring-playbook-bot-chatgpt.md | ||
configuring-playbook-bot-draupnir.md | ||
configuring-playbook-bot-go-neb.md | ||
configuring-playbook-bot-honoroit.md | ||
configuring-playbook-bot-matrix-registration-bot.md | ||
configuring-playbook-bot-matrix-reminder-bot.md | ||
configuring-playbook-bot-maubot.md | ||
configuring-playbook-bot-mjolnir.md | ||
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 | ||
configuring-playbook-bridge-go-skype-bridge.md | ||
configuring-playbook-bridge-heisenbridge.md | ||
configuring-playbook-bridge-hookshot.md | ||
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 | ||
configuring-playbook-bridge-mautrix-slack.md | ||
configuring-playbook-bridge-mautrix-telegram.md | ||
configuring-playbook-bridge-mautrix-twitter.md | ||
configuring-playbook-bridge-mautrix-whatsapp.md | ||
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 | ||
configuring-playbook-client-cinny.md | ||
configuring-playbook-client-element.md | ||
configuring-playbook-client-hydrogen.md | ||
configuring-playbook-client-schildichat.md | ||
configuring-playbook-conduit.md | ||
configuring-playbook-dendrite.md | ||
configuring-playbook-dimension.md | ||
configuring-playbook-dynamic-dns.md | ||
configuring-playbook-email2matrix.md | ||
configuring-playbook-email.md | ||
configuring-playbook-etherpad.md | ||
configuring-playbook-external-postgres.md | ||
configuring-playbook-federation.md | ||
configuring-playbook-jitsi.md | ||
configuring-playbook-ldap-auth.md | ||
configuring-playbook-ma1sd.md | ||
configuring-playbook-matrix-corporal.md | ||
configuring-playbook-matrix-ldap-registration-proxy.md | ||
configuring-playbook-matrix-media-repo.md | ||
configuring-playbook-matrix-registration.md | ||
configuring-playbook-mautrix-bridges.md | ||
configuring-playbook-nginx.md | ||
configuring-playbook-ntfy.md | ||
configuring-playbook-own-webserver.md | ||
configuring-playbook-postgres-backup.md | ||
configuring-playbook-prometheus-grafana.md | ||
configuring-playbook-prometheus-nginxlog.md | ||
configuring-playbook-prometheus-postgres.md | ||
configuring-playbook-rageshake.md | ||
configuring-playbook-rest-auth.md | ||
configuring-playbook-riot-web.md | ||
configuring-playbook-s3-goofys.md | ||
configuring-playbook-s3.md | ||
configuring-playbook-shared-secret-auth.md | ||
configuring-playbook-sliding-sync-proxy.md | ||
configuring-playbook-ssl-certificates.md | ||
configuring-playbook-sygnal.md | ||
configuring-playbook-synapse-admin.md | ||
configuring-playbook-synapse-auto-compressor.md | ||
configuring-playbook-synapse-s3-storage-provider.md | ||
configuring-playbook-synapse-simple-antispam.md | ||
configuring-playbook-synapse.md | ||
configuring-playbook-telemetry.md | ||
configuring-playbook-traefik.md | ||
configuring-playbook-turn.md | ||
configuring-playbook-user-verification-service.md | ||
configuring-playbook.md | ||
configuring-well-known.md | ||
container-images.md | ||
faq.md | ||
getting-the-playbook.md | ||
howto-server-delegation.md | ||
howto-srv-server-delegation.md | ||
importing-postgres.md | ||
importing-synapse-media-store.md | ||
importing-synapse-sqlite.md | ||
installing.md | ||
maintenance-and-troubleshooting.md | ||
maintenance-checking-services.md | ||
maintenance-migrating.md | ||
maintenance-postgres.md | ||
maintenance-synapse.md | ||
maintenance-upgrading-services.md | ||
obtaining-access-tokens.md | ||
prerequisites.md | ||
README.md | ||
registering-users.md | ||
self-building.md | ||
uninstalling.md | ||
updating-users-passwords.md |
Table of Contents
-
FAQ - lots of questions and answers. Jump to Prerequisites to avoid reading too much and to just start a guided installation.
-
Prerequisites - go here to a guided installation using this Ansible playbook
-
Importing data from another server installation