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

AWS S3: use strict http entity for in-memory chunks #2703

Merged
merged 2 commits into from
Aug 19, 2021

Conversation

phiSgr
Copy link
Contributor

@phiSgr phiSgr commented Jul 15, 2021

We seem to hit a very peculiar bug where the HTTP pool is stuck in the WaitingForEndOfRequestEntity state.
It's sort of a workaround for that as strict entities don't go that state.

Regardless, I believe using a strict entity should be good for performance.

If this is a change that can be merged, I will update the test code.

@phiSgr phiSgr marked this pull request as ready for review July 15, 2021 20:53
@phiSgr phiSgr changed the title uses strict http entity for memory chunk uses strict http entity for s3 in-memory chunk Jul 15, 2021
Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

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

Thank you for digging this up. Looks good to make it aware of strict entities.
Please go ahead with some tests.

@phiSgr phiSgr force-pushed the s3-memory-strict branch from 12220ff to 89ccb88 Compare July 20, 2021 05:58
Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

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

LGTM.

@ennru ennru added this to the 3.0.4 milestone Aug 19, 2021
@ennru ennru changed the title uses strict http entity for s3 in-memory chunk AWS S3: use strict http entity for in-memory chunks Aug 19, 2021
@ennru ennru merged commit ceaa570 into akka:master Aug 19, 2021
@ennru
Copy link
Member

ennru commented Aug 19, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants