projectdoc Toolbox

Have you ever experienced performance problems with your Confluence on premise (Server) installation? This tip might help you.

Parent
Audience
Level of Experience
Expected Duration
25 min
Tags
Type
Contents

Confluence together with the projectdoc Toolbox makes it easy to handle and maintain your documents. But sometimes you run into trouble. Your Confluence on-premise (server) installation seems to slow down. Saving a page or opening pages with many excerpt include macros (we call them transclusions and have the specialized Transclusion Macro for this and many other use cases) becomes very slow. But who is the culprit? Is it really your page with the macros you are using or is it something else (e.g. slow database, inappropriate configuration of your JVM)?

JavaMelody

JavaMelody might help you! Since 2010 also available for Atlassian products as an add-on.

Just install the JavaMelody Monitoring Plugin using this Installation Guide.

The purpose of JavaMelody is to monitor Java or Java EE applications in test and production environments. It is not a tool to simulate requests from users. It is a tool to measure and calculate statistics on real operation of an application depending on its actual usage.

JavaMelody is open-source (ASL) and production-ready: used in production in an application of 25 person years worth development time. JavaMelody is easy to integrate in most applications and is lightweight (no profiling and no database).


Statistics screenshot of a JVM with JavaMelody (more charts)

JavaMelody : monitoring of JavaEE applications. https://github.com/javamelody/javamelody/wiki

JavaMelody for Atlassian Products

Three short tips on using JavaMelody with Atlassian products:

  1. If you set the JavaMelody parameter -Djavamelody.jmx-expose-enabled=true for your JVM, then MBeans are provided by JavaMelody to make aggregated statistics data about requests available. For more information on this parameter, please refer to UserGuideAdvanced.
  2. You should use a datasource for your Atlassian product and not a direct JDBC connection to get database statistics with JavaMelody. See UserGuide.
  3. Finally: read the UserGuide of JavaMelody! (smile)

Performance Tips for the projectdoc Toolbox

Three tips on performance and the projectdoc Toolbox:

Resources

For more information on caching and performance, follow these links:

Increasing the Document Cache
If you have lots of projectdoc documents then the in-memory properties cache might not perform optimal.