8000 Rework MultiPart FormParser to use threadpool by HonakerM · Pull Request #2926 · encode/starlette · GitHub
[go: up one dir, main page]

Skip to content

Rework MultiPart FormParser to use threadpool #2926

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

Closed

Conversation

HonakerM
Copy link
Contributor
@HonakerM HonakerM commented Apr 17, 2025

Summary

This is a draft PR to demonstrate the changes described in this discussion: #2927. It moves the multi-part form parsing into a background thread to free the main thread to respond to other requests.

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

Signed-off-by: Michael Honaker <Michael.Honaker@ibm.com>
Signed-off-by: Michael Honaker <Michael.Honaker@ibm.com>
@HonakerM
Copy link
Contributor Author

This is still in draft as I'm working on optimizing the thread usage and fixing tests. This is more of a POC

@Kludex
Copy link
Member
Kludex commented May 2, 2025

@Kludex Kludex closed this May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0