Timothee Maret created SLING-5990: ------------------------------------- Summary: [SCD] FileBackedMemoryOutputStream is 10x slower than file buffering for large files Key: SLING-5990 URL: https://issues.apache.org/jira/browse/SLING-5990 Project: Sling Issue Type: Bug Components: Distribution Affects Versions: Content Distribution 0.2.0 Reporter: Timothee Maret Assignee: Timothee Maret Fix For: Content Distribution 0.2.0
When doing performance test SDC agents and the following configuration, the distribution is ~10x slower than when using a regular file buffering method. The parameters are the following * fileThreashol = 1 * memoryUnit = MB * useOffHeapMemory = false * tempDirectory = null * fileName = distrpck-create- * fileExtension = .default The size of the binary is 80MB. With the setup, it takes 12-14sec to replicate With a simple FileOutputStream mechanism, it takes around 1.4 sec to replicate -- This message was sent by Atlassian JIRA (v6.3.4#6332)