Hey Prakash,

I'm not familiar with the Jersey framework, but I can tell you this: if 
your app has a handler for /_ah/warmup, the log lines for those requests 
will show a status other than 404. If you don't have a handler for that 
route, then you will see these requests fail with 404. The fact that it 
takes so long for the request to finish seems to indicate that some work is 
being done by the instance when it receives that request, and although this 
is just a guess, I can guess you might see that these requests are 
returning 200 or 500 as their status code.

Let me know what the logs show, or if you have any further 
comments/questions. I'll be glad to assist!

Cheers,

Nick
Cloud Platform Community Support

On Sunday, September 25, 2016 at 6:30:40 AM UTC-4, Sourav Chandra wrote:
>
> There is no custom handler for warmup defined in our code. We are using 
> jersey framework, could this be the reason
>
> On 25-Sep-2016 1:23 pm, "Prakash A" <[email protected]> wrote:
>
>> Dear Chandra,
>>
>> From my perspective, warm-up can take such time, as it time taken during 
>> the instance creation, and NOT on the first request serving time. Now, 
>> coming to your question, why warm-up it takes 20 seconds, depends upon what 
>> you have coded in the warm-up. Its too ambitious to explain, without seeing 
>> the codes.
>>
>> On Saturday, September 24, 2016 at 1:20:52 PM UTC+5:30, Sourav Chandra 
>> wrote:
>>>
>>>
>>> Hi,
>>>
>>> In our java based standard appengine project, we have enabled warmup 
>>> request, automatic scaling with min-idle-instance set to 1 while other 
>>> scaling related options are default.
>>>
>>> We have observed whenever we deploy any new version, /ah/warmup takes 
>>> very long time ~10-20 seconds.
>>>
>>> What could be the reason for this? Our deployed application size is ~25MB
>>>
>>> Thanks,
>>> Sourav
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/ZUawyewr1XM/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/a2a1a585-a763-47c0-8ef0-e1b5838c3905%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/a2a1a585-a763-47c0-8ef0-e1b5838c3905%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f6bae4bf-e983-4430-97c9-f3b2a80becb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to