WCF is slow when reliable session is ON and with burst async request

前端 未结 3 1943
别那么骄傲
别那么骄傲 2020-12-18 09:24

For experiments, I created a simple \"Hello World\" WCF service and client using .NET 4.5 on VS2012. The server is hosted on a console application and use net.tcp binding. I

3条回答
  •  伪装坚强ぢ
    2020-12-18 09:34

    Look at this...

    "Setting MaxTransferWindowSize

    Reliable sessions in Windows Communication Foundation (WCF) use a transfer window to hold messages on the client and service. The configurable property MaxTransferWindowSize indicates how many messages the transfer window can hold.

    On the sender, this indicates how many messages the transfer window can hold while waiting for acknowledgements; on the receiver it indicates how many messages to buffer for the service..."

    Source "MSDN: Best Practices for Reliable Sessions": http://msdn.microsoft.com/en-us/library/ms733795.aspx

提交回复
热议问题