Re: [google-appengine] Question about Using Concurrent Requests (Python 2.7)

2012-12-17 Thread brave yao
Hi PK,

OK. There are two instanses in dashboard. 
Version:5 ah-builtin-python-bundle   
Total number of instancesAverage QPS*Average Latency*Average Memory2 total
0.000Unknown ms24.6 MBytes*Instances *[image: 
help]https://developers.google.com/appengine/docs/adminconsole/instances
QPS*Latency*RequestsErrorsAgeMemoryLogsAvailabilityShutdown0..0 ms690
1:06:3824.2 MBytesView 
Logshttps://appengine.google.com/logs?app_id=s~apprtcversion_id=5.363921767398385243severity_level_override=1severity_level=3filter=instance%3D00c61b117ce662b735c4477061b2d8e9b829d174filter_type=regexdate_type=nowlimit=20view=Search[image:
 
Dynamic Icon]Dynamic0..0 ms274204:09:1125.0 MBytesView 
Logshttps://appengine.google.com/logs?app_id=s~apprtcversion_id=5.363921767398385243severity_level_override=1severity_level=3filter=instance%3D00c61b117cddf1ea5a6de21bcb0589a9a7120b6efilter_type=regexdate_type=nowlimit=20view=Search[image:
 
Dynamic Icon]Dynamic


I don't understand why there would be 2 instances. The one with Age 4:09:11 
is the expected one, which I deployed this morning. I have no idea why 
there is a 1-hour-age instance. I didn't touch it since 4 hours ago(from 
Admin logs, there is no other operation too.).

But anyway it doesn't matter. Even with one instance, I can see two 
requests arriving concurrently. I suppose if the previous request didn't 
return, AppEngine wouldn't send the next request. Is that true? Below log 
is one example:

2012-12-12 00:44:26.114 /_ah/channel/disconnected/ 200 1212ms 0kb
I 2012-12-12 00:44:24.992 Deleted the saved message for 62521007/40633129
I 2012-12-12 00:44:26.078 User 40633129 removed from room 62521007
I 2012-12-12 00:44:26.078 Room 62521007 has state [75621126-True]
I 2012-12-12 00:44:26.113 Sent BYE to 75621126
W 2012-12-12 00:44:26.113 User 40633129 disconnected from room 62521007

2012-12-12 00:44:25.101 /message?r=62521007u=40633129 200 243ms 0kb 
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) 
Chrome/25.0.1357.0 Safari/537.21
I 2012-12-12 00:44:24.980 Deleted the saved message for 62521007/40633129
I 2012-12-12 00:44:25.064 User 40633129 quit from room 62521007
I 2012-12-12 00:44:25.065 Room 62521007 has state [75621126-True]
I 2012-12-12 00:44:25.100 Delivered message to user 75621126

The message and /disconnect are processed within overlapped period by the 
same instance. So is this a problem?
I'm not sure whether the DB processing would have any impact or not, which 
might take dozens of milliseconds in each handler. 

Thanks!
/Brave

On Monday, December 17, 2012 3:00:51 PM UTC+8, PK wrote:

 The instances I mean are the ones reported in the dashboard. With 
 threadsafe set to false, each instance will run only one Request handler at 
 a time BUT multiple instances can run simultaneously. Click Instances and 
 then look at the log of each instance to see what it is doing.

 On Dec 16, 2012, at 10:52 PM, brave yao brav...@gmail.com javascript: 
 wrote:

 Hi PK,

 What's the 'instances' you mean here? 
 Take my app as example:

 app = webapp2.WSGIApplication([
 ('/', MainPage),
 ('/message', MessagePage),
 ('/_ah/channel/connected/', ConnectPage),
 ('/_ah/channel/disconnected/', DisconnectPage)
   ], debug=True) 
 Do you mean each RequestHandler class is an instance and requests could be 
 passed concurrently to i.e. MessagePage and ConnectPage?

 Thanks!
 /Brave

 On Wednesday, December 12, 2012 5:16:11 PM UTC+8, PK wrote:

 Hi Brave,

 Even if you set threadsafe to false requests can still be handled in 
 parallel by different instances. If you set it to true more than one 
 requests can be handled in parallel by the same instance, as well. 

 PK

 On Dec 12, 2012, at 12:43 AM, brave yao brav...@gmail.com wrote:

 Hi, 
 The GAE doc says By default, App Engine sends requests serially to a 
 given web server. If you are using the Python 2.7 runtime, you can 
 configure App Engine to send multiple, parallel requests by adding the 
 threadsafe: 
 true element to the header of app.yaml.. How should I understand this 
 statement?
 In fact I define 'threadsafe: false' in my app.yaml. But still I can see 
 requests are routed to my handlers at same time. I suppose with 
 'threadsafe: false', no other request won't be sent into my server before 
 current handler returns. Is this understanding correct?
 Is this a bug or I miss something here?

 PS: the codes locate here: 
 https://code.google.com/p/webrtc-samples/source/browse/trunk/apprtc/

 Thanks!

 /Brave

 -- 
 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/-/q0sEgcGSLqgJ.
 To post to this group, send email to google-a...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.


 -- 

[google-appengine] Urgent, Need Help: Instances are shutting down after a couple minutes of inactivity.

2012-12-17 Thread Cesium
On Dec 16, something changed.

Now, instances do not survive more than a couple minutes of inactivity (no 
incoming requests).

Thus, low traffic applications see long latency since a new instance is created 
for the request.

This is disastrous for my application (and customers).

Can someone please help?

Thanks,

David

-- 
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/-/8odI8O1oIHQJ.
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.



[google-appengine] Re: System reset 8 hours ago. Instances now being shutdown after 2 mins of no requests.

2012-12-17 Thread Francois Masurel
You are not alone, check my post here 
: https://groups.google.com/d/msg/google-appengine/icdr3dcuoew/L9lsEzuydt4J

François



On Monday, December 17, 2012 3:59:41 AM UTC+1, Cesium wrote:

 Ok,
 Now the long lived instance is gone.

 New instances are living no longer than a couple minutes.

 This is really bad.

 David



-- 
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/-/IzAFJ4p_B5kJ.
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.



[google-appengine] Business apps url to google apps url

2012-12-17 Thread pete . douma
I have a google account for my organization xyz.org. I created a web site 
using google appengine, and the url for that is xyz_org.appspot.com. I want 
people to go to http://xyz.org and hit the xyz_org.appspot.com site. How do 
I redirect them there? I signed up to have the domain name managed by 
godaddy.

-- 
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/-/WgxcLPLKAWgJ.
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.



[google-appengine] Using AWS APIs in an application that runs in Google App Engine

2012-12-17 Thread Prachi Deodhar


I am new to Google App Engine. I am trying to call Amazon's CloudWatch 
service using its Java SDKs. I am planning to run this App in Google App 
Engine. However at the time of instantiating my AmazonCloudWatchClient in 
my code I get the following exception.

access denied (java.lang.RuntimePermission modifyThreadGroup)
Caused by:
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission modifyThreadGroup)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
at java.security.AccessController.checkPermission(AccessController.java:549)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:289)
at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkAccess(DevAppServerFactory.java:314)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:299)
at java.lang.Thread.init(Thread.java:336)
at java.lang.Thread.init(Thread.java:472)
at 
com.amazonaws.http.IdleConnectionReaper.init(IdleConnectionReaper.java:56)
at 
com.amazonaws.http.IdleConnectionReaper.registerConnectionManager(IdleConnectionReaper.java:62)
at 
com.amazonaws.http.ConnectionManagerFactory.createThreadSafeClientConnManager(ConnectionManagerFactory.java:30)
at 
com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:88)
at com.amazonaws.http.AmazonHttpClient.init(AmazonHttpClient.java:111)
at 
com.amazonaws.AmazonWebServiceClient.init(AmazonWebServiceClient.java:60)
at 
com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.init(AmazonCloudWatchClient.java:165)
at 
com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.init(AmazonCloudWatchClient.java:146)
at 
com.ea.tnt.cloudbilling.BillingDataRetriever.retrieveData(BillingDataRetriever.java:77)

-- 
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/-/1qCMdjlMYxMJ.
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.



Re: [google-appengine] Business apps url to google apps url

2012-12-17 Thread Barry Hunter
https://developers.google.com/appengine/docs/domain


On Mon, Dec 17, 2012 at 7:18 PM, pete.do...@bpyfl.org wrote:

 I have a google account for my organization xyz.org. I created a web site
 using google appengine, and the url for that is xyz_org.appspot.com. I
 want people to go to http://xyz.org and hit the xyz_org.appspot.com site.
 How do I redirect them there? I signed up to have the domain name managed
 by godaddy.

 --
 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/-/WgxcLPLKAWgJ.
 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.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
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.



[google-appengine] Re: Failed to deploy to Google App Engine because --use_java7 flag has not been set

