You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2004/01/10 00:28:23 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/conf server.xml
fhanik 2004/01/09 15:28:23
Modified: catalina/src/conf server.xml
Log:
Added the 'pooled' replication setting.
Revision Changes Path
1.27 +2 -1 jakarta-tomcat-catalina/catalina/src/conf/server.xml
Index: server.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/server.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- server.xml 25 Nov 2003 19:14:46 -0000 1.26
+++ server.xml 9 Jan 2004 23:28:23 -0000 1.27
@@ -258,7 +258,8 @@
HashMap map = (HashMap)session.getAttribute("map");
map.put("key","value");
%>
- replicationMode = can be either 'synchronous' or 'asynchronous'.
+ replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
+ * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
* Synchronous means that the thread that executes the request, is also the
thread the replicates the data to the other nodes, and will not return until all
nodes have received the information.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org