Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

High performance IO with System.IO.Pipelines

Play High performance IO with System.IO.Pipelines
Sign in to queue

Description

System.IO.Pipelines was born from the work the .NET Core team was doing to make it easier to do high performance IO in .NET.

In this episode, Pavel Krymets (@pakrym) and David Fowler (@davidfowl) come on the show to give us an overview of how the Pipelines programming model works, as well as give show us a few demos on how to use the API.

  • [00:26] - What's the rationale being System.IO.Pipelines?
  • [02:10] - Performance comparison between Pipes and Streams
  • [04:17] - Concerns with working with Stream
  • [09:42] - Moving to Pipes
  • [13:45] - Client Server demo
  • [22:16] - How might Pipes work with C# 8 IAsyncEnumerable?
  • [26:04] - Reducing allocations
  • [28:46] - Getting started with Pipelines

Useful Links

Embed

Download

The Discussion

  • User profile image
    AceHack

    Would really like to see pipes used in http2 multiplexing client

  • User profile image
    jean

    " What's the rationale being System.IO.Pipelines?"

    I think you meant rationale behind....

  • User profile image
    ryan

    This is amazing guys. Truly you understand the problem with writing high performance code in dot net. I'm dealing a lot in web sockets and tcp\ip streams, this is going to make my life so much easier.

    I CAN"T WAIT FOR HTTPCONTEXT REQUEST BODY PIPE!!!!!!!!!!!!!!!!!

Add Your 2 Cents