[ 
https://issues.apache.org/jira/browse/OAK-9936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlo Jelmini resolved OAK-9936.
--------------------------------
    Resolution: Fixed

> 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
>            Assignee: Miroslav Smiljanic
>            Priority: Major
>             Fix For: 1.46.0
>
>
> 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)

Reply via email to