Skip to content

Prevent Blobclient.uploadFromFile overuse of I/O resources #44570

Open
@boje-stibo

Description

@boje-stibo

Query/Question
We have an in-house developed Java application utilizing the Azure SDK for uploading backups of our Cassandra database.

We recently removed a rate-limiter from our application, as it lead to thread leakage (TrackingID#2412170050002232).
As a result, we are now concerned about the usage of resource, in particular Disk I/O and Network Bandwidth.

We are concerned that uploading backups could lead to performance issues for the Cassandra Database (located on the same servers as the application).

Is there a way to limit the resources used by the Azure SDK?

For additional context, we are using Blobclient.uploadFromFile(<file_path>, overwrite:true), and are not overriding any TransferOptions.

Files very in size from a few GB upwards of 4 TB.

Why is this not a Bug or a feature Request?
The upload is functional. We simply need advice on resouce management.

Setup (please complete the following information if applicable):

  • OS: CentOS Linux
  • IDE: IntelliJ
  • Library/Libraries: com.azure:azure-storage-blob:12.25.4

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [ X] Query Added
  • [ X] Setup information Added

Metadata

Metadata

Assignees

No one assigned

    Labels

    StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions