Transparent load balancing
Unga
unga888 at yahoo.com
Tue Jul 12 11:07:45 UTC 2011
--- On Tue, 7/12/11, Damien Fleuriot <ml at my.gd> wrote:
> From: Damien Fleuriot <ml at my.gd>
> Subject: Re: Transparent load balancing
> To: "Unga" <unga888 at yahoo.com>
> Cc: freebsd-questions at freebsd.org
> Date: Tuesday, July 12, 2011, 4:11 PM
> On 7/11/11 6:49 PM, Unga wrote:
> > Hi all
> >
> > I need to implement a transparent load balancing
> daemon in C.
> >
> > That is, the daemon accept a TCP connection, get more
> info from the client, and forward the communication
> transparently to another server to handle it.
> >
> > How this could be implemented on FreeBSD? What basic
> primitives I should study more?
> >
> > Many thanks in advance.
> >
> > Best regards
> > Unga
> >
>
>
> Hey up,
>
>
>
> 2 questions come to mind:
>
> 1/ "get more info from the client" -> what kind of info
> ?
> 2/ have you considered HAProxy ? It does offer a TCP mode.
Hi Damien and Chuck
Appreciate for replying on this.
I want to ask from the client, eg. where do you want to go?, If north, I want to forward to the north server, if south, to the south server.
I need to get developed something probably similar to the Proto Balance (http://www.protonet.co.za/whitepaper.html).
It says "connections are transparently forwarded to an instance chosen by Proto Balance". I want my daemon to make that choice.
Unga
More information about the freebsd-questions
mailing list