Optimize the XTRF Platform performance

Hardware tips

Is the server's hardware configuration enough?

  • Consider moving your database and/or operating system files to SSD drives for much better performance.

  • As an alternative to SSD drives, you could use hardware RAID with a battery-backed write cache.


Software tips

  1. Is the database located on fast disks and properly tuned? Default installations of PostgreSQL, especially the older ones, have rather minimal memory allocation, performance may be improved by changing a few settings; see: http://wiki.postgresql.org/wiki/Performance_Optimization.
    In particular, you may want to change the following parameters in postgresql.conf:

    • work_mem = 32MB or even 64MB if you have a lot of memory (multiply this by 20 to get actual memory usage in peaks)

    • synchronous_commit = off

    • shared_buffers = 512MB or more, depending on available RAM

  2. Are memory settings in standalone.conf.local (Linux) /  standalone.local.bat (Windows) file correct?

  3. In the xtrfDatabaseConfig.xml file, the following line can be changed:

    • <entry key="maxPoolSize">30</entry>
      This increases the maximum database pool size from 20 (default) to 30. This may be necessary for installations with a large number of concurrent users. As a rule of thumb, there should be one connection for one concurrent home portal user and two connections for each CPU core on the server - whichever is higher.

  4. Make sure that the code cache and metaspace size are enough and that there are no overflows.

  5. Are there any unnecessary virtual columns in use? Using them may influence the whole system's speed and particularly slow down opening Browses in which they're enabled.

  6. Are there any unnecessary periodic jobs in use? Using them may influence the whole system's speed.

  7. Are there any external programs accessing XTRF API? Turning them off may speed up the system.

  8. Is History turned on? Turning it off will speed up the system.


Restart Your XTRF Platform Regularly

The best way to ensure that the XTRF Platform runs smoothly is to restart it regularly. It is strongly recommended that the XTRF Platform be restarted once a week. Even if your server machines are fast and follow the enterprise-class standard, this action closes all running software fixing troublesome issues. The restarting action allows you to clear out a server's memory and shut down any unruly processes and services.

The recommended way to restart your XTRF periodically is to install the latest patch version each time.