Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Fix up some paths and references in architecture-overview.md.
Alex Vandiverc88e1291f0a4
diff --git a/docs/overview/architecture-overview.md b/docs/overview/architecture-overview.mdindex dc4d4633fba..ca3437686a0 100644--- a/docs/overview/architecture-overview.md+++ b/docs/overview/architecture-overview.md@@ -120,9 +120,9 @@ For more details on the frontend, see our documentation onnginx is the front-end web server to all Zulip traffic; it serves staticassets and proxies to Django and Tornado. It handles HTTP requestsaccording to the rules laid down in the many config files found in-`zulip/puppet/zulip/files/nginx/`.+`puppet/zulip/files/nginx/` and `puppet/zulip/templates/nginx/`.-`zulip/puppet/zulip/files/nginx/zulip-include-frontend/app` is the most+`puppet/zulip/files/nginx/zulip-include-frontend/app` is the mostimportant of these files. It explains what happens when requests come infrom outside.@@ -150,7 +150,7 @@ We use [supervisord](http://supervisord.org/) to start server processes,restart them automatically if they crash, and direct logging.The config file is-`zulip/puppet/zulip/templates/supervisor/zulip.conf.template.erb`. This+`puppet/zulip/templates/supervisor/zulip.conf.template.erb`. Thisis where Tornado and Django are set up, as well as a number of backgroundprocesses that process event queues. We use event queues for the kindsof tasks that are best run in the background because they are@@ -164,7 +164,7 @@ memcached is used to cache database modelobjects. `zerver/lib/cache.py` and `zerver/lib/cache_helpers.py`manage putting things into memcached, and invalidating the cache whenvalues change. The memcached configuration is in-`puppet/zulip/files/memcached.conf`. See our+`puppet/zulip/templates/memcached.conf.template.erb`. See our[caching guide](../subsystems/caching.md) to learn how this works indetail.@@ -173,12 +173,11 @@ detail.Redis is used for a few very short-term data stores, primarilyour rate-limiting system.-Redis is configured in `zulip/puppet/zulip/files/redis` and it's a-pretty standard configuration except for the last line, which turns off-persistence:+Redis is configured in `puppet/zulip/templates/zulip-redis.template.erb` and+the main contents are the following, which turns off persistence:```text-# Zulip-specific configuration: disable saving to disk.+# Disable saving to disk to optimize performancesave ""```@@ -206,8 +205,8 @@ materialize:### RabbitMQRabbitMQ is a queueing system. Its config files live in-`zulip/puppet/zulip/files/rabbitmq`. Initial configuration happens in-`zulip/scripts/setup/configure-rabbitmq`.+`puppet/zulip/files/rabbitmq`. Initial configuration happens in+`scripts/setup/configure-rabbitmq`.We use RabbitMQ for queuing expensive work (e.g., sending emailstriggered by a message, push notifications, some analytics, etc.) that@@ -216,7 +215,7 @@ thread. It's also used for communication between the application serverand the Tornado push system.Two simple wrappers around `pika` (the Python RabbitMQ client) are in-`zulip/zerver/lib/queue.py`. There's an asynchronous client for use in+`zerver/lib/queue.py`. There's an asynchronous client for use inTornado and a more general client for use elsewhere. Most of theprocesses started by Supervisor are queue processors that continuallypull things out of a RabbitMQ queue and handle them; they are defined@@ -250,15 +249,15 @@ to create the actual database with its schema.Nagios is an optional component used for notifications to the systemadministrator, e.g., in case of outages.-`zulip/puppet/zulip/manifests/nagios.pp` installs Nagios plugins from+`puppet/zulip/manifests/nagios_plugins.pp` installs Nagios plugins from`puppet/zulip/files/nagios_plugins/`.This component is intended to install Nagios plugins intended to be runon a Nagios server; most of the Zulip Nagios plugins are intended to berun on the Zulip servers themselves, and are included with the relevantcomponent of the Zulip server (e.g.,-`puppet/zulip/manifests/postgresql_backups.pp` installs a few under-`/usr/lib/nagios/plugins/zulip_backups`).+`puppet/zulip/manifests/app_frontend_base.pp` installs a few under+`/usr/lib/nagios/plugins/zulip_app_frontend`).## Glossary