Ok for the past 1h40 my app have been running with 4 resident instances and ~3 dynamic instances.
I have found only 9 warmup requests and no user-facing loading requests. Great ! But among the 4 resident instances 3 served only 1 request and the last one only 75 (cf. below). <https://lh5.googleusercontent.com/-1_KBMpk_0n0/UPnbxhMtZpI/AAAAAAAA0BU/n3YvDAXXU7I/s1600/Instances+-+VinoCities+-+Google+Chrome_2.jpg> <https://lh5.googleusercontent.com/-EivCzKUJMq4/UPncw4uUhtI/AAAAAAAA0Bg/FiPCMktQMYY/s1600/Dashboard+-+VinoCities+-+Google+Chrome.png> Minimal price for such a configuration : 0.05 (reserved hour) * 7 (instances) * 24 (hours) * 30 (days) = $256 / month. Isn't it a bit expensive for such a low traffic website ? In my personal case I can't afford it. Google, can you confirm that we need such a configuration to avoid user-facing loading requests for GAE Java apps ? Thanx for your answer. PS: On my point of view, there is definitely something broken in the scheduler, such a waste of resources and energy is not ecological at all. If GAE is only suited for very high traffic Java apps, it should be clearly stated somewhere in the docs then. Could we imagine using a different scheduler for low traffic apps ? On Friday, January 18, 2013 10:56:43 PM UTC+1, Francois Masurel wrote: > > In fact, you can't set min idle instances to 3 but 4, 8, 9, 10, etc. Ok > let's go for 4. > > Over the previous 2h15 test period, about 700 requests were served, 2.4% > of them were user-facing requests. > > > > On Friday, January 18, 2013 10:45:38 PM UTC+1, Francois Masurel wrote: >> >> Ok, with 2 idle instances I had 20 loading requests over the last 2h15. >> >> Among them only 3 where warmup requests, the other were user facing >> requests. >> >> Here is the instances chart : >> >> >> <https://lh4.googleusercontent.com/-JxgR5_VgpSE/UPnBKVmp3UI/AAAAAAAAz_E/9hq1Hac0JuY/s1600/Dashboard+-+VinoCities+-+Google+Chrome.jpg> >> One of the resident instance was almost never used : only one request >> served over a 4h38 period (cf. below). >> >> >> <https://lh6.googleusercontent.com/-1t-rQGD192k/UPnBgiJO3RI/AAAAAAAAz_M/lBH6DM_kjlk/s1600/Instances+-+VinoCities+-+Google+Chrome.jpg> >> Should I try with 3 min idle instances ? I'll give it a try. >> >> Does it just mean that GAE Java is simply not compatible with low traffic >> web sites ? >> >> Could we have an official statement from Google about this ? >> >> Thanx in advance. >> >> François >> >> >> >> On Friday, January 18, 2013 6:07:22 PM UTC+1, Francois Masurel wrote: >>> >>> Here is my dashboard instance graph. >>> >>> First part is with 1 min idle instance, second part with min idle >>> instance set to auto. >>> >>> >>> <https://lh6.googleusercontent.com/-xVIJBwSd04o/UPmA5FfU4QI/AAAAAAAAz54/Q5VvUGSsAPM/s1600/Dashboard+-+VinoCities+-+Google+Chrome.jpg> >>> I have just set min idle instances to 2 and see how it goes. >>> >>> François >>> >>> >>> On Friday, January 18, 2013 5:11:47 PM UTC+1, Tom Phillips wrote: >>>> >>>> Hi Francois, >>>> >>>> Don't set min idles to automatic, set it to a high enough number that >>>> over time Total instances (blue) == Billed instances (green). Leave >>>> max idles and the two latency settings at automatic. >>>> >>>> If you do have min idles configured, can you post a screencap of your >>>> instances graph? >>>> >>>> /Tom >>>> >>>> On Jan 18, 8:45 am, Francois Masurel <f.masu...@gmail.com> wrote: >>>> > Things are getting worse : 20 loading requests for the last 23 >>>> minutes >>>> > (about 20% of all requests). >>>> > >>>> > Could I have an explanation ? >>>> > >>>> > What am I doing wrong ? I'm really lost :-( >>>> > >>>> > App Id : vncts1 >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > On Friday, January 18, 2013 2:25:17 PM UTC+1, Francois Masurel wrote: >>>> > >>>> > > I have been testing full automatic mode for the last hours (all >>>> > > application settings set to automatic). >>>> > >>>> > > Still getting quite a few user-facing loading requests (~20 per >>>> hour, 5% >>>> > > of all requests), there is no more warmup requests in the logs. >>>> > >>>> > > One dynamic instance has been alive since the beginning of the test >>>> and is >>>> > > getting most of the traffic. >>>> > >>>> > > Are these numbers normal ? >>>> > >>>> > > François >>>> > >>>> > > App Id: vncts1 >>>> > >>>> > > On Thursday, January 17, 2013 11:21:16 PM UTC+1, Francois Masurel >>>> wrote: >>>> > >>>> > >> Hi Tom, >>>> > >>>> > >> Thanx for your suggestion, that's just the settings I'm testing at >>>> the >>>> > >> moment. >>>> > >>>> > >> Seems to reduce significantly user-facing requests but will quite >>>> > >> increase my bill (x4) :-( >>>> > >>>> > >> May be it will be worth it. >>>> > >>>> > >> I'll tell you how it goes. >>>> > >>>> > >> François >>>> > >>>> > >> On Thursday, January 17, 2013 11:11:56 PM UTC+1, Tom Phillips >>>> wrote: >>>> > >>>> > >>> Make sure on your instances graph that the blue "Total" line is >>>> not >>>> > >>> often, ideally only under unforeseen bursts, going higher than >>>> the >>>> > >>> green "Billed" line. >>>> > >>>> > >>> Total(blue) > Billed(green): you aren't charged for the delta >>>> between >>>> > >>> Total and Billed, but lower QOS for users (assuming your startup >>>> time >>>> > >>> is high) since they get most loading requests. >>>> > >>> Total(blue) == Billed(green): Your /_ah/warmup gets all loading >>>> > >>> requests, optimal QOS >>>> > >>>> > >>> This is just what I've observed (leaving max idles and min/max >>>> latency >>>> > >>> at automatic). Unless you have magically low startup latency, >>>> boost >>>> > >>> min idles until Total == Billed consistently. >>>> > >>>> > >>> /Tom >>>> > >>>> > >>> On Jan 17, 11:56 am, Francois Masurel <f.masu...@gmail.com> >>>> wrote: >>>> > >>> > For my low traffic website I have found that 50 new instances >>>> were >>>> > >>> started >>>> > >>> > during the last 2 hours and 22 minutes (taken from logs >>>> searching for >>>> > >>> "new >>>> > >>> > process"). >>>> > >>>> > >>> > Seems quite a lot for me as I already have a resident instance. >>>> > >>>> > >>> > But what annoys me the most is that, among those 50 loading >>>> requests, >>>> > >>> 20 >>>> > >>> > were user-facing requests (40%) and 5 were cron requests (10%). >>>> > >>>> > >>> > Is it normal behavior ? Thanx for your help. >>>> > >>>> > >>> > François >>>> >>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/uUe4X4xYX8UJ. To post to this group, send email to google-appengine@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.