2012-12-17 Thread Joakim
It is probably better to use a JDK 6 install to make sure you're not using 
any new classes/methods introduced in 7. The source and target switches 
don't cover that.
If you really want to use a JDK 7 install to compile for Java 6, you should 
compile with -bootclasspath /path/to/jdk1.6.0/lib/rt.jar (in addition to 
source/target). At that point you've probably got JDK 6 installed, and 
might as well use it.

On Monday, December 17, 2012 7:42:20 PM UTC+1, Ludovic Champenois wrote:

 With your JDK 7 javac tools (via command line or via Eclipse configuration 
 for your current javac compiler, you need to use the 2 javac flags to 
 create Java6 compliant classes:

 -source 6 - target 6

 See complete information on the target and source flags at:
 http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html




 On Sunday, December 16, 2012 3:30:00 PM UTC-8, Jarom wrote:

 How do I use JRE6 for a new web application? I want to create one and 
 then migrate my current app into it to make it AppEngine-enabled. It sounds 
 like Google won't be including Java7 support until at least next February, 
 but I want to release my app before then!



-- 
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/-/xvafBP3vuH8J.
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.



Re: [google-appengine] Using AWS APIs in an application that runs in Google App Engine

2012-12-17 Thread Shilendra Sharma
Hello Prachi

You cannot use Threads in GAE. Here is a list of things you cannot do
in GAEhttp://code.google.com/appengine/docs/java/runtime.html#The_Sandbox
:

If you want to do something asynchronously, look into TaskQueues.

Thanks,
Shilendra





On Mon, Dec 17, 2012 at 11:36 PM, Prachi Deodhar
prachi.deod...@gmail.comwrote:

 I am new to Google App Engine. I am trying to call Amazon's CloudWatch
 service using its Java SDKs. I am planning to run this App in Google App
 Engine. However at the time of instantiating my AmazonCloudWatchClient in
 my code I get the following exception.

 access denied (java.lang.RuntimePermission modifyThreadGroup)
 Caused by:
 java.security.AccessControlException: access denied 
 (java.lang.RuntimePermission modifyThreadGroup)
 at 
 java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
 at 
 java.security.AccessController.checkPermission(AccessController.java:549)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
 at 
 com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:289)
 at 
 com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkAccess(DevAppServerFactory.java:314)
 at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:299)
 at java.lang.Thread.init(Thread.java:336)
 at java.lang.Thread.init(Thread.java:472)
 at 
 com.amazonaws.http.IdleConnectionReaper.init(IdleConnectionReaper.java:56)
 at 
 com.amazonaws.http.IdleConnectionReaper.registerConnectionManager(IdleConnectionReaper.java:62)
 at 
 com.amazonaws.http.ConnectionManagerFactory.createThreadSafeClientConnManager(ConnectionManagerFactory.java:30)
 at 
 com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:88)
 at com.amazonaws.http.AmazonHttpClient.init(AmazonHttpClient.java:111)
 at 
 com.amazonaws.AmazonWebServiceClient.init(AmazonWebServiceClient.java:60)
 at 
 com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.init(AmazonCloudWatchClient.java:165)
 at 
 com.amazonaws.services.cloudwatch.AmazonCloudWatchClient.init(AmazonCloudWatchClient.java:146)
 at 
 com.ea.tnt.cloudbilling.BillingDataRetriever.retrieveData(BillingDataRetriever.java:77)

  --
 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/-/1qCMdjlMYxMJ.
 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.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
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.



[google-appengine] how does a user become an admin?

2012-12-17 Thread Emmanuel Mayssat
I downloaded an Google AppEngine from GitHub.
In the app.yml, I see directives like:

handlers:
- url: /admin/.*
  script: main.app
  login: admin

What is required for a user to be considered admin?

-- 
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/-/hEIXk_oVWUQJ.
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.



[google-appengine] Re: Sub Thread: Google's Conflicting Objectives.

2012-12-17 Thread Kristopher Giesing
Issues like this seem to plague low traffic projects much more than high 
traffic ones:

https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/icdr3dcuoew

However, it's possible this is specific to the Java implementation.

On Sunday, November 25, 2012 4:41:19 PM UTC-8, Brandon Thomson wrote:


 GAE's technology doesn't scale down to small projects


 I don't agree with this. I run several small projects on GAE, some for 
 free. There are limitations, but if you work within them it is an excellent 
 platform for small projects.


-- 
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/-/bGe5ttKwd0MJ.
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.



[google-appengine] Re: GAE keeps starting new instances causing lots of user facing loading requests

2012-12-17 Thread Francois Masurel


Geez, that's a lot of instances for a few Ctrl+F5 on my home page :-)

