Joao Paiva
Joao Paiva
Interesting findings @henning-krause! Writing very small chunks to Network stream is not good either. But caching the entire payload in memory, regardless of the size, it can put a lot...
> The question is, why is the AsyncBufferedStream required at all. The .net BufferedStream is far more optimized and allows a better Async utilization. The AsyncBufferedStream currently lacks optimizations in...
`Well, ASP.NET Core OData 8 implements a hack to get around this issue. It has a [StreamWrapper](https://github.com/OData/AspNetCoreOData/blob/main/src/Microsoft.AspNetCore.OData/Formatter/ODataOutputFormatterHelper.cs#L244) that implements synchronous I/O calls like Flush() using blocking async calls calls like...