# HG changeset patch # User Thomas De Schampheleire # Date 1598124171 -7200 # Node ID d442d8395b75a6a9fbbd2d571b5e75a3d62f81ba # Parent a8980488b6cec2c49aa1bb66c06989001d0f803b docs: reduce double nesting level in performance.rst Rendered text was too far to the right. diff -r a8980488b6ce -r d442d8395b75 docs/usage/performance.rst --- a/docs/usage/performance.rst Sat Aug 22 21:20:36 2020 +0200 +++ b/docs/usage/performance.rst Sat Aug 22 21:22:51 2020 +0200 @@ -67,18 +67,18 @@ In order to scale horizontally on multiple machines, you need to do the following: - - Each instance's ``data`` storage needs to be configured to be stored on a - shared disk storage, preferably together with repositories. This ``data`` - dir contains template caches, sessions, whoosh index and is used for - task locking (so it is safe across multiple instances). Set the - ``cache_dir``, ``index_dir``, ``beaker.cache.data_dir``, ``beaker.cache.lock_dir`` - variables in each .ini file to a shared location across Kallithea instances - - If using several Celery instances, - the message broker should be common to all of them (e.g., one - shared RabbitMQ server) - - Load balance using round robin or IP hash, recommended is writing LB rules - that will separate regular user traffic from automated processes like CI - servers or build bots. +- Each instance's ``data`` storage needs to be configured to be stored on a + shared disk storage, preferably together with repositories. This ``data`` + dir contains template caches, sessions, whoosh index and is used for + task locking (so it is safe across multiple instances). Set the + ``cache_dir``, ``index_dir``, ``beaker.cache.data_dir``, ``beaker.cache.lock_dir`` + variables in each .ini file to a shared location across Kallithea instances +- If using several Celery instances, + the message broker should be common to all of them (e.g., one + shared RabbitMQ server) +- Load balance using round robin or IP hash, recommended is writing LB rules + that will separate regular user traffic from automated processes like CI + servers or build bots. Serve static files directly from the web server