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