Skip to content

Converge the buffer parameter and op, or not #15218

@lambdai

Description

@lambdai

Userspace Io Handle is following the IoSocketHandle pattern right now.

  1. Respect the watermark.
  2. Reserve and read. The reserve is an op that computing the upper limit of a move.

This io handle is not used anywhere until a specialized listener and connection factory is landed.

Create this issue to explore after

  1. How to improve the reserve-and-read? Do we want to use the exact value in socket handle?
  2. Since the internal socket represents a hidden and extra chain node betweens the downstream socket and upstream socket, should we aim at downstreamsocket to upstream socket fairness, or os socket to internal socket fairness?

Once we understand it, the next step is to either unify the buffer parameters(remove duplication definition) or admit the exception at the internal userspace socket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions