tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/conf server.xml
Date Fri, 18 Apr 2003 02:50:38 GMT
fhanik      2003/04/17 19:50:38

  Modified:    catalina/src/conf server.xml
  Log:
  added in the async replication flag
  
  Revision  Changes    Path
  1.17      +12 -0     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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- server.xml	13 Apr 2003 01:29:20 -0000	1.16
  +++ server.xml	18 Apr 2003 02:50:38 -0000	1.17
  @@ -263,6 +263,17 @@
                               HashMap map = (HashMap)session.getAttribute("map");
                               map.put("key","value");
                               %>
  +             replicationMode = can be either 'synchronous' or 'asynchronous'.
  +                               * 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.
  +                               * Asynchronous means that there is a specific 'sender' thread
for each cluster node,
  +                               so the request thread will queue the replication request
into a "smart" queue,
  +                               and then return to the client.
  +                               The "smart" queue is a queue where when a session is added
to the queue, and the same session
  +                               already exists in the queue from a previous request, that
session will be replaced
  +                               in the queue instead of replicating two requests. This almost
never happens, unless there is a 
  +                               large network delay.
           -->             
           
           <!-- When uncommenting the cluster, REMEMBER to uncomment the replication Valve
below as well
  @@ -283,6 +294,7 @@
                     printToScreen="false"
                     expireSessionsOnShutdown="false"
                     useDirtyFlag="true"
  +                  replicationMode="synchronous"
           />
           -->
           <!--
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message