-
Notifications
You must be signed in to change notification settings - Fork 6
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
Collections API: Reduce Blocking #67
Comments
See related comment in original issue: #47 (comment) |
Even with blocking operations within the scope of a single request/response cycle, we should be able to handle multiple requests in parallel due to the thread pool managed by Akka HTTP to handle connections. You're saying that things block at 2 requests, or when the Akka HTTP thread pool is saturated? |
From a comment on #47 (here #47 (comment)):
The comment has more detail, but as part of this issue we should update each of the codepaths to interlace |
It felt like it was blocking at 2 requests when given a very large input, but that may be because of CPU overutilization than thread pool saturation. |
Collections API: Use Futures Connects #67
Currently, the model calls seem to be blocking, so when faced with a large long-running requests, shorter requests have to wait for them to finish.
Investigate returning a
Future
instead, so the requests can be made lock-free.The text was updated successfully, but these errors were encountered: