Performance IP F5 WCF绑定大,性能差
当使用带有负载平衡器的NetCpBinding的WCF时,我面临性能不佳的问题 我们有一个win form应用程序,它使用WCF(net.tcp协议)。在生产中,我们有一个web服务器场,它有3台带有负载平衡器(F5)的服务器。托管在IIS中的WCF。我们只使用1个用户进行测试 现在,当我们将WCF指向特定服务器时(使用服务器名称或IP);应用程序的性能确实很好。然而,当我们给出DNS名称(以便请求通过负载平衡器)时,性能会显著下降。网络团队表示,从那边看,一切正常。请帮忙 以下是我在WCF web.config文件中的配置Performance IP F5 WCF绑定大,性能差,performance,wcf,nettcpbinding,f5,Performance,Wcf,Nettcpbinding,F5,当使用带有负载平衡器的NetCpBinding的WCF时,我面临性能不佳的问题 我们有一个win form应用程序,它使用WCF(net.tcp协议)。在生产中,我们有一个web服务器场,它有3台带有负载平衡器(F5)的服务器。托管在IIS中的WCF。我们只使用1个用户进行测试 现在,当我们将WCF指向特定服务器时(使用服务器名称或IP);应用程序的性能确实很好。然而,当我们给出DNS名称(以便请求通过负载平衡器)时,性能会显著下降。网络团队表示,从那边看,一切正常。请帮忙 以下是我在WCF w
<system.serviceModel>
<diagnostics performanceCounters="All" />
<services>
<service behaviorConfiguration="GetProxyEnabled" name="companyname.InvOps.ServiceLayer.PAServiceServer">
<host>
<baseAddresses>
<add baseAddress="net.tcp://USHOUIOWEB012VT/PAService"/>
<!--<add baseAddress="net.tcp://xxx.uat.companyname.net/PAService/"/>-->
</baseAddresses>
</host>
<endpoint address="netTcpAddress" behaviorConfiguration="NetTcpEndPointBehaviour" binding="netTcpBinding" bindingConfiguration="NetTcpBinding" contract="companyname.InvOps.ServiceLayer.IPAService" />
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="GetProxyEnabled">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<serviceThrottling maxConcurrentCalls="200" maxConcurrentInstances="400" maxConcurrentSessions="200"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="NetTcpEndPointBehaviour">
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
</behavior>
</endpointBehaviors>
</behaviors>
<bindings>
<netTcpBinding>
<binding name="NetTcpBinding"
closeTimeout="05:45:00"
openTimeout="05:45:00"
receiveTimeout="05:45:00"
sendTimeout="05:45:00"
transactionFlow="false"
transferMode="Buffered"
transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard"
listenBacklog="10"
maxBufferPoolSize="2147483647"
maxBufferSize="2147483647"
maxConnections="10"
maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="32"
maxStringContentLength="2147483647"
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
<reliableSession ordered="true"
inactivityTimeout="05:45:00"
enabled="false" />
<security mode="Transport">
<transport clientCredentialType="Windows" protectionLevel="EncryptAndSign"/>
</security>
</binding>
</netTcpBinding>
</bindings>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true"/>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
真正感谢任何反馈或建议。另外,当WCF与NetTcpBinding一起使用时,F5上的建议设置是什么 我现在可以用了。这是负载平衡配置问题。我们已将虚拟服务器类型从标准更改为性能(第7层)。性能没有提高到可接受的范围