diff --git a/docs/usage/performance.rst b/docs/usage/performance.rst --- a/docs/usage/performance.rst +++ b/docs/usage/performance.rst @@ -9,12 +9,12 @@ performing slower than expected. Because amounts of data from version control systems, here are some tips on how to get the best performance. -* Kallithea will perform better on machines with faster disks (SSD/SAN). It's - more important to have a faster disk than a faster CPU. +* Kallithea is often I/O bound, and hence a fast disk (SSD/SAN) is + usually more important than a fast CPU. -* Slowness on initial page can be easily fixed by grouping repositories, and/or +* Sluggish loading of the front page can easily be fixed by grouping repositories or by increasing cache size (see below). This includes using the lightweight dashboard - option and ``vcs_full_cache`` setting in .ini file + option and ``vcs_full_cache`` setting in .ini file. Follow these few steps to improve performance of Kallithea system. @@ -25,18 +25,18 @@ Follow these few steps to improve perfor Tweak beaker cache settings in the ini file. The actual effect of that is questionable. -2. Switch from sqlite to postgres or mysql +2. Switch from SQLite to PostgreSQL or MySQL - sqlite is a good option when having a small load on the system. But due to - locking issues with sqlite, it is not recommended to use it for larger - deployments. Switching to mysql or postgres will result in an immediate + SQLite is a good option when having a small load on the system. But due to + locking issues with SQLite, it is not recommended to use it for larger + deployments. Switching to MySQL or PostgreSQL will result in an immediate performance increase. A tool like SQLAlchemyGrate_ can be used for migrating to another database platform. 3. Scale Kallithea horizontally - Scaling horizontally can give huge performance increases when dealing with - large traffic (large amount of users, CI servers etc). Kallithea can be + Scaling horizontally can give huge performance benefits when dealing with + large amounts of traffic (many users, CI servers, etc.). Kallithea can be scaled horizontally on one (recommended) or multiple machines. In order to scale horizontally you need to do the following: