-
Type: Improvement
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2021
-
Release Notes Summary:Live renditions are more scalable
-
Release Notes Description:
-
Tags:
-
Backlog priority:850
-
Sprint:nxplatform #90, nxplatform #91
-
Story Points:8
Scenario:
A large document that is viewed with PDF viewer is uploaded into Nuxeo.
Issues arise when multiple concurrent requests are made to access this document. Since, the blobs can be large in size it can take a while to get them from S3; If additional concurrent requests are made to the server at the same time, duplicate blob downloads for the same files are triggered from S3 and then once the blob retrieval from S3 is completed, the conversion process is then triggered on each of the duplicate blob that was downloaded.
As such, for instance if 10 concurrent requests are made by 10 users to the same server, the blob is downloaded 10 times from S3 and then the conversion process is started 10 times on each of the blob as well. This is an inherently expensive operation so causes the JVM to run out of heap memory and the nuxeo process to die
- causes
-
NXP-32053 New rendition adapter async behavior expects input document to hold a blob
- Resolved