Skip to content

Conversation

@nickliu-msft
Copy link
Member

@nickliu-msft nickliu-msft commented Dec 10, 2025

Updated the default concurrency count. Also included compat switch logic to toggle back to previous default.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Dec 10, 2025
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.Storage.Blobs
Azure.Storage.Common

1 similar comment
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.Storage.Blobs
Azure.Storage.Common

@nickliu-msft nickliu-msft changed the title Updated Default Concurrency to Processor count Updated Default Concurrency count Dec 11, 2025

private readonly ArrayPool<byte> _arrayPool;

private readonly int DefaultConcurrentTransfersCount = Math.Min(Math.Max(Environment.ProcessorCount * 2, 8), 32);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentionally had to do this since Math.Clamp() is not supported for netstandard2.0 and earlier

Copy link
Member

@jaschrep-msft jaschrep-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick suggestions. looks fine otherwise.

@nickliu-msft nickliu-msft merged commit a389c3e into Azure:feature/storage/stg101base Dec 12, 2025
15 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants