Nuxeo Server

Performance Recommendations

Here is a non-exhaustive list of recommendations to get better performance:

  • If you are doing an NXQL query that involves custom schemas you may need to add custom indexes to make the request efficient. You can trace the slow NXQL queries using NXP-14845.
  • Try to switch all page providers to Elasticsearch.
  • Use groups to manage ACLs. Adding a user to a group is free, but adding a user in an ACL at the document root level has a cost because optimized read ACLs need to be recomputed for all documents under the root.
  • Disable listeners that are not used (see the perf template above).
  • Use BIGINT document identifier instead of default UID. This is done by adding a <idType>sequence</idType> in the repository contribution).
  • Turn the Elasticsearch translog to async for all index (NXP-25587).

  • Tune the Elasticsearch settings and mappings:

    • Remove the html_strip char filters if not needed (on repository and audit index), its indexing cost is high on CPU.
    • Remove the ecm:binarytext fulltext index if highlights are no needed.
       
  • Disable audit log on loginSuccess (see the perf template above).
  • Increase the audit writer batch size (nuxeo.stream.audit.batch.size).
  • Consider disabling the OS swapping (sudo swapoff -a) or try to lower the swappiness (vm.swappiness=1).
  • Check the network latency between the application and the database.
  • Monitor everything: JVM, GC, VCS cache hit ratio, database, system.

11 days ago Manon Lumeau Fix wording
3 years ago Benoit Delbosc 15 | dd a note about redis invalidation in cluster mod
3 years ago Benoit Delbosc 14
4 years ago Solen Guitter 13
4 years ago Florent Guillaume 12
4 years ago Solen Guitter 11
5 years ago Manon Lumeau 10
5 years ago Benoit Delbosc 9
5 years ago Benoit Delbosc 8
5 years ago Benoit Delbosc 7
6 years ago Solen Guitter 6 | Formatting
6 years ago Benoit Delbosc 5
6 years ago Solen Guitter 4
6 years ago Solen Guitter 3 | Added ImageMagick configuration
6 years ago Solen Guitter 2
6 years ago Solen Guitter 1
History: Created by Solen Guitter

We'd love to hear your thoughts!

All fields required