Tuning Export Performance
Info
This feature has been introduced with Scroll Exporters version 3.4.2
The Scroll Exporters use a separate pool of worker threads that handle all the export requests.
- The size of this pool determines how many exports can be performed at the same time.
- While you can start any number of exports at the same time, the export requests will be queued until one of the worker threads picks them up.
- By default, the pool contains 4 threads, i.e. 4 exports can be performed at the same time.
Confluence administrators can configure the size of this pool by setting a custom Java System Property in the Confluence startup scripts.
Note
Please note that increasing this number may have a negative impact on your overall Confluence performance.
There's no rule of thumb for the ideal number of threads. Please always test the performance of your Confluence system after any change in the number of threads.
The CPU time is limited and the more export threads you configure the less CPU time is available for other threads, for example the web worker threads that handle the Confluence web requests when opening a page.
For Scroll EPUB Exporter set this property: com.k15t.scroll.scroll-epub.export-worker-count
Example
-Dcom.k15t.scroll.scroll-epub.export-worker-count=8
Don't forget to restart Confluence after setting the system property.