WCF - what is the fastest binding?

后端 未结 2 1480
时光取名叫无心
时光取名叫无心 2021-01-31 19:18

I currently have a WCF service which uses BasicHTTP binding, and is wrapped with a secure router/firewall (PFSense).

I have heard that there is a faster binding than Bas

2条回答
  •  忘了有多久
    2021-01-31 19:43

    On the same machine you can use NetNamedPipeBinding for maximum performance.

    Decision Points for Choosing a Transport

    Throughput measures the amount of data that can be transmitted and processed in a specified period of time. Like latency, the chosen transport can affect the throughput for service operations. Maximizing throughput for a transport requires minimizing both the overhead of transmitting content as well as minimizing the time spent waiting for message exchanges to complete. Both the TCP and named pipe transports add little overhead to the message body and support a native duplex shape that reduces the wait for message replies.

提交回复
热议问题