Streaming transfer mode.
By default, when the client and the service exchange messages, these messages are buffered on the receiving end and delivered only once the entire message has been received. This is true whether it is the client sending a message to the service or the service returning a message to the client.
WCF enables the receiving side (be it the client or the service) to start processing the data in the message while the message is still being received by the channel. This
type of processing is known as streaming transfer mode. With large payloads, streaming provides improved throughput and responsiveness because neither the receiving nor the sending side is blocked while the message is being sent or received.
Only the TCP, IPC, and basic HTTP bindings support streaming. With all of these
bindings streaming is disabled by default, and the binding will buffer the message in
its entirety even when a Streamis used. You have to enable streaming by setting the
TransferModeproperty according to the desired streaming mode.
WCF enables the receiving side (be it the client or the service) to start processing the data in the message while the message is still being received by the channel. This
type of processing is known as streaming transfer mode. With large payloads, streaming provides improved throughput and responsiveness because neither the receiving nor the sending side is blocked while the message is being sent or received.
Only the TCP, IPC, and basic HTTP bindings support streaming. With all of these
bindings streaming is disabled by default, and the binding will buffer the message in
its entirety even when a Streamis used. You have to enable streaming by setting the
TransferModeproperty according to the desired streaming mode.
댓글
댓글 쓰기