Re: Using Enhydra Director as HTTP cookie based load-balancer
James Carnegie <[email protected]> Tue, 21 Jun 2005 15:46:01 +0100
| Newsgroups | gmane.comp.java.enhydra.director |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1119365232-1837-94 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Petr, We expose a session based XML interface over HTTP and have the same problem. Customers won't or can't use cookies or other wise keep their HTTP session, so we have implemented our own load balancer (using an enhydra servlet actually) that looks at the request (source ip, customer ref, session id etc) and balances the load accross our application servers accordingly. AFAIK, there is no off-the-shelf solution to application level load-balancing. I don't think enhydra director solves your problem. What you really need is a SOAP aware load balancer. Kind regards, /james. [email protected] wrote: > Hi, > I'm looking for a software load-balancer of HTTP (actually SOAP) traffic. Since I was trying many different HTTP servers/application servers and other tools and always failed either because it didn't offer what I needed or it was to difficult to configure I would like to ask if Enhydra can be used as a load-balancer. > > What I need: > - software load-balancer that distribute requests according to value in the cookie header in incomming messages (MUST) > > - if no cookie value is provided, it should use Round-Robin to balance the load > > - load-balancer should only re-send the messages to cluster nodes, receive replies and re-send them back to clients (MUST), look below: > > client -> send HTTP request -> LB re-sends -> cluster node gets and replies -- > | > <- get HTTP reply <- LB re-sends the reply <- cluster node replies <- > > - between the load-balancer and the cluster nodes should be only the HTTP protocol used (MUST), no AJP12, AJP13, whatever protocol!!! > > - it should be able load-balance more HTTP requests in one connection (when connection re-use is ON) (MAY) > > - it should be possible to configure the load-balancer in advance so it knows addresses/host names of cluster nodes along with possible cookie values -> a map of cookie value (key) and cluster node host name (value) is set in advanced > > the map looks like: > cookie value -> cluster node host name > -------------------------------------- > node1 -> node1.mycompany.com > node2 -> node2.mycompany.com > node3 -> node3.mycompany.com > > So... does Enhydra Director suit the requirements above? Thanks, > > Petr Panuska. > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [email protected] mailing list. > To unsubscribe: mailto:[email protected] > For general help: mailto:[email protected]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- ===================================================== James Carnegie Senior Analyst Programmer/Technical Project Manager Tel: (+44) 1179081253 Fax: (+44) 1179081494 Email: James Carnegie <[email protected]> This communication is intended solely for the addressee and is confidential. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Although this e-mail and any attachments are believed to be free of any virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Multicom Products Limited for any loss or damage arising in any way from receipt or use thereof. ------------=_1119365232-1837-94 Content-Type: text/plain; name="message.footer" Content-Disposition: inline; filename="message.footer" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1119365232-1837-94--