Re: [google-appengine] New instance spinning for user facing apps

2015-05-18 Thread Ryan
Common methods to help with Java load times:
 - Have more idle instances:
 - Watch this video: https://www.youtube.com/watch?v=lFarE1hH0ss
 - Setting up your Warmup request properly 
: 
https://cloud.google.com/appengine/docs/java/config/appconfig#Java_Warmup_requests
 - 
And: 
https://cloud.google.com/appengine/docs/java/config/appconfig#using_a_custom_warmup_servlet

On Tuesday, May 5, 2015 at 1:34:26 AM UTC-4, aswath wrote:
>
> That is around 5.5 seconds.  The request started at 12:16:33.087 and end 
> at 12:16:38.436.  But, it says 18 seconds.  I am not sure how to count for 
> this extra 13 seconds.
>
> In the other requests, where it started the instance, it said 21 and 22 
> seconds.   But, if you look at the individual log timings, it is 12 seconds.
>
> -Aswath
> www.VeersoftSolutions.com 
> www.AccountingGuru.net .
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile.*
>
>
> On Tue, May 5, 2015 at 9:34 AM, Jeff Schnitzer  
> wrote:
>
>> Am I reading that correctly? It looks like even a non-startup request to 
>> productSummary takes 18 seconds...
>>
>> Jeff
>>
>> On Thu, Apr 30, 2015 at 2:20 AM, Aswath Satrasala <
>> aswath.satras...@gmail.com> wrote:
>>
>>> Hi,
>>> I just want to raise this issue again. Its discussed many times.  Any 
>>> recommendations or settings to fix this.  I have tried different 
>>> performance setting earlier.  
>>> It did not help, or no way to say that this will not happen, because of 
>>> the new settings.
>>>
>>> -Aswath
>>>
>>>
>>>1. 2015-04-30 12:17:47.917 
>>>   /_ah/spi/com.veersoft.services.api.ListPartyAPI.viewTransaction 
>>>   200 4709ms 0kb Mozilla/5.0 (Linux; U; Android 4.1.2; en-gb; 
>>>   GT-S7392 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) 
>>> Version/4.0 
>>>   Mobile Safari/534.30 module=default version=main
>>>   2. I2015-04-30 12:17:43.215 
>>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter 
>>>   doFilter: begin
>>>   3. I2015-04-30 12:17:43.640 
>>> com.google.api.server.spi.SystemServiceServlet 
>>>   init: SPI restricted: true
>>>   4. I2015-04-30 12:17:46.912 
>>> com.google.api.server.spi.auth.AppEngineAuthUtils 
>>>   getCurrentUser: getCurrentUser: AccessToken; user=
>>>   pravinkatka...@gmail.com
>>>   5. I2015-04-30 12:17:47.369 com.veersoft.services.PartyServiceImpl 
>>>   validateBranch: branchId validated value is : 2002
>>>   6. I2015-04-30 12:17:47.438 com.veersoft.services.api.CommonHelper 
>>>   assembleTransactionMobile: party id is:5871248932339712
>>>   7. I2015-04-30 12:17:47.530 
>>> com.veersoft.services.AccountingServiceImpl 
>>>   logPartyInternalOrgSetting: PartyInternalOrgSetting for Key(!
>>>   IndiaDemoCompany-veersoft1.test-gmail.com:
>>>   8. I2015-04-30 12:17:47.542 com.veersoft.services.api.CommonHelper 
>>>   assembleTransactionMobile: listAcctgTransaction:0
>>>   9. I2015-04-30 12:17:47.915 
>>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter 
>>>   doFilter: end
>>>1. 
>>>   1. 2015-04-30 12:16:51.058 
>>>   /_ah/spi/com.veersoft.services.api.ProductAPI.productSummary 200 
>>>   22314ms 0kb Mozilla/5.0 (Linux; Android 4.4.2; Micromax A104 
>>>   Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 
>>> Chrome/
>>>   30.0.0.0 Mobile Safari/537.36 module=default version=main
>>>   2. I2015-04-30 12:16:39.781 
>>> com.veersoft.listener.VsServletContextListener 
>>>   contextInitialized: 
>>>   
>>> sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,t
>>>   3. W2015-04-30 12:16:39.785 
>>> com.veersoft.listener.VsServletContextListener 
>>>   contextInitialized: 2015-04-30 12:16:39 IST
>>>   4. I2015-04-30 12:16:43.635 
>>> com.veersoft.services.NullNamespaceServiceImpl 
>>>   getAllGlobalGlAccounts: get AllGlobalGlAccounts
>>>   5. I2015-04-30 12:16:45.074 
>>> com.veersoft.services.NullNamespaceServiceImpl 
>>>   getAllGlobalGlAccounts: No of GlobalGlAccounts = 61
>>>   6. I2015-04-30 12:16:45.869 
>>> com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader 
>>>   loadFinalizer: Not allowed to access system class loader.
>>>   7. I2015-04-30 12:16:45.882 
>>> com.google.inject.internal.util.$FinalizableReferenceQueue 
>>>   : Failed to start reference finalizer thread. Reference cleanup 
>>> will 
>>>   only occur when
>>>   8. I2015-04-30 12:16:48.593 
>>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter 
>>>   doFilter: begin
>>>   9. I2015-04-30 12:16:48.835 
>>> com.google.api.server.spi.SystemServiceServlet 
>>>   init: SPI restricted: true
>>>   10. I2015-04-30 12:16:50.419 
>>> com.google.api.server.spi.auth.AppEngineAuthUtils 
>>>   getCurrentUser: getCurrentUser: AccessToken; user=
>>>   rahulkadamjune1...@gmail.com
>>>   11. I2015-04-30 12:16:50

Re: [google-appengine] New instance spinning for user facing apps

2015-05-04 Thread Aswath Satrasala
That is around 5.5 seconds.  The request started at 12:16:33.087 and end
at 12:16:38.436.  But, it says 18 seconds.  I am not sure how to count for
this extra 13 seconds.

In the other requests, where it started the instance, it said 21 and 22
seconds.   But, if you look at the individual log timings, it is 12 seconds.

-Aswath
www.VeersoftSolutions.com 
www.AccountingGuru.net .
*Accounting/Inventory/Orders on Google Cloud Platform and Mobile.*


On Tue, May 5, 2015 at 9:34 AM, Jeff Schnitzer  wrote:

> Am I reading that correctly? It looks like even a non-startup request to
> productSummary takes 18 seconds...
>
> Jeff
>
> On Thu, Apr 30, 2015 at 2:20 AM, Aswath Satrasala <
> aswath.satras...@gmail.com> wrote:
>
>> Hi,
>> I just want to raise this issue again. Its discussed many times.  Any
>> recommendations or settings to fix this.  I have tried different
>> performance setting earlier.
>> It did not help, or no way to say that this will not happen, because of
>> the new settings.
>>
>> -Aswath
>>
>>
>>1. 2015-04-30 12:17:47.917
>>   /_ah/spi/com.veersoft.services.api.ListPartyAPI.viewTransaction 200
>>4709ms 0kb Mozilla/5.0 (Linux; U; Android 4.1.2; en-gb; GT-S7392
>>   Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile
>>   Safari/534.30 module=default version=main
>>   2. I2015-04-30 12:17:43.215 
>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>>   doFilter: begin
>>   3. I2015-04-30 12:17:43.640 
>> com.google.api.server.spi.SystemServiceServlet
>>   init: SPI restricted: true
>>   4. I2015-04-30 12:17:46.912 
>> com.google.api.server.spi.auth.AppEngineAuthUtils
>>   getCurrentUser: getCurrentUser: AccessToken; user=
>>   pravinkatka...@gmail.com
>>   5. I2015-04-30 12:17:47.369 com.veersoft.services.PartyServiceImpl
>>   validateBranch: branchId validated value is : 2002
>>   6. I2015-04-30 12:17:47.438 com.veersoft.services.api.CommonHelper
>>   assembleTransactionMobile: party id is:5871248932339712
>>   7. I2015-04-30 12:17:47.530 com.veersoft.services.AccountingServiceImpl
>>   logPartyInternalOrgSetting: PartyInternalOrgSetting for Key(!
>>   IndiaDemoCompany-veersoft1.test-gmail.com:
>>   8. I2015-04-30 12:17:47.542 com.veersoft.services.api.CommonHelper
>>   assembleTransactionMobile: listAcctgTransaction:0
>>   9. I2015-04-30 12:17:47.915 
>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>>   doFilter: end
>>1.
>>   1. 2015-04-30 12:16:51.058
>>   /_ah/spi/com.veersoft.services.api.ProductAPI.productSummary 200
>>   22314ms 0kb Mozilla/5.0 (Linux; Android 4.4.2; Micromax A104
>>   Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 
>> Chrome/
>>   30.0.0.0 Mobile Safari/537.36 module=default version=main
>>   2. I2015-04-30 12:16:39.781 
>> com.veersoft.listener.VsServletContextListener
>>   contextInitialized:
>>   
>> sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,t
>>   3. W2015-04-30 12:16:39.785 
>> com.veersoft.listener.VsServletContextListener
>>   contextInitialized: 2015-04-30 12:16:39 IST
>>   4. I2015-04-30 12:16:43.635 
>> com.veersoft.services.NullNamespaceServiceImpl
>>   getAllGlobalGlAccounts: get AllGlobalGlAccounts
>>   5. I2015-04-30 12:16:45.074 
>> com.veersoft.services.NullNamespaceServiceImpl
>>   getAllGlobalGlAccounts: No of GlobalGlAccounts = 61
>>   6. I2015-04-30 12:16:45.869 
>> com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader
>>   loadFinalizer: Not allowed to access system class loader.
>>   7. I2015-04-30 12:16:45.882 
>> com.google.inject.internal.util.$FinalizableReferenceQueue
>>   : Failed to start reference finalizer thread. Reference cleanup 
>> will
>>   only occur when
>>   8. I2015-04-30 12:16:48.593 
>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>>   doFilter: begin
>>   9. I2015-04-30 12:16:48.835 
>> com.google.api.server.spi.SystemServiceServlet
>>   init: SPI restricted: true
>>   10. I2015-04-30 12:16:50.419 
>> com.google.api.server.spi.auth.AppEngineAuthUtils
>>   getCurrentUser: getCurrentUser: AccessToken; user=
>>   rahulkadamjune1...@gmail.com
>>   11. I2015-04-30 12:16:50.681 com.veersoft.services.PartyServiceImpl
>>   validateBranch: branchId validated value is : 3599224
>>   12. I2015-04-30 12:16:50.771 com.veersoft.services.api.ProductAPI
>>   productSummary: productOrgDetailsListSize:3
>>   13. I2015-04-30 12:16:51.045 
>> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>>   doFilter: end
>>   14. I2015-04-30 12:16:51.058 This request caused a new process to
>>   be started for your application, and thus caused your application code 
>> to
>>   be loaded for the first time. This requ
>>2.
>>   1. 2015-0

Re: [google-appengine] New instance spinning for user facing apps

2015-05-04 Thread Jeff Schnitzer
Am I reading that correctly? It looks like even a non-startup request to
productSummary takes 18 seconds...

Jeff

On Thu, Apr 30, 2015 at 2:20 AM, Aswath Satrasala <
aswath.satras...@gmail.com> wrote:

> Hi,
> I just want to raise this issue again. Its discussed many times.  Any
> recommendations or settings to fix this.  I have tried different
> performance setting earlier.
> It did not help, or no way to say that this will not happen, because of
> the new settings.
>
> -Aswath
>
>
>1. 2015-04-30 12:17:47.917
>   /_ah/spi/com.veersoft.services.api.ListPartyAPI.viewTransaction 200
>   4709ms 0kb Mozilla/5.0 (Linux; U; Android 4.1.2; en-gb; GT-S7392
>   Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile
>   Safari/534.30 module=default version=main
>   2. I2015-04-30 12:17:43.215 
> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>   doFilter: begin
>   3. I2015-04-30 12:17:43.640 
> com.google.api.server.spi.SystemServiceServlet
>   init: SPI restricted: true
>   4. I2015-04-30 12:17:46.912 
> com.google.api.server.spi.auth.AppEngineAuthUtils
>   getCurrentUser: getCurrentUser: AccessToken; user=
>   pravinkatka...@gmail.com
>   5. I2015-04-30 12:17:47.369 com.veersoft.services.PartyServiceImpl
>   validateBranch: branchId validated value is : 2002
>   6. I2015-04-30 12:17:47.438 com.veersoft.services.api.CommonHelper
>   assembleTransactionMobile: party id is:5871248932339712
>   7. I2015-04-30 12:17:47.530 com.veersoft.services.AccountingServiceImpl
>   logPartyInternalOrgSetting: PartyInternalOrgSetting for Key(!
>   IndiaDemoCompany-veersoft1.test-gmail.com:
>   8. I2015-04-30 12:17:47.542 com.veersoft.services.api.CommonHelper
>   assembleTransactionMobile: listAcctgTransaction:0
>   9. I2015-04-30 12:17:47.915 
> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>   doFilter: end
>1.
>   1. 2015-04-30 12:16:51.058
>   /_ah/spi/com.veersoft.services.api.ProductAPI.productSummary 200
>   22314ms 0kb Mozilla/5.0 (Linux; Android 4.4.2; Micromax A104
>   Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/
>   30.0.0.0 Mobile Safari/537.36 module=default version=main
>   2. I2015-04-30 12:16:39.781 
> com.veersoft.listener.VsServletContextListener
>   contextInitialized:
>   
> sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,t
>   3. W2015-04-30 12:16:39.785 
> com.veersoft.listener.VsServletContextListener
>   contextInitialized: 2015-04-30 12:16:39 IST
>   4. I2015-04-30 12:16:43.635 
> com.veersoft.services.NullNamespaceServiceImpl
>   getAllGlobalGlAccounts: get AllGlobalGlAccounts
>   5. I2015-04-30 12:16:45.074 
> com.veersoft.services.NullNamespaceServiceImpl
>   getAllGlobalGlAccounts: No of GlobalGlAccounts = 61
>   6. I2015-04-30 12:16:45.869 
> com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader
>   loadFinalizer: Not allowed to access system class loader.
>   7. I2015-04-30 12:16:45.882 
> com.google.inject.internal.util.$FinalizableReferenceQueue
>   : Failed to start reference finalizer thread. Reference cleanup 
> will
>   only occur when
>   8. I2015-04-30 12:16:48.593 
> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>   doFilter: begin
>   9. I2015-04-30 12:16:48.835 
> com.google.api.server.spi.SystemServiceServlet
>   init: SPI restricted: true
>   10. I2015-04-30 12:16:50.419 
> com.google.api.server.spi.auth.AppEngineAuthUtils
>   getCurrentUser: getCurrentUser: AccessToken; user=
>   rahulkadamjune1...@gmail.com
>   11. I2015-04-30 12:16:50.681 com.veersoft.services.PartyServiceImpl
>   validateBranch: branchId validated value is : 3599224
>   12. I2015-04-30 12:16:50.771 com.veersoft.services.api.ProductAPI
>   productSummary: productOrgDetailsListSize:3
>   13. I2015-04-30 12:16:51.045 
> com.veersoft.filter.ResetUserMessagesAndErrorsFilter
>   doFilter: end
>   14. I2015-04-30 12:16:51.058 This request caused a new process to
>   be started for your application, and thus caused your application code 
> to
>   be loaded for the first time. This requ
>2.
>   1. 2015-04-30 12:16:41.368
>   /_ah/spi/com.veersoft.services.api.ProductAPI.productSummary 200
>   21718ms 0kb Mozilla/5.0 (Linux; Android 4.4.2; Micromax A104
>   Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/
>   30.0.0.0 Mobile Safari/537.36 module=default version=main
>   2. I2015-04-30 12:16:29.581 
> com.veersoft.listener.VsServletContextListener
>   contextInitialized:
>   
> sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,t
>   3. W2015-04-30 12:16:29.585 
> com.veersoft.listener.VsServletContextListener
>   contextInitialized: 2015-04-30 12:16:29 IST
>   4. I2015-04-30 12:

[google-appengine] New instance spinning for user facing apps

2015-04-30 Thread Aswath Satrasala
Hi,
I just want to raise this issue again. Its discussed many times.  Any
recommendations or settings to fix this.  I have tried different
performance setting earlier.
It did not help, or no way to say that this will not happen, because of the
new settings.

-Aswath


   1. 2015-04-30 12:17:47.917
  /_ah/spi/com.veersoft.services.api.ListPartyAPI.viewTransaction 200
  4709ms 0kb Mozilla/5.0 (Linux; U; Android 4.1.2; en-gb; GT-S7392
  Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile
  Safari/534.30 module=default version=main
  2. I2015-04-30 12:17:43.215
com.veersoft.filter.ResetUserMessagesAndErrorsFilter
  doFilter: begin
  3. I2015-04-30 12:17:43.640
com.google.api.server.spi.SystemServiceServlet
  init: SPI restricted: true
  4. I2015-04-30 12:17:46.912
com.google.api.server.spi.auth.AppEngineAuthUtils
  getCurrentUser: getCurrentUser: AccessToken; user=
  pravinkatka...@gmail.com
  5. I2015-04-30 12:17:47.369 com.veersoft.services.PartyServiceImpl
  validateBranch: branchId validated value is : 2002
  6. I2015-04-30 12:17:47.438 com.veersoft.services.api.CommonHelper
  assembleTransactionMobile: party id is:5871248932339712
  7. I2015-04-30 12:17:47.530 com.veersoft.services.AccountingServiceImpl
  logPartyInternalOrgSetting: PartyInternalOrgSetting for Key(!
  IndiaDemoCompany-veersoft1.test-gmail.com:
  8. I2015-04-30 12:17:47.542 com.veersoft.services.api.CommonHelper
  assembleTransactionMobile: listAcctgTransaction:0
  9. I2015-04-30 12:17:47.915
com.veersoft.filter.ResetUserMessagesAndErrorsFilter
  doFilter: end
   1.
  1. 2015-04-30 12:16:51.058
  /_ah/spi/com.veersoft.services.api.ProductAPI.productSummary 200
  22314ms 0kb Mozilla/5.0 (Linux; Android 4.4.2; Micromax A104
  Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/
  30.0.0.0 Mobile Safari/537.36 module=default version=main
  2. I2015-04-30 12:16:39.781
com.veersoft.listener.VsServletContextListener
  contextInitialized:
  
sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,t
  3. W2015-04-30 12:16:39.785
com.veersoft.listener.VsServletContextListener
  contextInitialized: 2015-04-30 12:16:39 IST
  4. I2015-04-30 12:16:43.635
com.veersoft.services.NullNamespaceServiceImpl
  getAllGlobalGlAccounts: get AllGlobalGlAccounts
  5. I2015-04-30 12:16:45.074
com.veersoft.services.NullNamespaceServiceImpl
  getAllGlobalGlAccounts: No of GlobalGlAccounts = 61
  6. I2015-04-30 12:16:45.869
com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader
  loadFinalizer: Not allowed to access system class loader.
  7. I2015-04-30 12:16:45.882
com.google.inject.internal.util.$FinalizableReferenceQueue
  : Failed to start reference finalizer thread. Reference
cleanup will
  only occur when
  8. I2015-04-30 12:16:48.593
com.veersoft.filter.ResetUserMessagesAndErrorsFilter
  doFilter: begin
  9. I2015-04-30 12:16:48.835
com.google.api.server.spi.SystemServiceServlet
  init: SPI restricted: true
  10. I2015-04-30 12:16:50.419
com.google.api.server.spi.auth.AppEngineAuthUtils
  getCurrentUser: getCurrentUser: AccessToken; user=
  rahulkadamjune1...@gmail.com
  11. I2015-04-30 12:16:50.681 com.veersoft.services.PartyServiceImpl
  validateBranch: branchId validated value is : 3599224
  12. I2015-04-30 12:16:50.771 com.veersoft.services.api.ProductAPI
  productSummary: productOrgDetailsListSize:3
  13. I2015-04-30 12:16:51.045
com.veersoft.filter.ResetUserMessagesAndErrorsFilter
  doFilter: end
  14. I2015-04-30 12:16:51.058 This request caused a new process to be
  started for your application, and thus caused your application code to be
  loaded for the first time. This requ
   2.
  1. 2015-04-30 12:16:41.368
  /_ah/spi/com.veersoft.services.api.ProductAPI.productSummary 200
  21718ms 0kb Mozilla/5.0 (Linux; Android 4.4.2; Micromax A104
  Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/
  30.0.0.0 Mobile Safari/537.36 module=default version=main
  2. I2015-04-30 12:16:29.581
com.veersoft.listener.VsServletContextListener
  contextInitialized:
  
sun.util.calendar.ZoneInfo[id="GMT+00:00",offset=0,dstSavings=0,useDaylight=false,t
  3. W2015-04-30 12:16:29.585
com.veersoft.listener.VsServletContextListener
  contextInitialized: 2015-04-30 12:16:29 IST
  4. I2015-04-30 12:16:33.620
com.veersoft.services.NullNamespaceServiceImpl
  getAllGlobalGlAccounts: get AllGlobalGlAccounts
  5. I2015-04-30 12:16:35.132
com.veersoft.services.NullNamespaceServiceImpl
  getAllGlobalGlAccounts: No of GlobalGlAccounts = 61
  6. I2015-04-30 12:16:35.988
com.google.inject.internal.util.$FinalizableReferenceQueue$SystemLoader
  loadFinalizer: Not allowed to access system class loader.