Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

AzCopy-like sample using non-allocating APIs and pipelines #2118

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

KrzysztofCwalina
Copy link
Member

@KrzysztofCwalina KrzysztofCwalina commented Feb 13, 2018

@joshfree, @davidfowl, @JeffreyRichter, @ahsonkhan, @shiftylogic, @terrajobst, @davidsh, @stephentoub, @rmkerr

@davidsh, @rmkerr, you might want to take a look how this sample avoids lots of allocations during requests and responses, e.g. only headers the code cares about are parsed. Of course, the programming model is not as convinient as HttpClient, but if you want to optimize as the cost of usability, such API might be quite nice. See StorageResponse struct for details. Similarly, headers writing (in request) is done with close to zero allocations, see GetFileRequest struct.

@KrzysztofCwalina KrzysztofCwalina merged commit 0d94c3a into dotnet:master Feb 13, 2018
@davidfowl
Copy link
Member

👏

@KrzysztofCwalina KrzysztofCwalina deleted the AzCp branch February 20, 2018 22:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants