Date: Tue, 12 Jul 2011 04:07:43 -0700 (PDT) From: Unga <unga888@yahoo.com> To: Damien Fleuriot <ml@my.gd> Cc: freebsd-questions@freebsd.org Subject: Re: Transparent load balancing Message-ID: <1310468863.38061.YahooMailClassic@web160106.mail.bf1.yahoo.com> In-Reply-To: <4E1C01BA.3020406@my.gd>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Tue, 7/12/11, Damien Fleuriot <ml@my.gd> wrote: > From: Damien Fleuriot <ml@my.gd> > Subject: Re: Transparent load balancing > To: "Unga" <unga888@yahoo.com> > Cc: freebsd-questions@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1310468863.38061.YahooMailClassic>