-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.10-HF25
-
Fix Version/s: None
-
Component/s: Performance, Web API (REST or WS*), Web UI
-
Epic Link:
-
Tags:
Context
After adding a few millions of documents inside the repository, the web-ui becomes slow to display some page.
Enrichers
When webui does the REST call to retrieve the data, it asks for a lot of enrichers
curl -u bench-admin:***** 'https://benchmark.beta.nuxeocloud.com/nuxeo/api/v1/path/default-domain/2016/April-2016' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'enrichers-blob: appLinks' -H 'enrichers-document: hasContent,firstAccessibleAncestor,permissions,breadcrumb,preview,favorites,subscribedNotifications,thumbnail,renditions,pendingTasks,runnableWorkflows,runningWorkflows,collections,audit,subtypes,tags,publications' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' -H 'fetch-task: actors' -H 'Content-Type: application/json' -H 'translate-directoryEntry: label' -H 'accept: text/plain,application/json, application/json' -H 'Sec-Fetch-Dest: empty' -H 'fetch-directoryEntry: parent' -H 'properties: *' -H 'fetch-document: properties,lock' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-Fetch-Mode: cors' --compressed
Execution time: 60579 ms
Removing all enrichers
curl -u bench-admin:**** 'https://benchmark.beta.nuxeocloud.com/nuxeo/api/v1/path/default-domain/2016/April-2016' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'enrichers-blob: appLinks' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' -H 'fetch-task: actors' -H 'Content-Type: application/json' -H 'translate-directoryEntry: label' -H 'accept: text/plain,application/json, application/json' -H 'Sec-Fetch-Dest: empty' -H 'fetch-directoryEntry: parent' -H 'properties: *' -H 'fetch-document: properties,lock' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-Fetch-Mode: cors' --compressed
Execution time: 168 ms
Removing just the `publications` enricher
curl -u bench-admin:**** 'https://benchmark.beta.nuxeocloud.com/nuxeo/api/v1/path/default-domain/2016/April-2016' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'enrichers-blob: appLinks' -H 'enrichers-document: hasContent,firstAccessibleAncestor,permissions,breadcrumb,preview,favorites,subscribedNotifications,thumbnail,renditions,pendingTasks,runnableWorkflows,runningWorkflows,collections,audit,subtypes,tags' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' -H 'fetch-task: actors' -H 'Content-Type: application/json' -H 'translate-directoryEntry: label' -H 'accept: text/plain,application/json, application/json' -H 'Sec-Fetch-Dest: empty' -H 'fetch-directoryEntry: parent' -H 'properties: *' -H 'fetch-document: properties,lock' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-Fetch-Mode: cors' --compressed
Execution time: 219 ms