On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches wrote:
>
> very interesting... 
>
> can you tell me how you did that? in a maven build or only via eclipse?
>

neither, I did it manually.

ok, the new test result:
1. if I remove all jar files from the war/WEB-INF/lib, the warmup time is 
about 2.3 seconds. 
2. if I put the only the core app engine sdk jar file in war/WEB-INF/lib, 
but doesn't reference it, the warmup time is about 2.9 seconds.
3. if I put "DatastoreService datastore = 
DatastoreServiceFactory.getDatastoreService();" in the jsp file but do 
nothing eslse, the warmup time is 3.5 seconds
4. if I put a query in the default jsp file, the warmup time is 4.7 seconds.
5. if I convert query result as list, the warmup time is 6 seconds.

so, I think it is very clear that the datastore API is main cause of 
long warmup time. A simple datastoe calling will increase the warmup time 
much. In above example, the total increased warmup caused by datastore APIs 
is more than 3 seconds. 

Otherwaise, scanning the core app engine sdk jar will cost 0.5 second.

So, @GAE_team, please optimize your datastore APIs. Done!



>
> On Tue, Feb 18, 2014 at 12:44 AM, Tapir <tapi...@gmail.com 
> <javascript:>>wrote:
>
>> Ok, I removed all core GAE jar files under SDK/lib/user
>> Now the warmup time dropped from 5-7 seconds to 3-4 seconds.
>>
>> What is appengine-api-labs-1.x.x.jar? is it essential?
>> And must the appengine-api-1.0-sdk-1.x.x.jar be included in the project 
>> war directory?
>>
>>
>> On Tuesday, February 18, 2014 1:59:15 PM UTC+8, Tapir wrote:
>>
>>>
>>>
>>> On Tuesday, February 18, 2014 4:33:16 AM UTC+8, Emanuele Ziglioli wrote:
>>>>
>>>> Not sure where my reply went.
>>>>
>>>> On Tuesday, February 18, 2014 3:57:37 AM UTC+8, Emanuele Ziglioli wrote:
>>>>>>
>>>>>> Our warmup time was 15 seconds, then I looked at the hello world 
>>>>>> project that the GAE plugin generates with one servlet.
>>>>>> That took 2 seconds to startup (once the servlet was hit).
>>>>>>
>>>>>
>>>>> On F2 instance?
>>>>>
>>>>
>>>> Haven't seen much difference between F1 and F2 when it comes to warmup 
>>>> time.
>>>> Most time seems to be spent actually loading jars. Initialization could 
>>>> be as little as 3s with our project, F2 would a bit better but not so much
>>>>
>>>
>>> why? looks not reasonable.
>>>  
>>>
>>>>
>>>>> My experience is the modules feature will spend your money.
>>>>>
>>>>
>>>> I haven't seen many people using modules yet. Can't they be configured 
>>>> to be F1 like non default versions?
>>>>
>>>
>>> should be.
>>>  
>>>
>>>>  
>>>>
>>>  -- 
>> 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 google-appengi...@googlegroups.com <javascript:>.
>> To post to this group, send email to 
>> google-a...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to