tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Clustering In Production
Date Sun, 02 Mar 2008 03:47:39 GMT
address="127..."

this means you have two tomcat instances on the same machine?
is this what you want?

Filip

James Ellis wrote:
> I am new to Tomcat 6 (upgrading from Tomcat 4) and I would love to benefit from the features
of clustering.  However, I am concerned about performance.  Are people successfully using
the clustering features of Tomcat 6 in production?  If so, are your settings a lot different
than mine:
>  
> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8"
>                      <Manager className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>                
     <Channel className="org.apache.catalina.tribes.group.GroupChannel">           
      <Membership className="org.apache.catalina.tribes.membership.McastService"      
                       address="228.0.0.4"                              port="45564"     
                        frequency="500"                              dropTime="3000"/>
                 <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                           address="127.0.0.1"                             port="4010"   
                        autoBind="100"                            selectorTimeout="5000" 
                          maxThreads="6"/>                        <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
                   <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
                 </Sender>                  <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
                 <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
               </Channel>                      <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=""/>                <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
                     <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
               <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>
       </Cluster>
>  
> I'd love to hear any performance tips people have.
>  
> Thanks,Jim
>  
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.21.2/1305 - Release Date: 2/29/2008 6:32 PM
>   



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message