Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: avoid fetching body in memory during data plane proxy call #3827

Merged

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Feb 5, 2024

What this PR changes/adds

Use the AsyncStreamingDataSink in the DataPlanePublicApiController, to avoid buffering response body in memory.

Why it does that

optimization, permit long-running calls

Further notes

Linked Issue(s)

Closes #3826

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added the enhancement New feature or request label Feb 5, 2024
@ndr-brt ndr-brt force-pushed the 3826-optimize-outputstreamdatasink branch 4 times, most recently from 385848a to da753e5 Compare February 6, 2024 11:23
@ndr-brt ndr-brt force-pushed the 3826-optimize-outputstreamdatasink branch from da753e5 to 0680685 Compare February 6, 2024 11:31
@ndr-brt ndr-brt marked this pull request as ready for review February 6, 2024 12:30
Copy link
Contributor

@wolf4ood wolf4ood left a comment

Choose a reason for hiding this comment

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

🚀

@ndr-brt ndr-brt merged commit 3b3c00c into eclipse-edc:main Feb 6, 2024
19 checks passed
@ndr-brt ndr-brt deleted the 3826-optimize-outputstreamdatasink branch February 6, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OutputStreamDataSink is fetching response body in memory
4 participants