https://lh4.googleusercontent.com/-dyYQZ63ZMk0/UM-BcDpobFI/xnI/bHR43-BW9bU/s1600/Instances+-+VinoCities+-+Google+Chrome.jpg

-- 
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/-/QuccEX_dj58J.
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.



[google-appengine] Re: Failed to deploy to Google App Engine because --use_java7 flag has not been set

2012-12-17 Thread Jarom
Hey, thanks for the answers. I really appreciate it. :-)





On Tuesday, December 18, 2012 6:25:04 AM UTC+10, Joakim wrote:

 It is probably better to use a JDK 6 install to make sure you're not using 
 any new classes/methods introduced in 7. The source and target switches 
 don't cover that.
 If you really want to use a JDK 7 install to compile for Java 6, you 
 should compile with -bootclasspath /path/to/jdk1.6.0/lib/rt.jar (in 
 addition to source/target). At that point you've probably got JDK 6 
 installed, and might as well use it.

 On Monday, December 17, 2012 7:42:20 PM UTC+1, Ludovic Champenois wrote:

 With your JDK 7 javac tools (via command line or via Eclipse 
 configuration for your current javac compiler, you need to use the 2 javac 
 flags to create Java6 compliant classes:

 -source 6 - target 6

 See complete information on the target and source flags at:
 http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html




 On Sunday, December 16, 2012 3:30:00 PM UTC-8, Jarom wrote:

 How do I use JRE6 for a new web application? I want to create one and 
 then migrate my current app into it to make it AppEngine-enabled. It sounds 
 like Google won't be including Java7 support until at least next February, 
 but I want to release my app before then!



-- 
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/-/YyDcc-gNJ24J.
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.



[google-appengine] Re: Urgent, Need Help: Instances are shutting down after a couple minutes of inactivity.

2012-12-17 Thread Cesium
I fear that Sir Brandon has given us a fair assesment of GAE and GAE support.

The unicorns have left the building.

David


-- 
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/-/zjjqI_yrM5wJ.
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.



Re: [google-appengine] Started getting NoIndexError as of 2012-12-11

2012-12-17 Thread Takashi Matsuo
Hi Tim,

Thanks for reporting. Can you create an issue on our issue tracker with
some other information like the actual query your'e executing?

-- Takashi


On Sat, Dec 15, 2012 at 4:04 AM, timh zutes...@gmail.com wrote:

 Hi

 Just a note, as of the   2012-12-11  I started getting the following error
 (NDB, threading enabled)

 2012-12-11 16:18:50.011

 suspended generator _run_to_list(query.py:921) raised NeedIndexError(no 
 matching index found.
 The suggested index for this query is:
 - kind: Product
   properties:
   - name: category
   - name: brand
   - name: name)



 No changes to code for several months.  It seems as of that date
 (2012-12-11), some underlying change to implicit indexes has kicked in.
 However this is only logged as a warning so I missed it, and  end users
 have only been getting a normal page with error text.

 Just thought I would mention it and suggest you check logs for warnings as
 well as errors ;-)

 Cheers

 Tim


  --
 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/-/JpY7HMK8-hUJ.
 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.




-- 
Takashi Matsuo | Developers Advocate | tmat...@google.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
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.



Re: [google-appengine] how does a user become an admin?

2012-12-17 Thread Gianni
the admin users are listed in 'Permissions' page
-- Gianni



On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat emays...@gmail.comwrote:

 handlers:
 - url: /admin/.*
   script: main.app
   login: admin


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
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.



[google-appengine] Re: GAE keeps starting new instances causing lots of user facing loading requests

