Re: Re: Load balancing between different versions of a web application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using the apache mod_proxy load balancer:
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

I am not able to find any configuration change that I could make to achieve this. 

Here is the situation:
my web application has 2 versions say N and N+1. N has 5 instances and N+1 has 5 instances running on the same cloud.  
A user gets to an instance of N the first time. I want all the following requests from that user to go to any of the 5 instances of N and not go to any instance of N+1 at all. 



On Mon, Jul 6, 2009 at 7:26 PM, Jonathan Zuckerman <j.zuckerman@xxxxxxxxx> wrote:
On Mon, Jul 6, 2009 at 1:49 PM, Pranjal Thakur<pranjalt@xxxxxxxxx> wrote:
> Hello,
> My problem is mentioned in the previous post (see below). I want to add that
> I cannot use sticky sessions as the cloud that hosts our sessions is fully
> clustered and so has the ability to send requests to a different server
> instance in case the current instance fails.
>
> let me know if there is a way to achieve this.
> thanks.
>
> On Mon, Jul 6, 2009 at 11:24 AM, Pranjal Thakur <pranjalt@xxxxxxxxx> wrote:
>>
>> This is more of a theoretical question.
>> I want to know if it is possible to do this:
>>
>> I have various versions of a web application, each running certain number
>> of instances.
>> When a request comes in, it goes to a certain instance of some version.
>> I want the load balancer to now route further requests from this user to
>> only the instances of the version it was first routed to.
>> I can maintain a cookie or some other way to save the version number of
>> the instance. But I need the load balancer to now take that into
>> consideration for further requests.
>> Is this possible and Is there any plugin available for this?
>>
>> Any help will be appreciated. thank you.
>
>

Probably will need to contact whoever hosts your app for more info,
but theoretically I don't see why this can't be achieved, what type of
load balancer are you using?  I used netscaler briefly in the past and
it was infinitely configurable..

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux