I'm using a WCF service with netNamedPipeBinding to transfer a large amount of data (very long list of objects) to the client (which is on the same machine, off course). The problem is that it takes around 20 seconds for the entire call to transfer ~250MB of data, which is about 10+MB per second. I expected the transfer rates to be much much faster when sharing memory. Does anyone know how can I improve my performance and transfer rate? Here is my app.config file:
<netNamedPipeBinding>
<binding name="NetNamedPipeBinding_IDataService" closeTimeout="00:10:00"
openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647"
maxBufferSize="2147483647" maxConnections="10" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="4096" maxNameTableCharCount="2147483647" />
<security mode="Transport">
<transport protectionLevel="None" />
</security>
</binding>
</netNamedPipeBinding>
Thanks a lot!