[ 
https://issues.apache.org/jira/browse/OAK-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916280#comment-16916280
 ] 

Matt Ryan commented on OAK-8552:
--------------------------------

Another option (mentioned in offline conversation w/ [~alexander.klimetschek]) 
would be somewhat of a combination of 2 and 3 in the previous comment.  In this 
case we would allow clients via the API to specify that they want an existence 
check performed before generating the URI.  The default would be to not check 
for existence.

This way clients would be able to specify whether they want an existence 
guarantee and are willing to pay the performance hit.

We could do this via the {{BinaryDownloadOptions}} object, perhaps via a new 
interface so we can avoid making a breaking API change?

> Minimize network calls required when creating a direct download URI
> -------------------------------------------------------------------
>
>                 Key: OAK-8552
>                 URL: https://issues.apache.org/jira/browse/OAK-8552
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: blob-cloud, blob-cloud-azure
>            Reporter: Matt Ryan
>            Assignee: Matt Ryan
>            Priority: Major
>         Attachments: OAK-8552_ApiChange.patch
>
>
> We need to isolate and try to optimize network calls required to create a 
> direct download URI.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to