[Bug?/Feature request] Table storage request concurrency
See original GitHub issueHello,
I have been working with your latest azure storage library (7.1.3-preview) in order to implement a library that supports both the full .NET and .NET Core.
Specifically I am working with Azure Table Storage and related APIs.
Previously, the recommended approach to get full performance out of the client library when you make a lot of small requests, was to increase the following property on the ServicePointManager:
ServicePointManager.DefaultConnectionLimit = 100;
However, this class does not exist in .NET Core anymore and the new recommended approach is to use the WinHttpHandler class when you make your requests with an HttpClient, which now has a property called MaxConnectionsPerServer.
Now while I do find the change of API great (no longer needing to use a static class), it kinda leaves me wondering, how do I achieve the same thing with the WindowsAzure.Storage nuget package, which I can only assume uses the HttpClient under the hood, where I have no way of accessing it.
To point out the problem, as it stands right now, if I use my library in a full .NET application using the ServicePointManager, I am able to achieve about twice the performance compared with a .NET Core version.
Something to think about. Or maybe this is already available, and I simply don’t know where/how?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Hi @goncalo-oliveira, @MikaelGRA,
Looks like the code for missing functionality has been ported (see here) in CoreFx repo, however we can not provide exact timelines about the public availability on all platforms.
Based on our initial assessments with Netstandard2.0, we expect almost all of the missing features from Netstandard/NetCore to be added as well helping with our parity objective 😃
I will update this thread once we have more updates.
Thanks, Elham
Table support has moved to the CosmosDB NuGet package. Please follow up there.
https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Table