サービスにリクエストを送信するWCFクライアントがあります。そして、私のビジネスコードは、クライアントAPIを呼び出して、1秒あたり300以上のリクエストを送信します。しかし、私のクライアントは、私のサービスとWCF ServicePointのパフォーマンスカウンターに従って、約50をサービスに送信するだけです。
また、コードでServicePointManager.DefaultConnectionLimitを1000に増やし、サービス構成ファイルでmaxConCurrentCallsを1000に設定しましたが、ほとんど改善されていません。
WCFクライアントに送信要求のキューがある可能性があります。それを構成してクライアントを高速化する方法はありますか?
クライアントの構成は次のとおりです。
<basicHttpBinding>
<binding name="Binding" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2000000" maxBufferPoolSize="524288" maxReceivedMessageSize="2000000"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>