Changeset - 49c82acd30b2
[Not reviewed]
default
0 3 0
Mads Kiilerich - 9 years ago 2016-09-19 22:39:26
madski@unity3d.com
scripts: fix X mode on code formatting scripts
3 files changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
docs/usage/performance.rst
Show inline comments
 
@@ -28,25 +28,25 @@ Follow these few steps to improve perfor
 
    migrating to another database platform.
 

	
 
4. Scale Kallithea horizontally
 

	
 
    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.
 

	
 
    It is generally possible to run WSGI applications multithreaded, so that
 
    several HTTP requests are served from the same Python process at once. That
 
    can in principle give better utilization of internal caches and less
 
    process overhead.
 
    
 

	
 
    One danger of running multithreaded is that program execution becomes much
 
    more complex; programs must be written to consider all combinations of
 
    events and problems might depend on timing and be impossible to reproduce.
 

	
 
    Kallithea can't promise to be thread-safe, just like the embedded Mercurial
 
    backend doesn't make any strong promises when used as Kallithea uses it.
 
    Instead, we recommend scaling by using multiple server processes.
 

	
 
    Web servers with multiple worker processes (such as ``mod_wsgi`` with the
 
    ``WSGIDaemonProcess`` ``processes`` parameter) will work out of the box.
 

	
 
    In order to scale horizontally on multiple machines, you need to do the
scripts/dbmigrate-test
Show inline comments
 
modified file chmod 100644 => 100755
scripts/generate-ini.py
Show inline comments
 
modified file chmod 100644 => 100755
0 comments (0 inline, 0 general)