You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by el...@apache.org on 2016/02/22 08:18:19 UTC

svn commit: r1731594 - in /httpd/httpd/branches/2.4.x/docs/manual/mod: mod_proxy_balancer.xml mod_proxy_wstunnel.xml

Author: elukey
Date: Mon Feb 22 07:18:19 2016
New Revision: 1731594

URL: http://svn.apache.org/viewvc?rev=1731594&view=rev
Log:
Added more references to mod_proxy_* doc about websockets and load balancing.

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_balancer.xml
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_balancer.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_balancer.xml?rev=1731594&r1=1731593&r2=1731594&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_balancer.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_balancer.xml Mon Feb 22 07:18:19 2016
@@ -31,17 +31,23 @@
 
 <summary>
     <p>This module <em>requires</em> the service of <module
-    >mod_proxy</module>. It provides load balancing support for
-    <code>HTTP</code>, <code>FTP</code> and <code>AJP13</code> protocols
-    </p>
-
-    <p>Load balancing scheduler algorithm is provided by not this
-    module but other modules such as:
-    <module>mod_lbmethod_byrequests</module>,
-    <module>mod_lbmethod_bytraffic</module>,
-    <module>mod_lbmethod_bybusyness</module> and
-    <module>mod_lbmethod_heartbeat</module>.
-    </p>
+    >mod_proxy</module> and it provides load balancing for
+    all the supported protocols. The most important ones are:</p>
+    <ul>
+        <li>HTTP, using <module>mod_proxy_http</module></li>
+        <li>FTP, using <module>mod_proxy_ftp</module></li>
+        <li>AJP13, using <module>mod_proxy_ajp</module></li>
+        <li>WebSocket, using <module>mod_proxy_wstunnel</module></li>
+    </ul>
+    
+    <p>The Load balancing scheduler algorithm is not provided by this
+    module but from other ones such as:</p>
+    <ul>
+        <li><module>mod_lbmethod_byrequests</module></li>
+        <li><module>mod_lbmethod_bytraffic</module></li>
+        <li><module>mod_lbmethod_bybusyness</module></li>
+        <li><module>mod_lbmethod_heartbeat</module></li>
+    </ul>
 
     <p>Thus, in order to get the ability of load balancing,
     <module>mod_proxy</module>, <module>mod_proxy_balancer</module>

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml?rev=1731594&r1=1731593&r2=1731594&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml Mon Feb 22 07:18:19 2016
@@ -34,21 +34,23 @@
     <p>This module <em>requires</em> the service of <module
     >mod_proxy</module>. It provides support for the tunnelling of web
     socket connections to a backend websockets server. The connection
-    is automagically upgraded to a websocket connection:</p>
+    is automatically upgraded to a websocket connection:</p>
 
-    <highlight language="config">
+    <example><title>HTTP Response</title>
+        <highlight language="config">
 Upgrade: WebSocket
 Connection: Upgrade
-    </highlight>
-
+        </highlight>
+    </example>
 
-    <example><title>Proxying requests to websockets server</title>
+<p>Proxying requests to a websockets server like <code>echo.websocket.org</code> can be done using the
+<directive type="ProxyPass" module="mod_proxy">ProxyPass</directive> directive:</p>
     <highlight language="config">
 ProxyPass "/ws2/"  "ws://echo.websocket.org/"
 ProxyPass "/wss2/" "wss://echo.websocket.org/"
     </highlight>
-    </example>
 
+<p>Load balancing for multiple backends can be achieved using <module>mod_proxy_balancer</module>.</p>
 </summary>
 
 <seealso><module>mod_proxy</module></seealso>



Re: svn commit: r1731594 - in /httpd/httpd/branches/2.4.x/docs/manual/mod: mod_proxy_balancer.xml mod_proxy_wstunnel.xml

Posted by Luca Toscano <to...@gmail.com>.
Hi Jim!

2016-02-22 14:19 GMT+01:00 Jim Jagielski <ji...@jagunet.com>:

> Aww... I like using 'automagically'... but maybe that's
> too old school :)
>

/me feels terribly sorry for it, I do like configuration magic too :(

There was a comment about it (among the other things) and I thought to be
as strict as possible to be on the safe side. As I told to Eric Covener
several times, you can revoke temporarily my account as punishment
for outrageous behavior if you wish :)

Luca

Re: svn commit: r1731594 - in /httpd/httpd/branches/2.4.x/docs/manual/mod: mod_proxy_balancer.xml mod_proxy_wstunnel.xml

Posted by Jim Jagielski <ji...@jaguNET.com>.
Aww... I like using 'automagically'... but maybe that's
too old school :)

> On Feb 22, 2016, at 2:18 AM, elukey@apache.org wrote:
> 
> Author: elukey
> Date: Mon Feb 22 07:18:19 2016
> New Revision: 1731594
> 
> ==============================================================================
> --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml (original)
> +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_wstunnel.xml Mon Feb 22 07:18:19 2016
> @@ -34,21 +34,23 @@
>     <p>This module <em>requires</em> the service of <module
>> mod_proxy</module>. It provides support for the tunnelling of web
>     socket connections to a backend websockets server. The connection
> -    is automagically upgraded to a websocket connection:</p>
> +    is automatically upgraded to a websocket connection:</p>
>