2012-12-17 Thread Francois Masurel
Again starting 5 instances (cf. below) to serve a simple Facebook page 
(https on appspot domain) and one is a user facing request taking 10 
seconds to execute :-(

I would definitely prefer the user waiting 1-2 more seconds (BTW that's 
what the pending latency setting was supposed to do)  than starting a fresh 
new instances and wait from 10 to 20 seconds (in our case) for the new 
instance to be fully initialized.

May be we should be able to manage manually our instances until Google 
fixes the scheduler.

https://lh6.googleusercontent.com/-vRTFI5yQTy0/UM-c3PVGWzI/xnY/ARphLFv-SOc/s1600/PrtScr+capture.jpg


On Monday, December 17, 2012 11:15:57 PM UTC+1, Francois Masurel wrote:

 Geez, that's a lot of instances for a few Ctrl+F5 on my home page :-)


 https://lh4.googleusercontent.com/-dyYQZ63ZMk0/UM-BcDpobFI/xnI/bHR43-BW9bU/s1600/Instances+-+VinoCities+-+Google+Chrome.jpg



-- 
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/-/MERw8QeIdN0J.
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.



[google-appengine] Java 7 Runtime - Trusted Tester Sign-up

2012-12-17 Thread Chris Ramsdale
Fellow App Engine Users,

In the 1.7.3 
blogposthttp://googleappengine.blogspot.com/2012/10/app-engine-173-released.htmlwe
mentioned that in an upcoming release we will be upgrading our Java
runtime to Java 7.  Before doing so though, we'd like to get as many
developers as possible test driving this functionality.  If you're
interested, we encourage you to sign
uphttps://docs.google.com/a/google.com/forms/viewform?id=13UvQiEjr7ob-QXMSFch5LByQN8vHa70Rl98g8ipCf9cfor
our trusted tester program.

Cheers!

Chris
Product Manager, Google App Engine

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
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.



Re: [google-appengine] Started getting NoIndexError as of 2012-12-11

2012-12-17 Thread timh
Hi Takashi

Here is the 
issue http://code.google.com/p/googleappengine/issues/detail?id=8565

Cheers

Tim

On Tuesday, December 18, 2012 6:28:50 AM UTC+8, Takashi Matsuo (Google) 
wrote:

 Hi Tim,

 Thanks for reporting. Can you create an issue on our issue tracker with 
 some other information like the actual query your'e executing?

 -- Takashi


 On Sat, Dec 15, 2012 at 4:04 AM, timh zute...@gmail.com javascript:wrote:

 Hi

 Just a note, as of the   2012-12-11  I started getting the following 
 error (NDB, threading enabled)  

 2012-12-11 16:18:50.011 

 suspended generator _run_to_list(query.py:921) raised NeedIndexError(no 
 matching index found.
 The suggested index for this query is:
 - kind: Product
   properties:
   - name: category
   - name: brand
   - name: name)



 No changes to code for several months.  It seems as of that date 
 (2012-12-11), some underlying change to implicit indexes has kicked in. 
 However this is only logged as a warning so I missed it, and  end users 
 have only been getting a normal page with error text.

 Just thought I would mention it and suggest you check logs for warnings 
 as well as errors ;-)

 Cheers

 Tim


  -- 
 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/-/JpY7HMK8-hUJ.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




 -- 
 Takashi Matsuo | Developers Advocate | tma...@google.com javascript:

  

-- 
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/-/xGBFkgwwNqYJ.
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.



Re: [google-appengine] App Engine Servers - Trusted Tester Sign-up

2012-12-17 Thread Chris Ramsdale
Hey Brandon,

Added you to the TT group and sent you an invite.  Let me know if you don't
get an email.

-- Chris


On Fri, Dec 7, 2012 at 3:05 PM, Brandon Wirtz drak...@digerat.com wrote:

 We applied. This is our exact use case.

 ** **

 This would solve many of the limitations we run in to, and save us a lot
 on data store duplication. 

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 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.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
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.



Re: [google-appengine] A quesition about the GAE migration tool

2012-12-17 Thread cc
Thanks for your reply.

At first I thought that this migration tool is just like tool to convert 
the application from Master/Slave mode to HRD mode.

Now I understand it is an tool which create a new HRD application and copy 
the data from the older application and set the older one as an entrance of 
the new app.

I think I will choose to delete the one with the Master/Slave mode and 
create a new app directly. 

I really hope google can allow users to reuse th apps name which was 
deleted before. At present, once you delete an app, you can not use its 
name again.

在 2012年12月18日星期二UTC+8上午1时35分38秒,barryhunter写道:

 Once the migration is complete, you can safely delete the old Application. 
 The app doesnt need to exist for the 'alias' to continue to function.* 

 In fact you can just disable it too (provided its within the free quota 
 limits) and it will NOT count against your 10 limit. Only active 
 applications count. 



 * In effect its a setting on the new application - saying this 
 application is also accessible via x - rather than being a redirect 
 set on the old application. 


 On Mon, Dec 17, 2012 at 5:27 AM, cc cmc...@gmail.com javascript:wrote:

 I see that Migrate to High Replication actually make your old 
 application ID an alias for the new one.
 But we all know Google App Engine only allowed free user creat 10 
 applications.
 If I use this migration tool, does it means now I can only have 9 
 applicaions now ?

 If it is so, I think it is better to delete the application with 
 Master/Slave mode and create a new HRD one for me.

 -- 
 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/-/1Ba-hFZRUzcJ.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




-- 
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/-/sJ7PEZqY-lIJ.
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.