Refactoring: Moved more application check parameters from unsorted.py to dedicated...
[check_mk.git] / .werks / 3730
blobc9dd425c75b80c5929e52d5e50d0b46ba2eb823e
1 Title: Improved GUI performance in case of different languages used by users
2 Level: 1
3 Component: multisite
4 Compatible: compat
5 Version: 1.4.0i1
6 Date: 1470052655
7 Class: fix
9 In case there are users using different languages in the GUI, the interface could load
10 slower since the GUI needs to re-initialize different code parts (multisite plugins) each
11 time a user with a different language accesses the GUI.
13 In technical detail: Each apache process has one Python interpreter which serves the
14 Check_MK GUI. Once a request arrives, the whole GUI code is loaded in the language
15 of the user. This loaded GUI is cached until a user with another language requests
16 a page from this apache process. The cache needs to be renewed then. This takes a
17 lot longer than simply using the cache.
19 We have now improved the situation by routing the requests to language dependent,
20 so called, sub interpreters. Each apache process can now have a default language 
21 (english) interpreter and an e.g. German language sub interpreter which each have
22 caches on their own and thus never need to reinitialze their cached GUI now.