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/10/24 15:02:00 UTC
[jira] [Closed] (OAK-9936) Optimize AzureJournalWriter#batchWriteLines()
[ https://issues.apache.org/jira/browse/OAK-9936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlo Jelmini closed OAK-9936.
------------------------------
> 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)