Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 2684

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<HTML
><HEAD
><TITLE
>Connection Redirection</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Jabber Server Farming How-To"
HREF="index.html"><LINK
REL="UP"
TITLE="Implementing the Farm"
HREF="implementation.html"><LINK
REL="PREVIOUS"
TITLE="Client-to-Server Farming w/ Round Robin DNS"
HREF="c2sfarm.html"><LINK
REL="NEXT"
TITLE="Router Layer"
HREF="routerlayer.html"></HEAD
><BODY
CLASS="section"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Jabber Server Farming How-To</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="c2sfarm.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 3. Implementing the Farm</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="routerlayer.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="redirection">3.2. Connection Redirection</H1
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="redirectiondream">3.2.1. The Dream</H2
><P
>&#13;                    Now that we have the c2s processes distributed
                    across machines, we need to get them to work
                    together.  We need two things, the ability to
                    communicate how many connections a c2s has to
                    the others, and the ability to know who the
                    others are.
                </P
><P
>&#13;                    [22:21] Jer: well, the "protocol" could just be
                    an auth error of 3xx for redirect w/ the ip/port
                    to connect to
                </P
><P
>&#13;                    Maybe we need to talk about the router layer sooner...
                </P
><P
>Pros:</P
><P
></P
><UL
><LI
><P
>Load balances nicely.</P
></LI
></UL
><P
>Cons:</P
><P
></P
><UL
><LI
><P
>&#13;	                        Requires client support for connection
                            redirection.  This is not hard to do,
                            it is just not part of any client right
                            now.
                        </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="c2sfarm.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="routerlayer.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Client-to-Server Farming w/ Round Robin DNS</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="implementation.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Router Layer</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>