Hey Randy,

tcpThreadCount is the number of parallel NIO receiver threads. Every tomcat cluster node with pooled mode has 25 sender threads (Default). Normally two receiver thread per backup node are calc. More recevier worker means that
you produce more load for replication at backup!
At heavy loaded site I use only the fastasyncqueue mode. This mode has at my test case better performance and more guaranty that replication works well. You can also switch to the domain cluster model.
Install more nodes with different backup domainnodes.

Example

Apache 1 and four tomcats

T01 and T03 are inside domain A ( same mcast port)
T02 and T04 are inside domain B ( same mcast port)

T01 and T02 living at box  B1
T03 and T04 living at box  B2

Peter

PS: When you used tomcat 5.5.9 don't forget to install the cluster fix pack ( s. bugzilla)


Randy Paries schrieb:

Hello,

How do I determine what value I should set  tcpThreadCount to

Currently I have the setting below and a very busy app server.

Thanks
Randy

<Receiver className="org.apache.catalina.cluster.tcp.ReplicationListener"
               tcpListenAddress="10.0.0.88"
               tcpListenPort="4001"
               tcpSelectorTimeout="100"
               tcpThreadCount="6" />

<Sender  className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
               replicationMode="pooled"
               autoConnect="true"
               waitForAck="true"
               sendAllSessions="false"
               sendAllSessionsSize="100"
               compress="true"
ackTimeout="15000"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to