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

binder: Invoke onTransportReady() in a round-robin fashion. #8835

Merged
merged 1 commit into from
Jan 14, 2022
Merged

binder: Invoke onTransportReady() in a round-robin fashion. #8835

merged 1 commit into from
Jan 14, 2022

Commits on Jan 14, 2022

  1. Invoke onTransportReady() in a round-robin fashion.

    Also call onTransportReady() only if isReady() still holds by the time
    we get to a given Inbound. This dramatically reduces timeouts and
    improves throughput when flow control has kicked in.
    
    This approach is still not completely fair since each ongoing call might
    consume a different amount of window on its turn, but because of the way
    Outbound#writeMessageData() and BlockPool already work, everyone gets to
    send at least 16kb.
    jdcormie committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    a0a25df View commit details
    Browse the repository at this point in the history