-
Notifications
You must be signed in to change notification settings - Fork 0
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
Verify pipelining is happening #1
Comments
So it doesn't seem to be happening, and I'm guessing this is for a couple of reasons:
I'll check these both out. |
Ok so 1 is defunct. So for concurrency, spin up the futures (which in this case is putting a message on a queue). Then poll the futures that already exist. 2 is correct, there isn't actually pipelining going on through wakeups because the machine isn't being woken up while in progress. I might have a look at this or just look at prototyping a client with |
Here's a neat idea: Use the We can then either handle them directly through the stream, or stick them on a queue that a bunch of connections can fight over. The queue would need to participate in back pressure. |
So
rotor
should be able to pipeline requests over a single connection. I'm assuming by just spinning off a new request with the same connection, but I'm not really sure.This needs to be measured, maybe using a tool like clumsy on Windows (there's probably a nix alternative, but I'm not aware of it) to slow the requests right down and timing when they start vs complete.
The text was updated successfully, but these errors were encountered: