.net - Data transfer slows over time in sending data to a WCF service from WCF client (NET.TCP binding) -
i have wcf client establishes connection wcf server. when start host app client works fine , receives , responds requests in timely fashion. after minute or , increased load process slows crawl.
ive traced problem time takes send response wcf server. sending simple text (not more 2 kb) taking 10-15 seconds , longer that.
the wcf server running fine (as far know)
are there specific setting can tweak might speed throughput or correct situation ?
the services communiate net.tcp binding. here config settings
<system.servicemodel> <bindings> <nettcpbinding> <binding name="nettcpbinding_comms" closetimeout="00:01:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00" transactionflow="false" transfermode="buffered" transactionprotocol="oletransactions" hostnamecomparisonmode="strongwildcard" listenbacklog="500" maxbufferpoolsize="524288" maxbuffersize="65536" maxconnections="500" maxreceivedmessagesize="65536"> <readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384" maxbytesperread="4096" maxnametablecharcount="16384"/> <reliablesession ordered="true" inactivitytimeout="00:10:00" enabled="false"/> <security mode="none"> <transport clientcredentialtype="windows" protectionlevel="encryptandsign"/> <message clientcredentialtype="windows"/> </security> </binding> </nettcpbinding> </bindings> <client> <endpoint address="net.tcp://a.b.com:9150/comms/" binding="nettcpbinding" bindingconfiguration="nettcpbinding_comms" contract="outside.comms" name="nettcpbinding_comms"> <identity> <dns value="a.b.com"/> </identity> </endpoint> </client> </system.servicemodel>
Comments
Post a Comment