[appengine-java] embedded unindexed fields
I am trying to define embedded unindexed field without successes. I have following classes and the embedded fields are indexed regardless of the unindexed definition. I'm tryingto store BaseSensorValue class. Is that a bug or I miss something? @PersistenceCapable @EmbeddedOnly public class QuantityValue { @Persistent @Extension(vendorName=datanucleus, key=gae.unindexed, value=true) private Double value; public QuantityValue() { } public Double setValue(Double value) { this.value = value; } public Double getValue() { return value; } } @PersistenceCapable public class BaseSensorValue extends BasePersistentObject { @Persistent @Embedded(members = { @Persistent(name=value, columns=@Column(name=v), extensions=@Extension(vendorName=datanucleus, key=gae.unindexed, value=true)) }) private QuantityValue value; @Persistent @Embedded(members = { @Persistent(name=value, columns=@Column(name=cv), extensions=@Extension(vendorName=datanucleus, key=gae.unindexed, value=true)) }) private QuantityValue calcValue; public BaseSensorValue() {} public QuantityValue getCalculatedValue() { return calcValue; } public QuantityValue getValue() { return value; } } -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] NPE at jsp:useBean with scope session
Indeed, I had sessions disabled. (I missed they are disabled by default). Thanks for reply. Problem solved. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Ant error when running GAE demo app
I decided to test the GAE guestbook demo application in Netbeans 6.9 Building the application and running the server is easy. However, when I run the application i get the following error message: D:\*\Guestbook\nbproject\build-impl.xml:683: Problem: failed to create task or type nbdeploy Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any presetdef/macrodef declarations have taken place. Could anybody help me with this? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Problems with MemCache, I call get(..) and the object comes with null properties
Te properties are not transient: I think there is some inheritance problem =\ https://gist.github.com/816246 https://gist.github.com/816248 https://gist.github.com/816250 https://gist.github.com/816252 And to save I call updateQuote() from here: https://gist.github.com/816261 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] blobstore cpu time?
may i know when using blobstore, is cpu time is charged ? or only charged depending on size of the file uploaded? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] The disabling of sessions during a datastore down-time period using Apache Wicket
I tested my new datastore down-time period code during the scheduled down-time of a few hours ago. It failed with the same exception I reported in the link referred to above. Does anyone know how I can disable sessions for Apache Wicket at run- time? On Jan 27, 2:17 pm, Ian Marshall ianmarshall...@gmail.com wrote: I refer to the most recent post to above-named thread dated 9th November 2010, of link http://groups.google.com/group/google-appengine-java/browse_thread/th... I can no longer post to this thread, so I start a new one here of the same subject to post a continuation. For the record, I have replaced Ikai's last line of his sample code Capability capability = state.getCapability(); with CapabilityStatus statusDatastore = state.getStatus(); and then tested the condition (statusDatastore == CapabilityStatus.ENABLED) to see if the datastore is available. Ikai's code and my amendment tests for Capability.DATASTORE. I use this template to test for Capability.DATASTORE_WRITE too. I shall see in next month's scheduled datastore down-time whether my new code will detect this down-time and react to it cleanly. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: order by clause- JPA queries
but when index are set to auto, it has to work right ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: blobstore cpu time?
Hi, According to http://ikaisays.com/2010/09/08/gwt-blobstore-the-new-high-performance-image-serving-api-and-cute-dogs-on-office-chairs/, cpu time is not charged. But, you have to configure billing in order to use the blobstore See http://code.google.com/appengine/docs/quotas.html#Blobstore regards didier On Feb 8, 12:28 pm, Luke travalle...@gmail.com wrote: may i know when using blobstore, is cpu time is charged ? or only charged depending on size of the file uploaded? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: High Replication - Large CPU spikes without Datastore Access
And again today, I've just had another request to appstats eat up a tonne of CPU time: /appstats/stats 200 169ms 23878cpu_ms Is anyone else seeing this? On Feb 7, 3:34 pm, Simon Knott knott.si...@gmail.com wrote: As I've carried on the testing of my app against the HR-store, instead of the M/S datastore, I've noticed that occasionally I'll get a request which has a massive CPU spike. These spikes consume ~30-40seconds of CPU time, when my usual request times are ~. I'd assumed that something must be fundamentally wrong with my application against the HR datastore, but I've just had two requests to AppStats which have the same problem and one of them was an image! For example: /appstats/static/app_engine_logo_sm.gif 200 131ms 31811cpu_ms --- Image /appstats/stats 200 536ms 32375cpu_ms Yesterday I had the request below in my log. It didn't touch the datastore, had 6 calls to MemCache and according to AppStats had a grand total time of 125ms. /user/get 200 156ms 42020cpu_ms What could cause these large CPU spikes? They aren't loading requests, as I'm correctly getting those marked in my logs and they are in the usual region of 2-3s duration. I also don't experience them on the same app against the M/S datastore. My initial thoughts were that AppStats was potentially the cause of the problem, until I saw the request for an image with massive CPU usage! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: High Replication - Large CPU spikes without Datastore Access
Well now I'm just starting to think it's fishy - I've just had a second high-CPU request to my app and it has exactly the same CPU ms time consumed, down to the millisecond. /appstats/stats 200 169ms 23878cpu_ms /sync 200 43ms 23878cpu_ms On Feb 8, 12:23 pm, Simon Knott knott.si...@gmail.com wrote: And again today, I've just had another request to appstats eat up a tonne of CPU time: /appstats/stats 200 169ms 23878cpu_ms Is anyone else seeing this? On Feb 7, 3:34 pm, Simon Knott knott.si...@gmail.com wrote: As I've carried on the testing of my app against the HR-store, instead of the M/S datastore, I've noticed that occasionally I'll get a request which has a massive CPU spike. These spikes consume ~30-40seconds of CPU time, when my usual request times are ~. I'd assumed that something must be fundamentally wrong with my application against the HR datastore, but I've just had two requests to AppStats which have the same problem and one of them was an image! For example: /appstats/static/app_engine_logo_sm.gif 200 131ms 31811cpu_ms --- Image /appstats/stats 200 536ms 32375cpu_ms Yesterday I had the request below in my log. It didn't touch the datastore, had 6 calls to MemCache and according to AppStats had a grand total time of 125ms. /user/get 200 156ms 42020cpu_ms What could cause these large CPU spikes? They aren't loading requests, as I'm correctly getting those marked in my logs and they are in the usual region of 2-3s duration. I also don't experience them on the same app against the M/S datastore. My initial thoughts were that AppStats was potentially the cause of the problem, until I saw the request for an image with massive CPU usage! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: The disabling of sessions during a datastore down-time period using Apache Wicket
Just as an aside, are you aware that you can disable writes to your application via the admin console? It may make testing easier, assuming it throws the same CapabilityDisabledException. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: The disabling of sessions during a datastore down-time period using Apache Wicket
Hi Simon, No, I wasn't aware of this application setting. I can now test without having to get up in the night to test datastore scheduled down-times! Thank you for the tip. (The same exception is thrown as during a datastore scheduled down-time.) It remains for me to find a way to disable Apache Wicket session persistence at run-time (and not just via an uploaded configuration setting). Ian On Feb 8, 12:42 pm, Simon Knott knott.si...@gmail.com wrote: Just as an aside, are you aware that you can disable writes to your application via the admin console? It may make testing easier, assuming it throws the same CapabilityDisabledException. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: hard time modeling my database
So you are worried that a user will be deleted and his key will still be linked to the book? You can't rely on the database to do that work for you. You can do this two ways, worry about it, and when you delete a user, make sure you delete it's key from every book. Or don't worry about it. If you do your queries right, having a non existent user stored in a book won't cause any problems. But I would recommend removing it when a user gets deleted. On Feb 7, 3:11 pm, Arjan arjan.br...@gmail.com wrote: Will, Thanks for the hint. When i use the User key (a String) as the reference from the Book to the User object, that would mean that the referential integrity is not enforced by the database. I understand that it would work, but it feels kind of strange. Is there a way to maintain the referential integrity on between the classes? Regards. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] NPE at jsp:useBean with scope session
Glad to help! On Tue, Feb 8, 2011 at 3:16 AM, Louis H. cute...@gmail.com wrote: Indeed, I had sessions disabled. (I missed they are disabled by default). Thanks for reply. Problem solved. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] JSP and a Servlet with url-pattern /*
Hello Hello, I have a project with a servlet with a servlet witch have a url-mapping /* : servlet-mapping servlet-nameCollectorServlet/servlet-name url-pattern/*/url-pattern /servlet-mapping And I want to add JSP file on the projet. I had a simple JSP file in the war directory : *(hello.jsp)* %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 titleInsert title here/title /head body Hello %= Word ! % /body /html When a call the http://localhost:/hello.jsp url : It's not work because the CollectorServlet catch the request If I remove the url-pattern /* from the web.xml, the hello.jsp work fine. I try to add the JSP has a servlet : servlet servlet-namehellojsp/servlet-name jsp-filehello.jsp/jsp-file /servlet servlet-mapping servlet-namehellojsp/servlet-name url-pattern/hello.jsp/url-pattern /servlet-mapping But I have now a compilation error : WARNING: /hello org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type An error occurred at line: 8 in the generated java file org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type An error occurred at line: 10 in the generated java file JspFactory cannot be resolved to a type An error occurred at line: 10 in the generated java file JspFactory cannot be resolved An error occurred at line: 14 in the generated java file javax.el.ExpressionFactory cannot be resolved to a type An error occurred at line: 15 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 22 in the generated java file _el_expressionfactory cannot be resolved An error occurred at line: 22 in the generated java file _jspxFactory cannot be resolved An error occurred at line: 22 in the generated java file The method getServletConfig() is undefined for the type hello_jsp An error occurred at line: 23 in the generated java file _jsp_annotationprocessor cannot be resolved An error occurred at line: 23 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 23 in the generated java file The method getServletConfig() is undefined for the type hello_jsp An error occurred at line: 23 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 29 in the generated java file HttpServletRequest cannot be resolved to a type An error occurred at line: 29 in the generated java file HttpServletResponse cannot be resolved to a type An error occurred at line: 30 in the generated java file ServletException cannot be resolved to a type An error occurred at line: 32 in the generated java file PageContext cannot be resolved to a type An error occurred at line: 33 in the generated java file HttpSession cannot be resolved to a type An error occurred at line: 34 in the generated java file ServletContext cannot be resolved to a type An error occurred at line: 35 in the generated java file ServletConfig cannot be resolved to a type An error occurred at line: 36 in the generated java file JspWriter cannot be resolved to a type An error occurred at line: 38 in the generated java file JspWriter cannot be resolved to a type An error occurred at line: 39 in the generated java file PageContext cannot be resolved to a type An error occurred at line: 44 in the generated java file _jspxFactory cannot be resolved An error occurred at line: 66 in the generated java file SkipPageException cannot be resolved to a type An error occurred at line: 73 in the generated java file _jspxFactory cannot be resolved Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at com.google.appengine.tools.development.PrivilegedJspServlet.access$101(PrivilegedJspServlet.java:23) at com.google.appengine.tools.development.PrivilegedJspServlet$2.run(PrivilegedJspServlet.java:59) at java.security.AccessController.doPrivileged(Native Method) at
Re: [appengine-java] JSP and a Servlet with url-pattern /*
It sounds like you're running into this issue in 1.4.0: http://code.google.com/p/googleappengine/issues/detail?id=4216 This will be fixed in the next release, which is due out soon. In the mean time, you can either roll back to the 1.3.8 SDK or you can try declaring your CollectorServlet with a url-pattern of / instead of /*. I believe this will be equivalent for you, and may avoid the need to declare your JSP explicitly. On Tue, Feb 8, 2011 at 9:49 AM, Patrice De Saint Steban patou.de.saint.ste...@gmail.com wrote: Hello Hello, I have a project with a servlet with a servlet witch have a url-mapping /* : servlet-mapping servlet-nameCollectorServlet/servlet-name url-pattern/*/url-pattern /servlet-mapping And I want to add JSP file on the projet. I had a simple JSP file in the war directory : *(hello.jsp)* %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 titleInsert title here/title /head body Hello %= Word ! % /body /html When a call the http://localhost:/hello.jsp url : It's not work because the CollectorServlet catch the request If I remove the url-pattern /* from the web.xml, the hello.jsp work fine. I try to add the JSP has a servlet : servlet servlet-namehellojsp/servlet-name jsp-filehello.jsp/jsp-file /servlet servlet-mapping servlet-namehellojsp/servlet-name url-pattern/hello.jsp/url-pattern /servlet-mapping But I have now a compilation error : WARNING: /hello org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 7 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type An error occurred at line: 8 in the generated java file org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type An error occurred at line: 10 in the generated java file JspFactory cannot be resolved to a type An error occurred at line: 10 in the generated java file JspFactory cannot be resolved An error occurred at line: 14 in the generated java file javax.el.ExpressionFactory cannot be resolved to a type An error occurred at line: 15 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 22 in the generated java file _el_expressionfactory cannot be resolved An error occurred at line: 22 in the generated java file _jspxFactory cannot be resolved An error occurred at line: 22 in the generated java file The method getServletConfig() is undefined for the type hello_jsp An error occurred at line: 23 in the generated java file _jsp_annotationprocessor cannot be resolved An error occurred at line: 23 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 23 in the generated java file The method getServletConfig() is undefined for the type hello_jsp An error occurred at line: 23 in the generated java file org.apache.AnnotationProcessor cannot be resolved to a type An error occurred at line: 29 in the generated java file HttpServletRequest cannot be resolved to a type An error occurred at line: 29 in the generated java file HttpServletResponse cannot be resolved to a type An error occurred at line: 30 in the generated java file ServletException cannot be resolved to a type An error occurred at line: 32 in the generated java file PageContext cannot be resolved to a type An error occurred at line: 33 in the generated java file HttpSession cannot be resolved to a type An error occurred at line: 34 in the generated java file ServletContext cannot be resolved to a type An error occurred at line: 35 in the generated java file ServletConfig cannot be resolved to a type An error occurred at line: 36 in the generated java file JspWriter cannot be resolved to a type An error occurred at line: 38 in the generated java file JspWriter cannot be resolved to a type An error occurred at line: 39 in the generated java file PageContext cannot be resolved to a type An error occurred at line: 44 in the generated java file _jspxFactory cannot be resolved An error occurred at line: 66 in the generated java file SkipPageException cannot be resolved to a type An error occurred at line: 73 in the generated java file _jspxFactory cannot be resolved Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) at
Re: [appengine-java] Servlet Filter on non-Servlet resource
It sounds like you might have static file cachinghttp://code.google.com/appengine/docs/java/gettingstarted/staticfiles.htmlset up to include files you want to run your filter against. The key line in the doc is: Any request for a URL whose path matches a static file serves the file directly to the browser—even if the path also matches a servlet or filter mapping. If you want to filter certain files, they need to be excluded from caching. On Fri, Jan 28, 2011 at 4:45 AM, andrew aute...@gmail.com wrote: We are using servlet filters without any problem on app-engine for logging and authentication of servlet. The servlet filter spec states they can be applied to any resource, i.e. including html pages etc. I have tried this on app engine without success, and when looking at the app engine docs (here http://code.google.com/intl/en/appengine/docs/java/config/webxml.html#Filters ) it just mentions and shows examples of servlets. Is this just an omission of the text, and no example for that? In appengine, can I apply servlet filters to a url (single or with a pattern). -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] embedded unindexed fields
Yes, it seems this is a bug. I'm sure (ok 95% sure) it was working at one point because I did this exact thing in one of my kinds and I'm sure I tested to make sure the fields weren't indexed because it has a lot of properties and I don't want them indexed. I just looked and yes the fields are being indexed. Not good. On Tue, Feb 8, 2011 at 3:14 AM, Nikolay Ivanov nic...@email.com wrote: I am trying to define embedded unindexed field without successes. I have following classes and the embedded fields are indexed regardless of the unindexed definition. I'm tryingto store BaseSensorValue class. Is that a bug or I miss something? @PersistenceCapable @EmbeddedOnly public class QuantityValue { @Persistent @Extension(vendorName=datanucleus, key=gae.unindexed, value=true) private Double value; public QuantityValue() { } public Double setValue(Double value) { this.value = value; } public Double getValue() { return value; } } @PersistenceCapable public class BaseSensorValue extends BasePersistentObject { @Persistent @Embedded(members = { @Persistent(name=value, columns=@Column(name=v), extensions=@Extension(vendorName=datanucleus, key=gae.unindexed, value=true)) }) private QuantityValue value; @Persistent @Embedded(members = { @Persistent(name=value, columns=@Column(name=cv), extensions=@Extension(vendorName=datanucleus, key=gae.unindexed, value=true)) }) private QuantityValue calcValue; public BaseSensorValue() {} public QuantityValue getCalculatedValue() { return calcValue; } public QuantityValue getValue() { return value; } } -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: High Replication - Large CPU spikes without Datastore Access
I can help you investigate this. Please reply privately with your application ID. On Tue, Feb 8, 2011 at 6:38 AM, Simon Knott knott.si...@gmail.com wrote: Well now I'm just starting to think it's fishy - I've just had a second high-CPU request to my app and it has exactly the same CPU ms time consumed, down to the millisecond. /appstats/stats 200 169ms 23878cpu_ms /sync 200 43ms 23878cpu_ms On Feb 8, 12:23 pm, Simon Knott knott.si...@gmail.com wrote: And again today, I've just had another request to appstats eat up a tonne of CPU time: /appstats/stats 200 169ms 23878cpu_ms Is anyone else seeing this? On Feb 7, 3:34 pm, Simon Knott knott.si...@gmail.com wrote: As I've carried on the testing of my app against the HR-store, instead of the M/S datastore, I've noticed that occasionally I'll get a request which has a massive CPU spike. These spikes consume ~30-40seconds of CPU time, when my usual request times are ~. I'd assumed that something must be fundamentally wrong with my application against the HR datastore, but I've just had two requests to AppStats which have the same problem and one of them was an image! For example: /appstats/static/app_engine_logo_sm.gif 200 131ms31811cpu_ms --- Image /appstats/stats 200 536ms 32375cpu_ms Yesterday I had the request below in my log. It didn't touch the datastore, had 6 calls to MemCache and according to AppStats had a grand total time of 125ms. /user/get 200 156ms 42020cpu_ms What could cause these large CPU spikes? They aren't loading requests, as I'm correctly getting those marked in my logs and they are in the usual region of 2-3s duration. I also don't experience them on the same app against the M/S datastore. My initial thoughts were that AppStats was potentially the cause of the problem, until I saw the request for an image with massive CPU usage! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Ability to send mail using appspotmail.com
All, I was able to send mails using supp...@appid.appspotmail.com Although the log doesnt show failures, mails no longer get sent when using this from address. Is this a new restriction? Cheers Praseed -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: oauth_token_secret does not exist - Accessing Google Calendar using Open Id + OAuth
Any Pointers? Thanks On Feb 7, 10:24 pm, Jaspal Sawhney jaspal.sawh...@gmail.com wrote: Steps to reproduce issue: 1. Trying to implement a 3 - legged Oauth to access google calendar using OpenIdfilter library (which internally uses Step2 and OpenId4Java). 2. Code snippet being used is as follows *GoogleOAuthHelper oauthHelper = new GoogleOAuthHelper(new OAuthHmacSha1Signer()); OAuthParameters oauthParameters = new OAuthParameters(); oauthParameters.setOAuthConsumerKey(jbbssopoc.appspot.com); oauthParameters.setOAuthConsumerSecret(PcVxBDDTZ9mfnzbVvUe68rCp); oauthParameters.setOAuthToken((String)req.getAttribute(openid.oauth.token)); oauthParameters.setOAuthTokenSecret(); String accessToken = oauthHelper.getAccessToken(oauthParameters);* 3. As per the oauth spec and other posts online setting the token secret as should not throw an error however I'm getting a *com.google.gdata.client.authn.oauth.OAuthException: oauth_token_secret does not exist* error. 4. If I however make the OauthTokenSecret to then I do not get an error but do not get the access token. Expected output: 1. Expecting the call to return an access token Actual results: Error or Empty Access Token Thanks Jaspal./ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Unknown authorization header - Error 401
I am accessing Google Spreadsheet feeds using HMAC-SH1 sign. My Code is : GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET); oauthParameters.setScope(https://spreadsheets.google.com/feeds/;); oauthParameters.setOAuthType(OAuthParameters.OAuthType.THREE_LEGGED_OAUTH); oauthParameters.setOAuthToken(request.getSession().getAttribute(oauth_token).toString()); oauthParameters.setOAuthTokenSecret(request.getSession().getAttribute(oauth_token_secret).toString()); GoogleService googleService = new GoogleService(wise, searceapps-searcegadget2-1); googleService.setOAuthCredentials(oauthParameters, new OAuthHmacSha1Signer()); URL feedUrl = new URL(https://spreadsheets.google.com/feeds/spreadsheets/private/full/;); SpreadsheetFeed resultFeed = googleService.getFeed(feedUrl, SpreadsheetFeed.class); But, I am getting the error : Oauth.requestServlet doGet: null com.google.gdata.util.AuthenticationException: OK HTML HEAD TITLEUnknown authorization header/TITLE /HEAD BODY BGCOLOR=#FF TEXT=#00 H1Unknown authorization header/H1 H2Error 401/H2 /BODY /HTML at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:600) at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563) at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552) at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530) at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535) at com.google.gdata.client.Service.getFeed(Service.java:1135) at com.google.gdata.client.Service.getFeed(Service.java:998) at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631) at com.google.gdata.client.Service.getFeed(Service.java:1017) at Oauth.accessFeeds.access(accessFeeds.java:74) What is the problem with this ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Task Queue Stored Task Count off
After quota reset and there are no tasks in queue I see there are many more task stored than I would expect. For our app (collardata) each api call is one task. And the tasks should really never be stored as there is enough in the bit bucket. So is there a bug in the display or am I computing it wrong? Tasks Daily Quota Task Queue API Calls [image: 0%] 0% 11 of 20,000,000 Tasks Storage Quota Task Queue Stored Task Count [image: 0%] 0% 286 of 200,000,000 -- 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: CPU Time for Datastore Access
I'm not too sure how that iteration works under the covers, but if you want to iterate over the result set multiple times then this is surely faster: ListKeyFakeEntity arr = ofy.query(FakeEntity.class).filter(lookAtMe, woo).listKeys(); // Or use .list() to get the actual entities On Feb 7, 8:30 pm, HalcyonDays jbpap...@gmail.com wrote: Thanks, I'll definitely run it through appstats as soon as I get a chance... ...here's the code, though, if you'd like to take a look. Nothing too crazy. I'm using Objectify. Objectify ofy = new DAO().ofy(); ArrayListKeyFakeEntity arr = new ArrayListKeyFakeEntity(); QueryFakeEntity query = ofy.query(FakeEntity.class).filter(lookAtMe, woo); QueryResultIteratorFakeEntity iterator = query.iterator(); while(iterator.hasNext()){ arr.add(iterator.next().getKey()); } ofy.delete(arr); Essentially just gets an objectify object, does a query over my test object FakeEntity looking for all entries whose lookAtMe field is set to woo, iterates over them, adding to a list, and then passes the list to the delete call. I know iterating over each one is not necessary with Objectify and I can simply pass the iterator to the delete call, but my test is simulating what the real code will need to do (i.e. look at each object before determining if it can be deleted or not.) Nothing too crazy, but there may be some fundamental misunderstanding of how bulk deletes should be done. On Feb 7, 12:34 pm, Robert Kluin robert.kl...@gmail.com wrote: Sometimes it can be more expensive than expected, but there is also a fair chance your code is missing some 'basic' (ie common app engine) optimizations. Use Appstats to profile your code, look for lots of RPC calls done in serial. Make sure you read about keys only queries and batch operations. Also, post your test code. If there is low-hanging-fruit, people will (probably) let you know about it pretty quickly. http://code.google.com/appengine/docs/java/tools/appstats.htmlhttp://... Robert On Mon, Feb 7, 2011 at 11:54, HalcyonDays jbpap...@gmail.com wrote: Hello all - I've been doing a few load tests with the task queue, and I ran across some interestingly large numbers... I constructed a very simple test to put batches of a thousand or so fake items into the datastore at a time, and then created a task to see how many I could query, count, and remove in a reasonable amount of time. Wall (real) time was fantastic for both tests, roughly 18653 ms to delete 21,000 of my test items... the number that had me a teensy bit worried was the CPU time... 1494101 cpu_ms. So... essentially 20-some minutes. If this is normal, then it's just something I'll have to be aware of for any expensive tasks... but is this standard/to be expected? It seems odd, even on something as massively parallel as the datastore that I would be able to rack up that much CPU time in a little under 20 seconds. Anyway, just curious. Thanks! -- 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 athttp://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 to dynamicly generate a new class during runtime on google app engine
hello all i am facing a real problem i want to know how to generate a new class during runtime using google app engine (i succeeded to make it on a desktop application by writing to a file.java then compile it using javac) but there is no writing to a file on google app engine ... so what can i do to make it.. thanks alot -- 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: errors in updating entry in the datastore, through our own python script or through gae admin console
Hi You can update these entities via the remote_api_shell. It is an overlooked extremely valuable tool T -- 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: how to dynamicly generate a new class during runtime on google app engine
you should probably look into generating it dynamically purely in mem - similar to frameworks using byte code enhancement. On Feb 8, 11:46 am, Abdelrahman eid a.eid.1...@gmail.com wrote: hello all i am facing a real problem i want to know how to generate a new class during runtime using google app engine (i succeeded to make it on a desktop application by writing to a file.java then compile it using javac) but there is no writing to a file on google app engine ... so what can i do to make it.. thanks alot -- 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: mail.send_mail_to_admins raise InvalidSenderError
A workaround that worked for me is to use an admin mail as sender in mail.send_mail_to_admins. All other valid senders for mail.send_mail I tried were invalid for mail.send_mail_to_admins. -- 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] High Replication - Large CPU spikes without Datastore Access
I've already posted this on the Java GAE group, but maybe someone has seen this issue on a Python-hosted app. I'm carrying out some testing of my app against the HR-store, instead of the M/S datastore, and I've noticed that occasionally I'll get a request which has a massive CPU spike. These spikes consume ~30-40seconds of CPU time, when my usual request times are ~500ms. I'd assumed that something must be fundamentally wrong with my application against the HR datastore, but I've now had three requests to AppStats which have the same problem and one of them was an image! For example: /appstats/static/app_engine_logo_sm.gif 200 131ms31811cpu_ms --- Image?! /appstats/stats 200 536ms 32375cpu_ms /appstats/stats 200 169ms 23878cpu_ms Yesterday I had the request below in my log. It didn't touch the datastore, had 6 calls to MemCache and according to AppStats had a grand total time of 125ms. /user/get 200 156ms 42020cpu_ms What could cause these large CPU spikes? They aren't loading requests, as I'm correctly getting those marked in my logs and they are in the usual region of 2-3s duration. I also don't experience them on the same app against the M/S datastore. My initial thoughts were that AppStats was potentially the cause of the problem, until I saw the request for a static image with massive CPU usage! -- 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] Re: Cache headers not working w/ billing enabled
Have you tried using: self.response.headers[Cache-Control] = public self.response.headers[Expires] = …some code to generate a time stamp... On Feb 7, 2011, at 11:03 PM, David wrote: I understand the cache hits aren't guaranteed, but I've yet to see any cache hits though. I have about 9000 url hits in the dashboard in the past 2 hours since the maintenance for the url that returns Cache- Control, public; max-age=1800;. It seems to me like it's not caching it at all. I'm just trying to reduce that number to something a lot less even though it might not be perfect. Any help would be appreciated. Thanks, David On Feb 2, 3:39 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hey guys, A few things about the cache-control headers: - We do not guarantee your responses will be cached. We make a best effort to do caching, but at best, this is an optimization. In the worst case scenario all requests will continue to reach your app - You *may* hit a different edge cache than your original one, which may contain different data. I don't believe this is happening in your case, but it would explain cache inconsistencies with short lived caches (user hits once cache, subsequent request gets a cache with slightly older data. This is rare) -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Wed, Feb 2, 2011 at 1:45 PM, Brandon Wirtz drak...@digerat.com wrote: Didn't see any change after setting to public. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Brandon Wirtz Sent: Wednesday, February 02, 2011 12:48 PM To: google-appengine@googlegroups.com Subject: RE: [google-appengine] Cache headers not working w/ billing enabled Just made the change... I'll check back to see if it helps. It doesn't appear I can set the cache header for files served from static... Am I missing something some where? -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Robert Kluin Sent: Wednesday, February 02, 2011 10:18 AM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Cache headers not working w/ billing enabled Hi Brandon, Have you tried setting 'cache-control: public; max-age=300'? Note 'public.' Robert On Wed, Feb 2, 2011 at 03:43, Brandon Wirtz drak...@digerat.com wrote: I didn't know this was supposed to work... My app does the same thing... Edge Caching doesn't seem to be happening. This implies it should... https://groups.google.com/group/google-appengine/browse_thread/thread/ f10804 5013a2345c?pli=1 but my app does the same thing yours does, and http://www.seoconsultants.com/tools/headersverified my headers were set right. #1 Server Response:http://www.xyhd.tv/aboutHTTP Status Code: HTTP/1.1 200 OK via: HTTP/1.1 GWA x-powered-by: PHP/5.2.14 vary: Accept-Encoding location:http://wp.xyhd.tv/about/ content-type: text/html; charset=UTF-8 x-pingback:http://wp.xyhd.tv/xmlrpc.php cache-control: max-age=300 Date: Wed, 02 Feb 2011 08:41:03 GMT Server: Google Frontend Content-Length: 0 And thanks for pointing this out, It caused me to find a bug in my code that I'm not cleaning up headers in my app so the location shows wrong. Which might create some weirdness for me. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of David Sent: Tuesday, February 01, 2011 8:01 AM To: Google App Engine Subject: [google-appengine] Cache headers not working w/ billing enabled I have billing enabled on my app and I'm trying to get the Cache- control headers to edge cache a page. I'm setting the header to Cache- Control: public; max-age=300; and I see it coming back. I'm using wget to test it out. I've also included a now date in the generated document so I can see if it's caching it or not. It is generating that now date with every request and I see logs coming in on the dashboard as 200. Am I doing something wrong? How do I get server side caching working? Thanks, David Here is the output from my wget call: ---request begin--- GET /v2/config HTTP/1.0 User-Agent: Wget/1.12 (cygwin) Accept: */* Host: 11.latest.word-play.appspot.com Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.0 200 OK Content-Type: application/json; charset=ISO-8859-1 Cache-Control: public; max-age=300; Date: Tue, 01 Feb 2011 15:52:10 GMT Server: Google Frontend ---response end--- 200 OK URI content encoding = `ISO-8859-1' Length: unspecified [application/json] Saving to: `STDOUT' -- You received this message because you are subscribed to the Google Groups Google App Engine
Re: [google-appengine] High Replication - Large CPU spikes without Datastore Access
I'm tuning for the hr. update entities are fast entities with 3 properties add, delete 149ms 101cpu_ms 84api_cpu_ms (tested over more days) entities with 25 properties http://code.google.com/p/relat/source/browse/trunk/relat/e-comm/contactmodel.py add, delete 1825cpu_ms 1807api_cpu_ms (tested over more days) it also depend on what properties http://code.google.com/p/relat/source/browse/trunk/relat/e-comm/journmodel.py 2160cpu_ms 2142api_cpu_ms (tested over more days) i have taken out the properties which are not necessary at the moment. (into new kinds) All cud actions are done by taskqueque gr wim 2011/2/8 Simon Knott knott.si...@gmail.com: I've already posted this on the Java GAE group, but maybe someone has seen this issue on a Python-hosted app. I'm carrying out some testing of my app against the HR-store, instead of the M/S datastore, and I've noticed that occasionally I'll get a request which has a massive CPU spike. These spikes consume ~30-40seconds of CPU time, when my usual request times are ~500ms. I'd assumed that something must be fundamentally wrong with my application against the HR datastore, but I've now had three requests to AppStats which have the same problem and one of them was an image! For example: /appstats/static/app_engine_logo_sm.gif 200 131ms 31811cpu_ms --- Image?! /appstats/stats 200 536ms 32375cpu_ms /appstats/stats 200 169ms 23878cpu_ms Yesterday I had the request below in my log. It didn't touch the datastore, had 6 calls to MemCache and according to AppStats had a grand total time of 125ms. /user/get 200 156ms 42020cpu_ms What could cause these large CPU spikes? They aren't loading requests, as I'm correctly getting those marked in my logs and they are in the usual region of 2-3s duration. I also don't experience them on the same app against the M/S datastore. My initial thoughts were that AppStats was potentially the cause of the problem, until I saw the request for a static image with massive CPU usage! -- 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. -- gr Wim den Ouden Custom applications, based on Google App Engine https://e-comm1.appspot.com/ Free open source E-commerce/E-bookkeeping/E-business framework (web) apps, http://code.google.com/p/relat/ -- 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] High Replication - Large CPU spikes without Datastore Access
Just to emphasise, I'm seeing these spikes on requests which don't hit the datastore at all, and I don't see the same spikes on the same app with the datastore set to M/S. -- 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] High Replication - Large CPU spikes without Datastore Access
Hi Simon, I'm glad your mention the subject, to get a spead gain i moved out all the transaction surrounding where possible before testing the hr datastore. But it seems optimized for transactions because it is much faster in a transaction. After putting all put actions in a transaction the kind which gives me the biggest spikes (journ) is now 755cpu_ms 718api_cpu_ms (1/3 remaining cpu_ms within a transaction, without a transaction is much, much more cpu_ms intensive) wow i'm glad. Gona change everything back!!! (journ has about 10 indexes that is also part of the speed difference) I'm using python with jquery on the client, so a lot cpu usage is on the client, i don't see other difference in use (spikes) gr wim 2011/2/8 Simon Knott knott.si...@gmail.com: Just to emphasise, I'm seeing these spikes on requests which don't hit the datastore at all, and I don't see the same spikes on the same app with the datastore set to M/S. -- 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. -- gr Wim den Ouden Custom applications, based on Google App Engine https://e-comm1.appspot.com/ Free open source E-commerce/E-bookkeeping/E-business framework (web) apps, http://code.google.com/p/relat/ -- 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: High Replication - Large CPU spikes without Datastore Access
I has nothing to do with your code as you do not write the appstats interface. My only guess is that when the Master DB is having problems it those with HR take more cpu time to get requests done. Did you see a spike while they were doing maintenance? -- 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] Re: Prerelease SDK 1.4.2 is available for download
bummer = instant feedback looking forward to it when it is available though -- 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] Urgent: Task Queue reached 100% Task Queue Stored Task Bytes and no tasks in queue
Somehow this morning my app has reached 100% quota on Task Queue Stored Task Bytes and I have no tasks queues. I has never even went above a small percentage of the total allowable before the maintenance. Something with this update is messed up. I have 0% on the two other quotas and I only pass in a few url parameters in all of my tasks and don't use any other data in the queue. Please help, David word-play.appspot.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.
[google-appengine] Re: Design Question
Any reply from google guys?? Hi, I have 2-3 properties(Unowned Relationship keys) in my class which i will be using in where clause to filter records. Class PropertyAd{ Key locationKey; //This will point for which location this ad has been created Key categoryKey;//This will point for which category this ad has been created. ListKey featuresKey;//It will tell what fatures this property have e.g. Fully Furnished,With Parking etc, as i dont know what kind of feature it can have in future so i am creating all the features in seprate table/ class and refernecing from here. Say i could have max 50 features. } Now i can query like this 1) Select PropertyAd where locationKey=SomeKey 2) Select PropertyAd where locationKey=SomeKey and categoryKey=SomeOtherkey 3) Select PropertyAd where locationKey=SomeKey and categoryKey=SomeOtherkey and featureKey = someFeatureKey1 and featureKey = someFeatureKey2 Now for query 1 i don't need to create explicit index for query 2 , 1 index will be created e.g. if LocationKey is Location(2) and CategoryKey is Category(3) then 1 index entry will be created Location(2) +Category(3) (or may be Category(3) + Location(2) too but not sure) for query 3 i am not sure how index will be created if for one propertyAd i have LocationKey is Location(2) and CategoryKey is Category(3) featureKey Feature(10) and featureKey(12) then will it indexes as all combination of all four keys which will be 4*3*2*1=24 indexes(is it true?) Now i am thinking keys take care of most of the things then why not i put my all unowned foreign reference in one List as Class PropertyAd{ ListKey allKey;//It will have Location key, CategoryKey, feature key or any other key in future as per new requirment } and my queries will be like this 1) Select PropertyAd where allKey=SomeKey 2) Select PropertyAd where allKey=SomeKey and allKey=SomeOtherkey 3) Select PropertyAd where allKey=SomeKey andallKey =SomeOtherkey and allKey= someFeatureKey1 and allKey= someFeatureKey2 So if for one property ad i have four keys in this list will it create 4*3*2*1 indexes or it will just create 4 indexes. I am not sure how the indexes will be created and how much for it looks like second solution will be much better. All comments/suggestions are welcome Thanks in advance Ravi. On Feb 3, 5:25 pm, Ravi ping2r...@gmail.com wrote: Still not clear how the indexes will look like... any google guy? -- 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: High Replication - Large CPU spikes without Datastore Access
I've been getting these spikes since I started testing on the 3rd Feb. As I'm just testing to see if my app works on the HR datastore, at the moment, there is very low traffic. These spikes seem to occur when I haven't hit the app for a few hours, so I'd almost put them down to loading requests if they weren't so high and they were being logged as such. I've started checking in the admin console before I hit the application and I always have two instances apparently waiting for requests. On Sunday I hit a 10th of my free CPU allocation through 20 requests hitting my app, purely because the CPU spikes were so high. -- 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] Urgent: Task Queue reached 100% Task Queue Stored Task Bytes and no tasks in queue
same here (already reported thru appengine billing tho) It seemed to happend just after the maintenance On 8 February 2011 10:30, David s2kd...@gmail.com wrote: Somehow this morning my app has reached 100% quota on Task Queue Stored Task Bytes and I have no tasks queues. I has never even went above a small percentage of the total allowable before the maintenance. Something with this update is messed up. I have 0% on the two other quotas and I only pass in a few url parameters in all of my tasks and don't use any other data in the queue. Please help, David word-play.appspot.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. -- http://about.me/david.mora -- 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] App Engine for Business roadmap out date: When is Custom Domain SSL coming?
The App Engine for Business roadmap is out of date: http://code.google.com/appengine/business/roadmap.html It say Custom Domain SSL is estimating a limited release by EOY 2010. And here we are in Feb 2011 with no SSL or updated target date. Does anyone have an update? We are developers need to make our own schedules and plans, so if we can get information and reliability from Google, I may have to look at Amazon Web Services. -- 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] App Engine Down?
Experiencing problems with Google App Engine app since around 0930 hrs IST. Almost no response. DNS servers are fine. -- 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] Datastore quota full, statistics reports ~10% usage
Hello! I've been experimenting with GAE for a couple of weeks. My project is a leaderboard java/js app for an online game. It's currently backed by ~200k data point entities that should use 200 mb of storage. The datastore statistics tab reports that size of all entities (153k) is 105mb. I have one index (ascending on timestamp). Yet the quota is now 100%. Any ideas? The app-id is 'alleg-leaderboard', if anyone from google wants to take a look. -- 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: CPU Time for Datastore Access
I was considering calling list, but what's nice about the iterative method is that if I ever run out of time on a task (i.e. catch the exception that is thrown when the deadline is approaching) I can grab a cursor from the iterator and kick off a new task starting where I left off on the query... I'll play around with a few things, although it's looking like the times I'm getting are totally valid. Thanks for responding, guys! I'm going to sit down with appstats sometime today and possibly rethink a couple of my methods. On Feb 8, 5:43 am, Strom st...@masendav.org wrote: I'm not too sure how that iteration works under the covers, but if you want to iterate over the result set multiple times then this is surely faster: ListKeyFakeEntity arr = ofy.query(FakeEntity.class).filter(lookAtMe, woo).listKeys(); // Or use .list() to get the actual entities On Feb 7, 8:30 pm, HalcyonDays jbpap...@gmail.com wrote: Thanks, I'll definitely run it through appstats as soon as I get a chance... ...here's the code, though, if you'd like to take a look. Nothing too crazy. I'm using Objectify. Objectify ofy = new DAO().ofy(); ArrayListKeyFakeEntity arr = new ArrayListKeyFakeEntity(); QueryFakeEntity query = ofy.query(FakeEntity.class).filter(lookAtMe, woo); QueryResultIteratorFakeEntity iterator = query.iterator(); while(iterator.hasNext()){ arr.add(iterator.next().getKey()); } ofy.delete(arr); Essentially just gets an objectify object, does a query over my test object FakeEntity looking for all entries whose lookAtMe field is set to woo, iterates over them, adding to a list, and then passes the list to the delete call. I know iterating over each one is not necessary with Objectify and I can simply pass the iterator to the delete call, but my test is simulating what the real code will need to do (i.e. look at each object before determining if it can be deleted or not.) Nothing too crazy, but there may be some fundamental misunderstanding of how bulk deletes should be done. On Feb 7, 12:34 pm, Robert Kluin robert.kl...@gmail.com wrote: Sometimes it can be more expensive than expected, but there is also a fair chance your code is missing some 'basic' (ie common app engine) optimizations. Use Appstats to profile your code, look for lots of RPC calls done in serial. Make sure you read about keys only queries and batch operations. Also, post your test code. If there is low-hanging-fruit, people will (probably) let you know about it pretty quickly. http://code.google.com/appengine/docs/java/tools/appstats.htmlhttp://... Robert On Mon, Feb 7, 2011 at 11:54, HalcyonDays jbpap...@gmail.com wrote: Hello all - I've been doing a few load tests with the task queue, and I ran across some interestingly large numbers... I constructed a very simple test to put batches of a thousand or so fake items into the datastore at a time, and then created a task to see how many I could query, count, and remove in a reasonable amount of time. Wall (real) time was fantastic for both tests, roughly 18653 ms to delete 21,000 of my test items... the number that had me a teensy bit worried was the CPU time... 1494101 cpu_ms. So... essentially 20-some minutes. If this is normal, then it's just something I'll have to be aware of for any expensive tasks... but is this standard/to be expected? It seems odd, even on something as massively parallel as the datastore that I would be able to rack up that much CPU time in a little under 20 seconds. Anyway, just curious. Thanks! -- 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 athttp://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] Billing Command Failed
Hi, I'm trying to enable billing but faced a big problem. Whenever I try to enable billing, the message below shows up. Billing Command Failed There was an unexpected error and your budget settings were not saved. Please try again. If this problem persists, please contact support. There is no hint about the error. What or why did the error occur. And it's been more than 5 hours. Are there anybody have faced this error? If then, what can I do for solve this? -- 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] Error Handler Not Working
Hello. This application has an error handler but AppEngine is showing the default 503 Over Quota page: http://trendingtopicshistory-hr.appspot.com/ Here's how it is configured (in app.yaml): error_handlers: - file: error.html The error.html file is not missing either. Could you please fix this issue? Thanks in advance. César -- 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: Storage: alternatives to Blobstore
My bad Ikai. The distinction between the two occurred to me as I was watching some of the I/O videos last week and I thought the same thing. On Feb 7, 10:54 am, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Looks like a good article. I wish the author would call example #1 datastore blob storage instead of BigTable, though, but that's a nitpick. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Mon, Feb 7, 2011 at 2:10 AM, Roberto roberto.previt...@gmail.com wrote: The article was very useful, thanks ! Roberto On Monday, February 7, 2011 1:57:17 AM UTC+1, James Broberg wrote: This was a nice article on storage options for GAE: http://www.ibm.com/developerworks/java/library/j-gaestorage/?ca=drs- -- 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.
[google-appengine] Task Queue Over Improperly Quota
I have opened a production issue (4533) for this error. I only have 5k or so of stored data in the task queue, but it is showing that I am over quota using 104,794,117 of 104,857,600. This is blocking all new tasks and severely compromising my counters. It seems to have begun with your scheduled maintenance last night. Please help me fix this ASAP. -- 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: Task Queue Over Improperly Quota
I have the same exact problem! Makes no sense for me to be over that quota, and I reached it very early in the morning. Screenshot: https://skitch.com/lennysan/rp1sh/quota-details-localmind My add is broken until this is resolved. Rather painful :( On Feb 8, 6:07 pm, Daniel danielshaneup...@gmail.com wrote: I have opened a production issue (4533) for this error. I only have 5k or so of stored data in the task queue, but it is showing that I am over quota using 104,794,117 of 104,857,600. This is blocking all new tasks and severely compromising my counters. It seems to have begun with your scheduled maintenance last night. Please help me fix this ASAP. -- 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] Billing Command Failed
I would file a billing support issue. http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport Robert On Tue, Feb 8, 2011 at 08:07, proxima company100@gmail.com wrote: Hi, I'm trying to enable billing but faced a big problem. Whenever I try to enable billing, the message below shows up. Billing Command Failed There was an unexpected error and your budget settings were not saved. Please try again. If this problem persists, please contact support. There is no hint about the error. What or why did the error occur. And it's been more than 5 hours. Are there anybody have faced this error? If then, what can I do for solve this? -- 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] Datastore quota full, statistics reports ~10% usage
Hi Erik, There are several things that can eat into your stored-data quota. Did you explicitly disable indexes on all of your properties except the timestamp? If not you have two indexes on each property. Indexes can easily double your stored data size. If you'd like to see index stats, star issue 2740: http://code.google.com/p/googleappengine/issues/detail?id=2740 Does your app use tasks? Tasks now use some of your stored data quota. Also, any data you have stored in the blobstore will use your stored-data quota. Some of the stored-data counts do not reset in real-time, but are periodically updated. So you might see a sudden drop in your stored-data. Robert On Tue, Feb 8, 2011 at 03:19, Erik Lindblad erik.lindb...@gmail.com wrote: Hello! I've been experimenting with GAE for a couple of weeks. My project is a leaderboard java/js app for an online game. It's currently backed by ~200k data point entities that should use 200 mb of storage. The datastore statistics tab reports that size of all entities (153k) is 105mb. I have one index (ascending on timestamp). Yet the quota is now 100%. Any ideas? The app-id is 'alleg-leaderboard', if anyone from google wants to take a look. -- 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] Re: Task Queue Over Improperly Quota
What are your app IDs? I'll apply a short term fix while following up on this issue. Daniel, I think I've already resolved your issue via the production issues template. Let me know if I haven't. -- Ikai On Tue, Feb 8, 2011 at 10:12 AM, Lenny Rachitsky lenny...@gmail.com wrote: I have the same exact problem! Makes no sense for me to be over that quota, and I reached it very early in the morning. Screenshot: https://skitch.com/lennysan/rp1sh/quota-details-localmind My add is broken until this is resolved. Rather painful :( On Feb 8, 6:07 pm, Daniel danielshaneup...@gmail.com wrote: I have opened a production issue (4533) for this error. I only have 5k or so of stored data in the task queue, but it is showing that I am over quota using 104,794,117 of 104,857,600. This is blocking all new tasks and severely compromising my counters. It seems to have begun with your scheduled maintenance last night. Please help me fix this ASAP. -- 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] Urgent: Task Queue reached 100% Task Queue Stored Task Bytes and no tasks in queue
I've reset the quotas on both your apps. We're looking into what caused the issue. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Feb 8, 2011 at 9:08 AM, David Mora dla.m...@gmail.com wrote: same here (already reported thru appengine billing tho) It seemed to happend just after the maintenance On 8 February 2011 10:30, David s2kd...@gmail.com wrote: Somehow this morning my app has reached 100% quota on Task Queue Stored Task Bytes and I have no tasks queues. I has never even went above a small percentage of the total allowable before the maintenance. Something with this update is messed up. I have 0% on the two other quotas and I only pass in a few url parameters in all of my tasks and don't use any other data in the queue. Please help, David word-play.appspot.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. -- http://about.me/david.mora -- 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.
[google-appengine] Re: Task Queue Over Improperly Quota
my app id: reconplatform I just found out you can increase the task queue storage limit, so I just doubled it and things are OK again. But it still makes no sense how it got there, would love to know if it was my fault or something behind the scenes. On Feb 8, 6:22 pm, Ikai Lan i...@google.com wrote: What are your app IDs? I'll apply a short term fix while following up on this issue. Daniel, I think I've already resolved your issue via the production issues template. Let me know if I haven't. -- Ikai On Tue, Feb 8, 2011 at 10:12 AM, Lenny Rachitsky lenny...@gmail.com wrote: I have the same exact problem! Makes no sense for me to be over that quota, and I reached it very early in the morning. Screenshot: https://skitch.com/lennysan/rp1sh/quota-details-localmind My add is broken until this is resolved. Rather painful :( On Feb 8, 6:07 pm, Daniel danielshaneup...@gmail.com wrote: I have opened a production issue (4533) for this error. I only have 5k or so of stored data in the task queue, but it is showing that I am over quota using 104,794,117 of 104,857,600. This is blocking all new tasks and severely compromising my counters. It seems to have begun with your scheduled maintenance last night. Please help me fix this ASAP. -- 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] Datastore quota full, statistics reports ~10% usage
Hi Erik, Can you post the definition for one of your entities? I look at look at your dashboard, and here's what I see: - 105mb used by datastore entities - 0 tasks using task queue stored bytes quota - 0 blobstore bytes used - 1 COMPOSITE index Note that built-index indices also consume storage. For instance, let's say you have an entity with the properties: - name : String - createdAt : timestamp Unless you explicitly mark these properties as unindexed, we will created indexes for these properties, but we will NOT display them on the datastore indexes tab in your admin console, since they are not composite indices. See the bit here about setting indexed=False: http://code.google.com/appengine/docs/python/datastore/propertyclass.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Feb 8, 2011 at 10:21 AM, Robert Kluin robert.kl...@gmail.comwrote: Hi Erik, There are several things that can eat into your stored-data quota. Did you explicitly disable indexes on all of your properties except the timestamp? If not you have two indexes on each property. Indexes can easily double your stored data size. If you'd like to see index stats, star issue 2740: http://code.google.com/p/googleappengine/issues/detail?id=2740 Does your app use tasks? Tasks now use some of your stored data quota. Also, any data you have stored in the blobstore will use your stored-data quota. Some of the stored-data counts do not reset in real-time, but are periodically updated. So you might see a sudden drop in your stored-data. Robert On Tue, Feb 8, 2011 at 03:19, Erik Lindblad erik.lindb...@gmail.com wrote: Hello! I've been experimenting with GAE for a couple of weeks. My project is a leaderboard java/js app for an online game. It's currently backed by ~200k data point entities that should use 200 mb of storage. The datastore statistics tab reports that size of all entities (153k) is 105mb. I have one index (ascending on timestamp). Yet the quota is now 100%. Any ideas? The app-id is 'alleg-leaderboard', if anyone from google wants to take a look. -- 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. -- 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] Can I now in wich version my code is running?
For example, I have this method to know if my code is running is hosted mode or over appengine: public static boolean isDevelopment() { return (SystemProperty.environment.value() == SystemProperty.Environment.Value.Development); } And I need a similar method that returns me in wich version number is running my code when runs over appengine. Is there anyway to get the version number? -- 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: Problems when downloading data from the app
I would suggest placing a strategic pdb.set_trace() around the error lines right before the bulkloader checks if the error is in the non_fatal_error_codes set. This way, you could check what the error code is and add it in the same fashion I did in my patch. On Feb 2, 3:48 am, antichrist ttlt...@gmail.com wrote: I have similar problem, but slight different error message. [ERROR 2011-02-02 14:40:50,286 adaptive_thread_pool.py] Error in Thread-1: urlopen error (10014, 'Bad address') [DEBUG 2011-02-02 14:40:50,301 adaptive_thread_pool.py] Traceback (most recent call last): File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 693, in PerformWork transfer_time = self._TransferItem(thread_pool) File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 1081, in _TransferItem self, retry_parallel=self.first) File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 1358, in GetEntities results = self._QueryForPbs(query) File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 1308, in _QueryForPbs result_pb) File D:\Program Files\Google\google_appengine\google\appengine\api \apiproxy_stub_map.py, line 78, in MakeSyncCall return apiproxy.MakeSyncCall(service, call, request, response) File D:\Program Files\Google\google_appengine\google\appengine\api \apiproxy_stub_map.py, line 278, in MakeSyncCall rpc.CheckSuccess() File D:\Program Files\Google\google_appengine\google\appengine\api \apiproxy_rpc.py, line 149, in _WaitImpl self.request, self.response) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 223, in MakeSyncCall handler(request, response) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 232, in _Dynamic_RunQuery 'datastore_v3', 'RunQuery', query, query_result) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 155, in MakeSyncCall self._MakeRealSyncCall(service, call, request, response) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 167, in _MakeRealSyncCall encoded_response = self._server.Send(self._path, encoded_request) File D:\Program Files\Google\google_appengine\google\appengine\tools \appengine_rpc.py, line 346, in Send f = self.opener.open(req) File D:\Python25\lib\urllib2.py, line 381, in open response = self._open(req, data) File D:\Python25\lib\urllib2.py, line 399, in _open '_open', req) File D:\Python25\lib\urllib2.py, line 360, in _call_chain result = func(*args) File D:\Python25\lib\urllib2.py, line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File D:\Python25\lib\urllib2.py, line 1082, in do_open raise URLError(err) URLError: urlopen error (10014, 'Bad address') [DEBUG 2011-02-02 14:40:50,301 bulkloader.py] Waiting for progress_thread to terminate... [DEBUG 2011-02-02 14:40:50,316 bulkloader.py] [Thread-11] ExportProgressThread: exiting [DEBUG 2011-02-02 14:40:50,316 bulkloader.py] ... done. [INFO 2011-02-02 14:40:50,332 bulkloader.py] Have 892 entities, 0 previously transferred [INFO 2011-02-02 14:40:50,332 bulkloader.py] 892 entities (5134783 bytes) transferred in 63.6 seconds --- This URLError: urlopen error (10014, 'Bad address') error occur every time I try to download data after some time. Has anyone know about this problem? On 1월24일, 오후5시23분, Ricardo Bánffy rban...@gmail.com wrote: in case it affects anyone else, one line fixes it: Index: google/appengine/tools/bulkloader.py === --- google/appengine/tools/bulkloader.py (revision 142) +++ google/appengine/tools/bulkloader.py (working copy) @@ -698,6 +698,8 @@ transfer_time) sys.stdout.write('.') sys.stdout.flush() + # Since we had at least one successful transfer, we could assume DNS errors are transient + non_fatal_error_codes.add(-2) status = adaptive_thread_pool.WorkItem.SUCCESS if transfer_time = MAXIMUM_INCREASE_DURATION: instruction = adaptive_thread_pool.ThreadGate.INCREASE BTW, is there a nice constant for this kind of error? Adding a -2 to the set seems dirty, to say the least. 2011/1/22 Ricardo Bánffy rban...@gmail.com: Hi. I have been, for the past couple days, to download data from the live app to my local development copy. Every time,
Re: [google-appengine] Re: Task Queue Over Improperly Quota
it was something behind the scenes, and you have not been overcharged. apps should be returning to normal soon. we'll provide an update once the dust has settled (keep an eye on Downtime Notify). best regards, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming, Prentice Hall, (c)2007,2001 Python Fundamentals, Prentice Hall, (c)2009 http://corepython.com wesley.chun : wesc+api at google.com : @wescpy developer relations :: google cloud products -- 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: Missing Dashboard Graph Data
me too +1. I can't see it. But I don't need it especially, I use Google Analytic, it's better. On 8 feb, 08:53, master outside masterouts...@gmail.com wrote: I am missing all data on the dashboard for before the maintenance today. I see this on all my app. I often will look back 30 days to see how the load is changing and how improvements have effected it. -- 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: How to trigger a function every 5 minutes
tasks and task queues should do that... schedule one task to run and let that task schedule itself in 5 mins. remember that the eta is not respected in dev env but will work once deployed. On Feb 5, 11:38 pm, momijigari r.oskol...@gmail.com wrote: Hello! I've just started to work with Google App Engine. So I'm noob, and I ask for your patience. And I've never programmed with Java before, so I'm a noob twice. (but I'm a Flash Developer and am familiar with programming). I decided to write a small jabber bot running on Google App Engine. Have read an official tutorial (http://code.google.com/intl/uk-UA/appengine/articles/using_xmpp.html ) Well it was kinda mess but I managed to make a simple bot which says hello as an answer to anything. I don't even understand how did it work after deployment, cause i couldn't test anything locally. Kinda magic from google... I still dont understand the basic concept of how it all works, what class is triggered first, which one is basic, how they interact etc., and nobody even tried to explain that in Google documentation. May be you could advise me also some very VERY simple basic tutorials for the super noobs in the technology.. But never mind, I have a different topic here. Now I have a simple question — I want my bot to make an action every 5 minutes. How can I set a scheduled event in Java? I've tried to understand the TasksQueue concept (from herehttp://code.google.com/intl/uk/appengine/docs/java/taskqueue/overview... ) But it makes absolutely no sense to me. I just need to trigger one function every 5 mins. What is the easiest way to do it? Thanks in advance. -- 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] Datastore quota full, statistics reports ~10% usage
Hey guys! This seems to be exactly what's happening. I'll take a look at it tomorrow when I'm, ehrm, back in the game (happy birthday to me! :) I have 17 props/entity, so if GAE started to implicitly index the the quota makes sense. (code is available on http://github.com/onemanbucket/alleg-leaderboard ) I have a question though, can I update my model properties to be explicitly unindexed and drop the superfluous indices already created? One poster in the thread Robin posted says The annotation applies to new data records only, you have to rewrite older ones or wait until they expire (as I do). Cheers, Erik On Tue, Feb 8, 2011 at 19:47, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hi Erik, Can you post the definition for one of your entities? I look at look at your dashboard, and here's what I see: - 105mb used by datastore entities - 0 tasks using task queue stored bytes quota - 0 blobstore bytes used - 1 COMPOSITE index Note that built-index indices also consume storage. For instance, let's say you have an entity with the properties: - name : String - createdAt : timestamp Unless you explicitly mark these properties as unindexed, we will created indexes for these properties, but we will NOT display them on the datastore indexes tab in your admin console, since they are not composite indices. See the bit here about setting indexed=False: http://code.google.com/appengine/docs/python/datastore/propertyclass.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Feb 8, 2011 at 10:21 AM, Robert Kluin robert.kl...@gmail.com wrote: Hi Erik, There are several things that can eat into your stored-data quota. Did you explicitly disable indexes on all of your properties except the timestamp? If not you have two indexes on each property. Indexes can easily double your stored data size. If you'd like to see index stats, star issue 2740: http://code.google.com/p/googleappengine/issues/detail?id=2740 Does your app use tasks? Tasks now use some of your stored data quota. Also, any data you have stored in the blobstore will use your stored-data quota. Some of the stored-data counts do not reset in real-time, but are periodically updated. So you might see a sudden drop in your stored-data. Robert On Tue, Feb 8, 2011 at 03:19, Erik Lindblad erik.lindb...@gmail.com wrote: Hello! I've been experimenting with GAE for a couple of weeks. My project is a leaderboard java/js app for an online game. It's currently backed by ~200k data point entities that should use 200 mb of storage. The datastore statistics tab reports that size of all entities (153k) is 105mb. I have one index (ascending on timestamp). Yet the quota is now 100%. Any ideas? The app-id is 'alleg-leaderboard', if anyone from google wants to take a look. -- 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. -- 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] Billing Command Failed
Thank you for replying, but I've already tried it several times, and no reply has come yet. Anybody who could change billing budget in past 10 hours? 2011/2/9 Robert Kluin robert.kl...@gmail.com I would file a billing support issue. http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport Robert On Tue, Feb 8, 2011 at 08:07, proxima company100@gmail.com wrote: Hi, I'm trying to enable billing but faced a big problem. Whenever I try to enable billing, the message below shows up. Billing Command Failed There was an unexpected error and your budget settings were not saved. Please try again. If this problem persists, please contact support. There is no hint about the error. What or why did the error occur. And it's been more than 5 hours. Are there anybody have faced this error? If then, what can I do for solve this? -- 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. -- 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] Re: Task Queue Over Improperly Quota
seems to be behaving correctly now The mapreduce that filled up all our quotas yesterday is currently running (hour and a half) and is using the right amount of stored task bytes thanks btw ! On 8 February 2011 14:03, Wesley C (Google) wesc+...@google.com wrote: it was something behind the scenes, and you have not been overcharged. apps should be returning to normal soon. we'll provide an update once the dust has settled (keep an eye on Downtime Notify). best regards, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming, Prentice Hall, (c)2007,2001 Python Fundamentals, Prentice Hall, (c)2009 http://corepython.com wesley.chun : wesc+api at google.com : @wescpy developer relations :: google cloud products -- 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. -- http://about.me/david.mora -- 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] Linking a domain without Google Apps
Hi, I'm trying to link a domain to my App, but I'm unable to register it with Google Apps because it contains profanity (even though my app id contains the same words) The Google Apps help says it is completely absolutely impossible to bypass the filter. So is there another way to link my domain to the app? App ID: wow-you-suck = domain: wowyousuck.com Thanks, Sean -- 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] Empty blobs in blobstore
Hello, I have a form with an optional file upload handled by blobstore. By optional I mean that the form is always submitted to an url created with blobstore.create_upload_url() but the user is not required to actually upload a file. What I am noticing recently is that even if a user doesn't submit a file (i.e. leaves the file upload field empty) an empty blob is created anyway and I get the blobinfo object for it. I am pretty sure it wasn't like that before, has anyone else also noticed that? -- Best Regards Piotr Jaroszyński -- 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] BlobStore - DownloadError: ApplicationError: 2 [Errno 35] Resource temporarily unavailable
In my app, the user uploads one or more files as blobs, then the app takes the blobs, adds BlobReader objects of them to a SOAP request, and sends the request to an external server. I've tested the SOAP request sender outside GAE (using open(filename) instead of BlobReader), and also confirmed that the file uploads to the app correctly. It seems like maybe the error is due to the SOAP request sender being unable to read from the blobstore - does anyone have any idea how I can fix this? Below is the error: INFO 2011-02-09 00:22:14,856 dev_appserver.py:3317] GET /test HTTP/1.1 500 - INFO 2011-02-09 00:22:15,063 dev_appserver.py:3317] GET / favicon.ico HTTP/1.1 200 - WARNING 2011-02-09 00:22:25,498 urlfetch_stub.py:284] Stripped prohibited headers from URLFetch request: ['Content-Length'] ERROR2011-02-09 00:22:25,503 __init__.py:395] ApplicationError: 2 [Errno 35] Resource temporarily unavailable Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/webapp/__init__.py, line 515, in __call__ handler.get(*groups) File /Users/iratecat/opal/opalapp/handlers.py, line 84, in get res = c.launchJob(cmd_args, blobs) File /Users/iratecat/opal/opalapp/opalclient.py, line 132, in launchJob resp = self.appServicePort.launchJob(req) File ./client/AppService_client.py, line 60, in launchJob response = self.binding.Receive(launchJobResponse.typecode) File ./client/ZSI/client.py, line 547, in Receive self.ReceiveSOAP(**kw) File ./client/ZSI/client.py, line 430, in ReceiveSOAP if not self.IsSOAP(): File ./client/ZSI/client.py, line 422, in IsSOAP self.ReceiveRaw() File ./client/ZSI/client.py, line 389, in ReceiveRaw response = self.h.getresponse() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/dist/httplib.py, line 203, in getresponse self._allow_truncated, self._follow_redirects) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/urlfetch.py, line 241, in fetch return rpc.get_result() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_stub_map.py, line 530, in get_result return self.__get_result_hook(self) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/urlfetch.py, line 325, in _get_fetch_result raise DownloadError(str(err)) DownloadError: ApplicationError: 2 [Errno 35] Resource temporarily unavailable -- 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] Mobile Integration and the Channel API
Hello, I was thinking about how to integrate my App Engine app with mobile devices; my favorite choices so far are phonegap and Titanium, and it seems relatively simple to port things to these platforms. However, the sticking point has been that my application uses the Channel API. What I'm wondering is, what exactly does a mobile platform like phonegap or Titanium need to interface properly with the Channel API? I know WebSockets, but is there anything more than that? If anyone has any experience integrating their app with mobile devices and using Channel, I'd appreciate some ideas on how to do so. I realize this could be seen as a phonegap/Titanium question rather than an App Engine one but I'm particularly interested in what App Engine's JS is doing client-side so I can perhaps find some mobile platform specific hacks(for instance I've found some that enable WebSockets in phonegap). Any help is much appreciated. Thanks, Richard Arrano -- 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] Billing Command Failed
I tried again and it was done. I think there was a bug in appengine billing system and fixed. Thank you :) 2011/2/9 한우진 company100@gmail.com Thank you for replying, but I've already tried it several times, and no reply has come yet. Anybody who could change billing budget in past 10 hours? 2011/2/9 Robert Kluin robert.kl...@gmail.com I would file a billing support issue. http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport Robert On Tue, Feb 8, 2011 at 08:07, proxima company100@gmail.com wrote: Hi, I'm trying to enable billing but faced a big problem. Whenever I try to enable billing, the message below shows up. Billing Command Failed There was an unexpected error and your budget settings were not saved. Please try again. If this problem persists, please contact support. There is no hint about the error. What or why did the error occur. And it's been more than 5 hours. Are there anybody have faced this error? If then, what can I do for solve this? -- 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. -- 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] Can App Engine for Business be behind the firewall of the company?
I wasn't sure reading documentation: http://code.google.com/appengine/docs/python/overview.html Thanks. -- 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] Abnormal Number Of Instances and High CPU
I understand some people were having issues with task queue after the maintenance period. Well, I'm seeing an out of the norm number of instances and higher than usual CPU and latency since the maintenance period. Before the maintenance period things were extremely fast (in fact they were screamingly fast) but not now. I'm still in the development stage and I've never gone over 3-4 instances. Now I'm seeing 7, 8 and 9. Also, the CPU usage seems very high. Anyone else seeing this or is it just me? -- 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: Adding a custom domain?
How exactly do I do that? On Feb 7, 4:35 pm, Robert Kluin robert.kl...@gmail.com wrote: Try adding the app from your domain management pannel. I have no issues with apps on 'domain alias' subdomains. Robert On Sun, Feb 6, 2011 at 15:51, ultimatebuster ultimatebu...@gmail.com wrote: I have this domain registered as a secondary domain to google apps. I want to use a subdomain from the secondary domain to register for google apps. For some reason i can't do that. Anyway around this? -- 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 athttp://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: Adding a custom domain?
Never mind, I figured it out. On Feb 8, 10:24 pm, ultimatebuster ultimatebu...@gmail.com wrote: How exactly do I do that? On Feb 7, 4:35 pm, Robert Kluin robert.kl...@gmail.com wrote: Try adding the app from your domain management pannel. I have no issues with apps on 'domain alias' subdomains. Robert On Sun, Feb 6, 2011 at 15:51, ultimatebuster ultimatebu...@gmail.com wrote: I have this domain registered as a secondary domain to google apps. I want to use a subdomain from the secondary domain to register for google apps. For some reason i can't do that. Anyway around this? -- 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 athttp://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] Quota of stored data doesn't update after deleting all data
It does not immediately reset. Give it a few hours. Robert On Tue, Feb 8, 2011 at 23:05, Upsuper Quan quanxunz...@gmail.com wrote: I have an application whose id is fanfou-top100 on gae. And today I deleted all data of this application since the quota is almost reached. I have deleted all data of my application by using the Delete Entities in Datastore Admin in my Admin Console, but after deleting the data, the quota of stored data doesn't update, and remains over 90% of quota. What's the problem? -- 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] Quota of stored data doesn't update after deleting all data
so do you know how long will it take? -- 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] Can App Engine for Business be behind the firewall of the company?
Not unless Google's datacenter is behind your firewall. Your Python application runs on Google's scalable infrastructure, and uses large-scale persistent storage and services. (first paragraph of the doc you linked to). Are you trying to restrict access to you app, or give your app secure access to some data? You might want to check out the Secure Data Connector, http://code.google.com/securedataconnector/ Robert On Tue, Feb 8, 2011 at 20:58, Zeynel azeyn...@gmail.com wrote: I wasn't sure reading documentation: http://code.google.com/appengine/docs/python/overview.html Thanks. -- 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] Can I now in wich version my code is running?
How about applicationVersion? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/utils/SystemProperty.html#applicationVersion Robert On Tue, Feb 8, 2011 at 14:21, nacho vela.igna...@gmail.com wrote: For example, I have this method to know if my code is running is hosted mode or over appengine: public static boolean isDevelopment() { return (SystemProperty.environment.value() == SystemProperty.Environment.Value.Development); } And I need a similar method that returns me in wich version number is running my code when runs over appengine. Is there anyway to get the version number? -- 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] Datastore quota full, statistics reports ~10% usage
Hi Erik, If you mark them as unindexed, new entities will not be indexed, but you'll have to re-put your existing data to clear up the space. Robert On Tue, Feb 8, 2011 at 16:54, Erik Lindblad erik.lindb...@gmail.com wrote: Hey guys! This seems to be exactly what's happening. I'll take a look at it tomorrow when I'm, ehrm, back in the game (happy birthday to me! :) I have 17 props/entity, so if GAE started to implicitly index the the quota makes sense. (code is available on http://github.com/onemanbucket/alleg-leaderboard ) I have a question though, can I update my model properties to be explicitly unindexed and drop the superfluous indices already created? One poster in the thread Robin posted says The annotation applies to new data records only, you have to rewrite older ones or wait until they expire (as I do). Cheers, Erik On Tue, Feb 8, 2011 at 19:47, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hi Erik, Can you post the definition for one of your entities? I look at look at your dashboard, and here's what I see: - 105mb used by datastore entities - 0 tasks using task queue stored bytes quota - 0 blobstore bytes used - 1 COMPOSITE index Note that built-index indices also consume storage. For instance, let's say you have an entity with the properties: - name : String - createdAt : timestamp Unless you explicitly mark these properties as unindexed, we will created indexes for these properties, but we will NOT display them on the datastore indexes tab in your admin console, since they are not composite indices. See the bit here about setting indexed=False: http://code.google.com/appengine/docs/python/datastore/propertyclass.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Feb 8, 2011 at 10:21 AM, Robert Kluin robert.kl...@gmail.com wrote: Hi Erik, There are several things that can eat into your stored-data quota. Did you explicitly disable indexes on all of your properties except the timestamp? If not you have two indexes on each property. Indexes can easily double your stored data size. If you'd like to see index stats, star issue 2740: http://code.google.com/p/googleappengine/issues/detail?id=2740 Does your app use tasks? Tasks now use some of your stored data quota. Also, any data you have stored in the blobstore will use your stored-data quota. Some of the stored-data counts do not reset in real-time, but are periodically updated. So you might see a sudden drop in your stored-data. Robert On Tue, Feb 8, 2011 at 03:19, Erik Lindblad erik.lindb...@gmail.com wrote: Hello! I've been experimenting with GAE for a couple of weeks. My project is a leaderboard java/js app for an online game. It's currently backed by ~200k data point entities that should use 200 mb of storage. The datastore statistics tab reports that size of all entities (153k) is 105mb. I have one index (ascending on timestamp). Yet the quota is now 100%. Any ideas? The app-id is 'alleg-leaderboard', if anyone from google wants to take a look. -- 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. -- 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. -- 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
Re: [google-appengine] Quota of stored data doesn't update after deleting all data
I don't, no. People usually see it drop down within a few hours though. On Tue, Feb 8, 2011 at 23:56, Upsuper Quan quanxunz...@gmail.com wrote: so do you know how long will it take? -- 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] Quota of stored data doesn't update after deleting all data
I have been waiting for about 7 hours, but it doesn't drop down... On Wed, Feb 9, 2011 at 1:21 PM, Robert Kluin robert.kl...@gmail.com wrote: I don't, no. People usually see it drop down within a few hours though. On Tue, Feb 8, 2011 at 23:56, Upsuper Quan quanxunz...@gmail.com wrote: so do you know how long will it take? -- 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. -- 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.