Skip to content

Duplex ringbuffer for client connection instead of socket #436

Description

@Eeems

A ringbuffer for requests and a ringbuffer for responses would be interesting. Similar to io_uring. The only issue is that the current protocol has variable sized packets which would not work with the ringbuffer implementations.

If the protocol could support data sizes, perhaps with some other mechanism to transmit the packet body, the headers could be zero copy, but some care would be needed on the consumer end to block until it's done working with the header. Probably not really worth it for how light the headers are.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestto-triageThis needs to be triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions