You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that each time a write request to transport in RPC client, the poll_flush method will be called by the pump_write of RequestDispatch. This approach may not be cache friendly. I wrote a quick demo using start_send in a loop to mimic multiple requests and then pull_flush all these requests in one try.
In my demo, pump_write no longer writes one request at a time but it's writing requests all the time. Same with pump_read. If you think this is the right approach, I'm more than happy to submit a PR for this.
The text was updated successfully, but these errors were encountered:
Hi,
Big fan of this repo.
I found that each time a write request to transport in RPC client, the poll_flush method will be called by the
pump_write
ofRequestDispatch
. This approach may not be cache friendly. I wrote a quick demo usingstart_send
in a loop to mimic multiple requests and then pull_flush all these requests in one try.In my demo,
pump_write
no longer writes one request at a time but it's writing requests all the time. Same withpump_read
. If you think this is the right approach, I'm more than happy to submit a PR for this.The text was updated successfully, but these errors were encountered: