Skip to content

Use new System.IO.Pipelines API / Project Bedrock #132

Open
@bchavez

Description

Benefits

  • Pooled memory management reducing allocations.
  • Instead of current message pump design of pulling/pushing bytes out of a NetworkStream and using CancellationTokenSource; we can leverage some of the low-level network code that ASP.NET Core is using.
  • Should allow us to consolidate/delete a lot of code in SocketWrapper.cs.
  • Should help us get the best performance out of the driver from the network when implementing Investigate "t" Response Type Ordering for Crazy Fast Response Routing #77.

Disadvantages

  • Requires .NET Core 2.1 (I think)

References

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions