Changeset - 3b179f1ac3a2
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-08-02 20:12:16
marcin@python-works.com
doc fixes
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docs/usage/performance.rst
Show inline comments
 
.. _performance:
 

	
 
================================
 
Optimizing RhodeCode Performance
 
================================
 

	
 

	
 
Follow these few steps to improve performance of RhodeCode system.
 

	
 

	
 
1. Increase cache::
 
1. Increase cache
 

	
 
    in the .ini file    
 
    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
 
    few hundreds of repositories on main page can sometimes make the system
 
    to behave slow when cache expires for all of them. Increasing `expire`
 
    option to day (86400) or a week (604800) will improve general response
 
    times for the main page
 

	
 
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
0 comments (0 inline, 0 general)