You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/02/25 07:24:08 UTC

svn commit: r155309 - in httpd/httpd/trunk/docs/manual: mod/event.xml mod/event.xml.meta mpm.xml new_features_2_2.xml

Author: pquerna
Date: Thu Feb 24 22:24:06 2005
New Revision: 155309

URL: http://svn.apache.org/viewcvs?view=rev&rev=155309
Log:
Adding some initial docs for the Event MPM.
I plan on updating mod/event.xml with more details this weekend.

Added:
    httpd/httpd/trunk/docs/manual/mod/event.xml
      - copied, changed from r155307, httpd/httpd/trunk/docs/manual/mod/leader.xml
    httpd/httpd/trunk/docs/manual/mod/event.xml.meta
      - copied, changed from r155307, httpd/httpd/trunk/docs/manual/mod/leader.xml.meta
Modified:
    httpd/httpd/trunk/docs/manual/mpm.xml
    httpd/httpd/trunk/docs/manual/new_features_2_2.xml

Copied: httpd/httpd/trunk/docs/manual/mod/event.xml (from r155307, httpd/httpd/trunk/docs/manual/mod/leader.xml)
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mod/event.xml?view=diff&rev=155309&p1=httpd/httpd/trunk/docs/manual/mod/leader.xml&r1=155307&p2=httpd/httpd/trunk/docs/manual/mod/event.xml&r2=155309
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/leader.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/event.xml Thu Feb 24 22:24:06 2005
@@ -20,13 +20,13 @@
  limitations under the License.
 -->
 
-<modulesynopsis metafile="leader.xml.meta">
-<name>leader</name>
+<modulesynopsis metafile="event.xml.meta">
+<name>event</name>
 <description>An experimental variant of the standard <module>worker</module>
 MPM</description>
 <status>MPM</status>
-<sourcefile>leader.c</sourcefile>
-<identifier>mpm_leader_module</identifier>
+<sourcefile>event.c</sourcefile>
+<identifier>mpm_event_module</identifier>
 
 <summary>
     <note type="warning"><title>Warning</title>
@@ -34,14 +34,8 @@
       as expected.</p>
     </note>
     
-    <p>This is an experimental variant of the standard
-    <module>worker</module> MPM. It uses a Leader/Followers design pattern
-    to coordinate work among threads. For more info, see <a
-    href="http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf"
-    >http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf</a>.</p>
-
-    <p>To use the <module>leader</module> MPM, add
-      <code>--with-mpm=leader</code> to the <program>configure</program>
+    <p>To use the <module>event</module> MPM, add
+      <code>--with-mpm=event</code> to the <program>configure</program>
       script's arguments when building the <program>httpd</program>.</p>
   
     <p>This MPM depends on APR's atomic compare-and-swap operations for

Copied: httpd/httpd/trunk/docs/manual/mod/event.xml.meta (from r155307, httpd/httpd/trunk/docs/manual/mod/leader.xml.meta)
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mod/event.xml.meta?view=diff&rev=155309&p1=httpd/httpd/trunk/docs/manual/mod/leader.xml.meta&r1=155307&p2=httpd/httpd/trunk/docs/manual/mod/event.xml.meta&r2=155309
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/leader.xml.meta (original)
+++ httpd/httpd/trunk/docs/manual/mod/event.xml.meta Thu Feb 24 22:24:06 2005
@@ -1,13 +1,11 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 
 <metafile>
-  <basename>leader</basename>
+  <basename>event</basename>
   <path>/mod/</path>
   <relpath>..</relpath>
 
   <variants>
-    <variant>de</variant>
     <variant>en</variant>
-    <variant outdated="yes">ko</variant>
   </variants>
 </metafile>

Modified: httpd/httpd/trunk/docs/manual/mpm.xml
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mpm.xml?view=diff&r1=155308&r2=155309
==============================================================================
--- httpd/httpd/trunk/docs/manual/mpm.xml (original)
+++ httpd/httpd/trunk/docs/manual/mpm.xml Thu Feb 24 22:24:06 2005
@@ -63,7 +63,7 @@
       <li>The server can be better customized for the needs of the
       particular site. For example, sites that need a great deal of
       scalability can choose to use a threaded MPM like 
-      <module>worker</module>, while sites requiring
+      <module>worker</module> or <module>event</module>, while sites requiring
       stability or compatibility with older software can use a
       <module>prefork</module>. In addition,
       special features like serving different hosts under different

Modified: httpd/httpd/trunk/docs/manual/new_features_2_2.xml
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/new_features_2_2.xml?view=diff&r1=155308&r2=155309
==============================================================================
--- httpd/httpd/trunk/docs/manual/new_features_2_2.xml (original)
+++ httpd/httpd/trunk/docs/manual/new_features_2_2.xml Thu Feb 24 22:24:06 2005
@@ -73,6 +73,13 @@
           modern 32-bit Unix systems.  Support for handling &gt;2Gb request
           bodies has also been added.</dd>
 
+      <dt>Event MPM</dt>
+      <dd>The <module>event</module> MPM uses a seperate thread to handle
+          Keep Alive requests and accepting connections.  Keep Alive requests
+          have traditionally required httpd to dedicate a worker to handle it.
+          This dedicated worker could not be used again until the Keep Alive 
+          timeout was reached.</dd>
+
     </dl>
   </section>
 



Re: svn commit: r155309 - in httpd/httpd/trunk/docs/manual: mod/event.xml mod/event.xml.meta mpm.xml new_features_2_2.xml

Posted by André Malo <nd...@perlig.de>.
* pquerna@apache.org wrote:

>     httpd/httpd/trunk/docs/manual/mod/event.xml.meta
>       - copied, changed from r155307, httpd/httpd/trunk/docs/manual/mod/leader.xml.meta

Ahem, since the meta file is autogenerated and not related to other metafiles,
it doesn't make much sense to cp it. I'm not sure, if creating event.xml from
a copy leader.xml is semantically the right way, either.

Thanks anyway for taking care about the docs :-)

nd

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: svn commit: r155309 - in httpd/httpd/trunk/docs/manual: mod/event.xml mod/event.xml.meta mpm.xml new_features_2_2.xml

Posted by André Malo <nd...@perlig.de>.
* pquerna@apache.org wrote:

>     httpd/httpd/trunk/docs/manual/mod/event.xml.meta
>       - copied, changed from r155307, httpd/httpd/trunk/docs/manual/mod/leader.xml.meta

Ahem, since the meta file is autogenerated and not related to other metafiles,
it doesn't make much sense to cp it. I'm not sure, if creating event.xml from
a copy leader.xml is semantically the right way, either.

Thanks anyway for taking care about the docs :-)

nd