[google-appengine] Re: balancing traffic between multiple versions of an appengine application

2010-11-04 Thread Tim Hoffman
Why would you do this ?

There is no value from a load balancing point of view.

The only possible reason is you actually want different people to
access different versions/code
(ie you have both python and java apps installed on the same
datastore, or you have users who are
going to do UAT on the new version)

Rgds

T

On Nov 5, 5:27 am, Rohit  wrote:
> I have a version 1 and version 2 of an appengine application. I want version
> 1 to be the primary server that my end users visit but I'd like to direct n%
> to version 2. Has anyone come up with a relatively clean way to do this?
>
> --
> Rohit

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: balancing traffic between multiple versions of an appengine application

2010-11-04 Thread Rohit
A/B type testing. It'd be different versions/code. When I launch a new
version, I want to be able to say "20%" of traffic goes to this version
etc.,




On Thu, Nov 4, 2010 at 3:22 PM, Tim Hoffman  wrote:

> Why would you do this ?
>
> There is no value from a load balancing point of view.
>
> The only possible reason is you actually want different people to
> access different versions/code
> (ie you have both python and java apps installed on the same
> datastore, or you have users who are
> going to do UAT on the new version)
>
> Rgds
>
> T
>
> On Nov 5, 5:27 am, Rohit  wrote:
> > I have a version 1 and version 2 of an appengine application. I want
> version
> > 1 to be the primary server that my end users visit but I'd like to direct
> n%
> > to version 2. Has anyone come up with a relatively clean way to do this?
> >
> > --
> > Rohit
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Rohit

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: balancing traffic between multiple versions of an appengine application

2010-11-04 Thread Peter Petrov
Deploy a third version called 'proxy', make it default, and use it to
proxy/distribute the requests to the other two versions (via urlfetch). Two
disadvantages: first, urlfetch has 10s time limit, so all your requests will
have to complete in 10s; second, you'll consume more resources.

On Fri, Nov 5, 2010 at 12:24 AM, Rohit  wrote:

> A/B type testing. It'd be different versions/code. When I launch a new
> version, I want to be able to say "20%" of traffic goes to this version
> etc.,
>
>
>
>
> On Thu, Nov 4, 2010 at 3:22 PM, Tim Hoffman  wrote:
>
>> Why would you do this ?
>>
>> There is no value from a load balancing point of view.
>>
>> The only possible reason is you actually want different people to
>> access different versions/code
>> (ie you have both python and java apps installed on the same
>> datastore, or you have users who are
>> going to do UAT on the new version)
>>
>> Rgds
>>
>> T
>>
>> On Nov 5, 5:27 am, Rohit  wrote:
>> > I have a version 1 and version 2 of an appengine application. I want
>> version
>> > 1 to be the primary server that my end users visit but I'd like to
>> direct n%
>> > to version 2. Has anyone come up with a relatively clean way to do this?
>> >
>> > --
>> > Rohit
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
>
> --
> Rohit
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: balancing traffic between multiple versions of an appengine application

2010-11-05 Thread djidjadji
Why not run each version for a couple of hours/days as default.
Download the logs of both versions and perform your comparison statistics.

2010/11/4 Rohit :
> A/B type testing. It'd be different versions/code. When I launch a new
> version, I want to be able to say "20%" of traffic goes to this version
> etc.,
>
>
>
> On Thu, Nov 4, 2010 at 3:22 PM, Tim Hoffman  wrote:
>>
>> Why would you do this ?
>>
>> There is no value from a load balancing point of view.
>>
>> The only possible reason is you actually want different people to
>> access different versions/code
>> (ie you have both python and java apps installed on the same
>> datastore, or you have users who are
>> going to do UAT on the new version)
>>
>> Rgds
>>
>> T
>>
>> On Nov 5, 5:27 am, Rohit  wrote:
>> > I have a version 1 and version 2 of an appengine application. I want
>> > version
>> > 1 to be the primary server that my end users visit but I'd like to
>> > direct n%
>> > to version 2. Has anyone come up with a relatively clean way to do this?
>> >
>> > --
>> > Rohit
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> --
> Rohit
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.