Mercurial > kallithea
diff docs/usage/performance.rst @ 3224:8b8edfc25856 beta
whitespace cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 25 Jan 2013 02:31:17 +0100 |
parents | 5d12768a0aa1 |
children | 4cd84f4f28fb |
line wrap: on
line diff
--- a/docs/usage/performance.rst Fri Jan 25 02:30:48 2013 +0100 +++ b/docs/usage/performance.rst Fri Jan 25 02:31:17 2013 +0100 @@ -22,7 +22,7 @@ 1. Increase cache in the .ini file:: - + beaker.cache.sql_cache_long.expire=3600 <-- set this to higher number This option affects the cache expiration time for main page. Having @@ -33,18 +33,18 @@ system and it will expire cache for repositories that had been changed. 2. Switch from sqlite to postgres or mysql - + sqlite is a good option when having small load on the system. But due to locking issues with sqlite, it's not recommended to use it for larger setup. Switching to mysql or postgres will result in a immediate performance increase. - + 3. Scale RhodeCode horizontally - running two or more instances on the same server can speed up things a lot - load balance using round robin or ip hash - - you need to handle consistent user session storage by switching to - db sessions, client side sessions or sharing session data folder across + - you need to handle consistent user session storage by switching to + db sessions, client side sessions or sharing session data folder across instances. See http://beaker.readthedocs.org/ docs for details. - remember that each instance needs it's own .ini file and unique - `instance_id` set in them \ No newline at end of file + `instance_id` set in them