60 lines
5.9 KiB
HTML
60 lines
5.9 KiB
HTML
|
<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference - The Cluster Channel object</title><meta name="author" value="Filip Hanik"><meta name="email" value="fhanik@apache.org"></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../../images/tomcat.gif" align="right" alt="
|
||
|
The Apache Tomcat Servlet/JSP Container
|
||
|
" border="0"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left"><table border="0" width="100%" cellspacing="4"><tr><td align="left" valign="top"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Channel object</h2></td><td align="right" valign="top" nowrap="true"><img src="../../images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>
|
||
|
The cluster channel is the main component of a small framework we've nicknamed Apache Tribes.<br>
|
||
|
The channel manages a set of sub components and together they create a group communication framework.<br>
|
||
|
This framework is then used internally by the components that need to send messages between different Tomcat instances.
|
||
|
<br>
|
||
|
A few examples of these components would be the SimpleTcpCluster that does the messaging for the DeltaManager,
|
||
|
or the BackupManager that uses a different replication strategy. The ReplicatedContext object does also
|
||
|
use the channel object to communicate context attribute changes.
|
||
|
</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>
|
||
|
<p><b><a href="cluster-membership.html">Channel/Membership</a>:</b> <br>
|
||
|
The Membership component is responsible for auto discovering new nodes in the cluster
|
||
|
and also to provide for notifications for any nodes that have not responded with a heartbeat.
|
||
|
The default implementation uses multicast.<br>
|
||
|
In the membership component you configure how your nodes, aka. members, are to be discovered and/or
|
||
|
divided up.
|
||
|
You can always find out more about <a href="../../tribes/introduction.html">Apache Tribes</a>
|
||
|
</p>
|
||
|
<p><b><a href="cluster-sender.html">Channel/Sender</a>:</b> <br>
|
||
|
The Sender component manages all outbound connections and data messages that are sent
|
||
|
over the network from one node to another.
|
||
|
This component allows messages to be sent in parallel.
|
||
|
The default implementation uses TCP client sockets, and socket tuning for outgoing messages are
|
||
|
configured here.<br>
|
||
|
You can always find out more about <a href="../../tribes/introduction.html">Apache Tribes</a>
|
||
|
</p>
|
||
|
<p><b><a href="cluster-sender.html#transport">Channel/Sender/Transport</a>:</b> <br>
|
||
|
The Transport component is the bottom IO layer for the sender component.
|
||
|
The default implementation uses non-blocking TCP client sockets.<br>
|
||
|
You can always find out more about <a href="../../tribes/introduction.html">Apache Tribes</a>
|
||
|
</p>
|
||
|
<p><b><a href="cluster-receiver.html">Channel/Receiver</a>:</b> <br>
|
||
|
The receiver component listens for messages from other nodes.
|
||
|
Here you will configure the cluster thread pool, as it will dispatch incoming
|
||
|
messages to a thread pool for faster processing.
|
||
|
The default implementation uses non-blocking TCP server sockets.<br>
|
||
|
You can always find out more about <a href="../../tribes/introduction.html">Apache Tribes</a>
|
||
|
</p>
|
||
|
<p><b><a href="cluster-interceptor.html">Channel/Interceptor</a>:</b> <br>
|
||
|
The channel will send messages through an interceptor stack. Because of this, you have the ability to
|
||
|
customize the way messages are sent and received, and even how membership is handled.<br>
|
||
|
You can always find out more about <a href="../../tribes/introduction.html">Apache Tribes</a>
|
||
|
</p>
|
||
|
</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>
|
||
|
|
||
|
<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>
|
||
|
|
||
|
<table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">
|
||
|
The default value here is <code>org.apache.catalina.tribes.group.GroupChannel</code> and is
|
||
|
currently the only implementation available.
|
||
|
</td></tr></table>
|
||
|
|
||
|
|
||
|
</blockquote></td></tr></table>
|
||
|
|
||
|
|
||
|
</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>
|
||
|
Copyright © 1999-2006, Apache Software Foundation
|
||
|
</em></font></div></td></tr></table></body></html>
|