Show More
@@ -67,18 +67,18 b' Kallithea can also be scaled horizontall' | |||||
67 | In order to scale horizontally on multiple machines, you need to do the |
|
67 | In order to scale horizontally on multiple machines, you need to do the | |
68 | following: |
|
68 | following: | |
69 |
|
69 | |||
70 |
|
|
70 | - Each instance's ``data`` storage needs to be configured to be stored on a | |
71 |
|
|
71 | shared disk storage, preferably together with repositories. This ``data`` | |
72 |
|
|
72 | dir contains template caches, sessions, whoosh index and is used for | |
73 |
|
|
73 | task locking (so it is safe across multiple instances). Set the | |
74 |
|
|
74 | ``cache_dir``, ``index_dir``, ``beaker.cache.data_dir``, ``beaker.cache.lock_dir`` | |
75 |
|
|
75 | variables in each .ini file to a shared location across Kallithea instances | |
76 |
|
|
76 | - If using several Celery instances, | |
77 |
|
|
77 | the message broker should be common to all of them (e.g., one | |
78 |
|
|
78 | shared RabbitMQ server) | |
79 |
|
|
79 | - Load balance using round robin or IP hash, recommended is writing LB rules | |
80 |
|
|
80 | that will separate regular user traffic from automated processes like CI | |
81 |
|
|
81 | servers or build bots. | |
82 |
|
82 | |||
83 |
|
83 | |||
84 | Serve static files directly from the web server |
|
84 | Serve static files directly from the web server |
General Comments 0
You need to be logged in to leave comments.
Login now