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

2015-05-02 Thread Adam
It's not clear what the problem is. Do you mean you do not want new 
instances to spin up?

On Thursday, April 30, 2015 at 5:20:54 AM UTC-4, aswath 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:16

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

2015-05-04 Thread Aswath Satrasala
A new instance is started for a user facing request.  In the logs, you can
see that for the following endpoint request, a new instance is started, and
it takes 21718ms to serve the request.


   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


-Aswath






On Sun, May 3, 2015 at 9:19 AM, Adam  wrote:

> It's not clear what the problem is. Do you mean you do not want new
> instances to spin up?
>
>
> On Thursday, April 30, 2015 at 5:20:54 AM UTC-4, aswath 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

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

2015-05-04 Thread Jason Collins
Similar to this? 
https://code.google.com/p/googleappengine/issues/detail?id=7865


On Monday, 4 May 2015 03:17:24 UTC-7, aswath wrote:
>
> A new instance is started for a user facing request.  In the logs, you can 
> see that for the following endpoint request, a new instance is started, and 
> it takes 21718ms to serve the request. 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0ee05fba-f06e-40c6-a6ce-f70ea1795d1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.