WCF NetTcpBinding Buffered vs Streamed performance problems
Posted
by DxCK
on Stack Overflow
See other posts from Stack Overflow
or by DxCK
Published on 2010-01-21T18:34:37Z
Indexed on
2010/03/29
19:33 UTC
Read the original article
Hit count: 1587
I wrote a WCF service that should transform any size of files, using the Streamed TransferMode in NetTcpBinding
, and System.IO.Stream
object.
When running performance test, i found significant performance problem. Then I decided to test it with Buffered TransferMode and saw that performance is two times faster!
Because my service should transfer big files, i just can't stay in Buffered TransferMode because of memory management overhead on big files at the server and client side together.
Why is Streamed TransferMode slower than the Buffered TransferMode? What can i do to make Stremed performance better?
© Stack Overflow or respective owner