You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Carlo Jelmini (Jira)" <ji...@apache.org> on 2022/09/13 09:27:00 UTC

[jira] [Created] (OAK-9936) Optimize AzureJournalWriter#batchWriteLines()

Carlo Jelmini created OAK-9936:
----------------------------------

             Summary: Optimize AzureJournalWriter#batchWriteLines()
                 Key: OAK-9936
                 URL: https://issues.apache.org/jira/browse/OAK-9936
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-azure
    Affects Versions: 1.44.0
            Reporter: Carlo Jelmini


The implementation of {{AzureJournalWriter#batchWriteLines}} (inside {{{}AzureJournalFile{}}}) is very inefficient. If the batch size is high, it can take minutes to complete. The issue is that {{batchWriteLines()}} simply delegates to {{{}writeLine(){}}}, which uploads each single line (and metadata) to the blob.

We should implement {{batchWriteLines() }}by uploading multiple lines in one call.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)