Wiki source code of Infra
Last modified by Thomas Mortagne on 2020/05/20 15:59
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | This page give details related to the setup sustaining myxwiki.org which is used by the XWiki Dev Team as a real life test of a very big XWiki instance. | ||
2 | |||
3 | = Numbers | ||
4 | |||
5 | MyXWiki.org is a single XWiki instance currently containing **{{velocity}}$services.wiki.allIds.size(){{/velocity}}** wikis. | ||
6 | |||
7 | = Container and hardware | ||
8 | |||
9 | * maximum memory allocated to the JVM: 2048m (not huge but one of the points of MyXWiki.org is to make sure XWiki is not too bad at scaling it term of memory) | ||
10 | * 5 vCPU of 2.8GHz | ||
11 | * installed/upgraded using XWiki Debian packages | ||
12 | * MariaDB 10.3 | ||
13 | * Tomcat 9 | ||
14 | |||
15 | = Performance related customizations | ||
16 | |||
17 | == Remote Solr instance | ||
18 | |||
19 | The kind of volume myxwiki.org have to deal with does not fit well with the Solr embedded mode so we had to use a dedicated Solr standalone instance located on a different server. | ||
20 | |||
21 | * maximum memory allocated to Solr JVM: 2048m | ||
22 | * 2 vCPU of 2.8GHz | ||
23 | |||
24 | == xwiki.cfg | ||
25 | |||
26 | * ##xwiki.store.cache.capacity=800## | ||
27 | * ##xwiki.store.migration=0## (checking migration status takes a very long time with so many wikis and would impact restarts too much) | ||
28 | * ##xwiki.stats=0## | ||
29 | |||
30 | == xwiki.properties | ||
31 | |||
32 | * ##notifications.rest.poolSize=4## | ||
33 | |||
34 | == hibernate.cfg.xml | ||
35 | |||
36 | * ##<property name="hibernate.dbcp.maxTotal">200</property>## | ||
37 | * ##<property name="hibernate.dbcp.maxIdle">20</property>## | ||
38 | |||
39 | = Other interresting customizations | ||
40 | |||
41 | = xwiki.cfg | ||
42 | |||
43 | * ##xwiki.virtual.failOnWikiDoesNotExist=1## | ||
44 | * ##xwiki.virtual.usepath=0## | ||
45 | * ##xwiki.authentication.cookiedomains=myxwiki.org## | ||
46 | |||
47 | = xwiki.properties | ||
48 | |||
49 | * ##wiki.alias.suffix=myxwiki.org## | ||
50 | * ##logging.deprecated.enabled=false## |