[appengine-java] Re: SOAP-Samples and the Development Server
I solved the problem by changing the port number in the client projects launch configuration properties (Server-Settings). Now the SOAP-Server port number is (default) and the Client port number ist 8889. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Wc7CQPkGX4YJ. 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] FOP on GAE
Hi, I've been looking around for support of FOP on GAE. I notice that the GAE issue that should provide support is in status 'Accepted', but what would this mean in terms of scheduling? http://code.google.com/p/googleappengine/issues/detail?id=1313 And with the risk of getting paranoia, why are the promising links mentioned in following locations offline? http://jaxenter.com/want-apache-fop-running-on-gae-here-s-your-answer-32543.html http://groups.google.com/group/google-appengine-java/browse_thread/thread/b75d9f45b09ba9c3/d579bf5efc755db8?hl=enlnk=gstq=fop#d579bf5efc755db8 Has anyone ever seen what's been published there? Thanks for any status update on this! Regards, Vic -- Vic Mortelmans Klappeistraat 34A - 2060 ANTWERPEN 03 297 40 23 - 0499 71 06 37 -- 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] Namespace not being set from google apps
I have integrated the app with google apps marketplace. When the app is invoked from drop down more link on google apps, i expect the apps namespace key to be automatically set to the domain value but it's not happening. The value returned by NamespaceManager.getGoogleAppsNamespace() is . Any idea what I might be doing wrong? Thank you for your help. public class NamespaceFilter implements Filter { . public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { - case GOOGLE_APPS_DOMAIN : { NamespaceManager.set( NamespaceManager.getGoogleAppsNamespace()); -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Pelx3vd5MH8J. 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] Cronjob every 1 minutes executes every 2 minutes
Hi guys, I define my cron job with scheduleevery 1 minutes/schedule. The job fetches an XML every 5 seconds (Thread.sleep(5 * 1000);). In total, the job runs for 60 seconds. While testing I notice that the job doesn't run every 1 minute, but every 2 minutes. This means that every N minutes means: when a job has finished running, start the next one N minutes from now. I tried my logic by putting a cronjob online with scheduleevery 2 minutes /schedule. And this job runs every 4 minutes (the job runs for 2 minutes and waits until 2 minutes are over) Is that a bug or is this intentional? And how to get around this? I need to load this XML every 5 seconds. (the IT guys who publish the XML cannot notify me when the information updates) Thnx! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/bPipwpjpVVUJ. 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] Storing query results in memcache
Hi, I just moved my app to HRD and I am trying to use the memcache to overcome the eventual consistency problem.. When it comes to get-by-id queries the solution is very simple. The problem appears when I insert an entity and I want to appear in the results of more complex queries. Because using entity groups is not the answer in certain situations I had to use some sort of foreign keys.. So far I thought of a system that gets an unique id from the query based on its FilterPredicates (eg: MEMCACHE_PHONE_NUMBERS_contactId_12345) and then uses that to update or read the entities from there. I would build this system by doing my own implementation of the DatastoreService interface and attach the memcache management on the various put/delete/get methods. I don't want to reinvent the wheel. Is there anything already done that I could use? If anybody has any suggestions feel free to enlighten me ;) Thanks, Cristian. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/kpbaU9bSK2YJ. 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] Error redirecting application to strange URL
Hi! I've deployed my application and when I try to acess it I'm being redirected to https://win-mof4xw8aphi.nimbo.com/adfs/ls/?SAMLRequest=fVLJTsMwEL0j8Q%2BW79laCYHVBBUQohJLRAMHbq4zadx6CR6nhb%2FHTUHAoT36%2Bfkt45lcfmhFNuBQWpPTLE4pASNsLc0ypy%2FVbXROL4vTkwlyrTo27X1rnuG9B%2FQkvDTIhouc9s4wy1EiM1wDMi%2FYfPpwz0ZxyjpnvRVWUTK7yakxi2XQX2tdr6XiK9mt6pa3UqwWyoJeN62uW9WsKXn9iTXaxZoh9jAz6LnxAUqzLEovotF5lZ2x8Zil4zdKym%2BnK2n2DY7FWuxJyO6qqozKp3k1CGxkDe4xsHO6tHapIBZW7%2BxLjig3AW64QqBkigjOh4DX1mCvwc3BbaSAl%2Bf7nLbed8iSZLvdxr8yCU%2BM1AsrpN8fBdJimC0b6rk%2FQz0env%2BY0%2BKg%2FCT5o1x8f%2BGu2eymtEqKTzJVym6vHXAfannXh1a31mnuD5tncTYgso6agcp6gx0I2UioKUmKvev%2FXQkb9AU%3DRelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fnimbocit.com%2FServiceLogin%3Fservice%3Dah%26passive%3Dtrue%26continue%3Dhttps%253A%252F%252Fappengine.google.com%252F_ah%252Fconflogin%253Fcontinue%253Dhttp%253A%252F%252Fcit-sas-integracao.appspot.com%252Fautenticacao%252Flogin%26ltmpl%3Dga%26shdf%3DChMLEgZhaG5hbWUaB0NvdGFkb3IMEgJhaCIUML8BjRn1SOK-AgaONFjG2uoXy1EoATIUum2ZFl0vHB8rWg6s7Aqpm8dg6CY My google domain account is *@gmail.com*. When I deploy the same application using my *@ciandt.com*, that is a google account too, my application works normally. Can anyone help me? Thanks! Fábio Peruchi -- 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: Snapshots...
Thank you! This is really a good post. Best, Daniel V. 2011/9/28 Jose Montes de Oca jfmontesde...@google.com Hi Daniel, Take a look at our Bulkloader Tool: http://code.google.com/appengine/docs/python/tools/uploadingdata.html Here is a great post: http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/ Hope this helps your needs! Best, Jose Montes de Oca -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/mqMA-JEDmFQJ. 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. -- __ Daniel Vieira Viveiros Technology Manager - CiT Phone: +55 (019) 9787-9674 E-mail/GTalk: vivei...@ciandt.com Esta mensagem, incluindo seus anexos, contém informações legais privilegiadas e/ou confidenciais, não podendo ser retransmitida, arquivada, divulgada ou copiada sem autorização do remetente. Caso tenha recebido esta mensagem por engano, por favor informe o remetente respondendo imediatamente a este e-mail, e em seguida apague-a do seu computador. The information contained in this email message, including any attachment, is privileged and/or confidential. This message may not be retransmitted, archived, disclosed or copied without sender’s approval. If you have received this email in error, please notify the sender by replying to this message, and then delete it from your system. -- 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: Error redirecting application to strange URL
Hi, Seems that your app is using the google apps domain nimbocit.com for authentication and it has SSO enabled. cheers Fábio -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/FEewd8wJgTsJ. 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] Cronjob every 1 minutes executes every 2 minutes
Sounds like you need to add synchronized to the schedule, thus every 1 minutes synchronized, to get it what you want to do if I'm understanding you correctly. Stephen CortexConnect.com On Wed, Sep 28, 2011 at 8:38 AM, dimi dimitri.beck...@gmail.com wrote: Hi guys, I define my cron job with scheduleevery 1 minutes/schedule. The job fetches an XML every 5 seconds (Thread.sleep(5 * 1000);). In total, the job runs for 60 seconds. While testing I notice that the job doesn't run every 1 minute, but every 2 minutes. This means that every N minutes means: when a job has finished running, start the next one N minutes from now. I tried my logic by putting a cronjob online with scheduleevery 2 minutes/schedule. And this job runs every 4 minutes (the job runs for 2 minutes and waits until 2 minutes are over) Is that a bug or is this intentional? And how to get around this? I need to load this XML every 5 seconds. (the IT guys who publish the XML cannot notify me when the information updates) Thnx! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/bPipwpjpVVUJ. 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] Cronjob every 1 minutes executes every 2 minutes
Thanks Stephen, works like a charm! I don't really understand the explanation about synchronized in the manual, so I didn't try it out. But it works,... as long as the request doesn't exceeds 60 seconds. If it does, the cron executes a minute later. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/KVIzJWFHU5wJ. 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] Cronjob every 1 minutes executes every 2 minutes
Great! Glad it worked for you. On Wed, Sep 28, 2011 at 10:38 AM, dimi dimitri.beck...@gmail.com wrote: Thanks Stephen, works like a charm! I don't really understand the explanation about synchronized in the manual, so I didn't try it out. But it works,... as long as the request doesn't exceeds 60 seconds. If it does, the cron executes a minute later. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/KVIzJWFHU5wJ. 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] Memcache objects remain only 5 minutes
You're right: there are no guarantees around how long an item will stay in Memcache. Memcache has two Least-Recently-Used lists of items, where if you don't read or write an item, it may be pushed off the list for space. There's a per app LRU and a global LRU for apps sharing the same memcache instance. 5 minutes seems extremely short (typical eviction time of an untouched item is on the order of magnitude of a few hours), however, and I'm fairly certain with your memory size it's probably not the local LRU. I don't have any suggestions for the moment, but perhaps you can track the hit rate with getStatistics and try to determine some patterns? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html#getStatistics() -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 2:11 AM, Peter Nees peter.n...@unclestock.comwrote: My objects remain in the memcache only for about 5 minutes. I know that there is no guarantee about the caching period, but this seems abnormal. I've read that lack of memory could be the reason. The size of one object is about 50K, and I typically cache less as 50 objects. I have no flush statements in my code don't remove objects. What can be the reason for this, or how can I look for the reason? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/cn5YIIUS5AYJ. 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: Disable 'refresh' in a page
I agree with everything everyone has said about disabling refresh. Don't interrupt basic browser functions. It's a bad idea. What problem are you trying to solve? There is probably a more intuitive way of doing this. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 5:02 AM, Drew Spencer slugmand...@gmail.com wrote: I agree with Mat. Just tell your users not to refresh or give them no reason to. They aren't stupid. It's like when a site prevents me right-clicking - I hate that site and never go back. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/uuaynCZW5rUJ. 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] Google App Engine Internet Crawler
You'll probably have to use chaining task queues or the backends API: http://code.google.com/appengine/docs/java/backends/overview.html This has the tendency to be pretty expensive, though, and you don't really get any benefits from using App Engine, so you might be better off crawling the internet with idle computer/bandwidth at your university. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 4:55 AM, Rodel Ocampo rrocamp...@gmail.com wrote: Good day Developers! Any idea on how to crawl the internet in Google App Engine - Java? My thesis requires me to search a book in the internet just using the book's ISBN. Thank you very much. :D -- 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] All prices being shown as $0.00 under Billing History
Do you have an affected app ID we can look at? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Sep 26, 2011 at 9:22 PM, Arun Ramanujapuram arun_rama...@yahoo.comwrote: Hi, All prices are being shown as $0.00 under the Billing History page on the admin. console as of 9:20pm PST. If this is not the correct forum to raise, please let me know. Thanks, Arun -- 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] Transactions on entities in different entity groups ?
You currently can't, but we plan on rolling out a feature that will do this in the next few releases. It's currently in trusted tester at the moment. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Sep 26, 2011 at 10:59 PM, Santosh kumar kopp@gmail.com wrote: Hi, I want to know how to create/update the entities which are in different entity groups ? for ex: I want to update the *apple* and *carrot* entities in a transaction but those parents are not same. (Here i am in such a situation) Thanks in advance :) *S*antosh *K*umar *K* http://www.accountingguru.in/** -- 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] Will user service be available for DeferredTask?
No, deferred tasks run in a task queue. You will probably want to persist the user in the datastore and pass the userId as a parameter to the deferred task to be fetched. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Sep 23, 2011 at 11:38 PM, -sowdri- sow...@gmail.com wrote: Hi, In case, the deferred task need to identify the user who ran the task, will the state of userservice be available for the task being executed? thanks, -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/-cAeWEhnW9gJ. 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] createEntityManager() taking too long
I'm using JPA and see that calls to createEntityManager() are taking several seconds (e.g., 6 seconds). This is with HRD and reserved instances. And it's not the first time either, subsequent calls are also slow. Is anyone else seeing this, and is there a way to speed these up? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/MMVaNUzDPvoJ. 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: NameSpaceManager getGoogleAppsNamespace()
Vishal, Did you ever find out an answer for this question? Thank you for your help -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/HWiVgK917vgJ. 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] Will user service be available for DeferredTask?
Thanks, Regarding local-unit testing of Appengine deferred task, I don't find a way to use any other queue but the default queue. http://code.google.com/appengine/docs/java/tools/localunittesting.html Is there a way to specify the name of the queue to use in local-unit testing. In spite of the fact that the ability to select queues will not make any difference from the testing perspective, that will certainly help to test deferred task that's part of the production code, without modifying it for testing purpose. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/CrG1F8-gTH4J. 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: Namespace not being set from google apps
Update: I am going to try explicitly setting the namespace value to the value carried by com.google.appengine.api.users.UserService.user_organization instead of NamespaceManager.getGoogleAppsNamespace() method. I wish the latter worked but it's not. user_organization is being set correctly to the calling domain on the other hand. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ykyLWi5raCsJ. 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] Re: Using other code in a backend
Will this also work in the development server? I have not seen an option to start the Java development server and the Python development server with the same datastore. Regards, Hans Then On Sep 27, 5:53 am, Greg Darke (Google) darke+goo...@google.com wrote: Yes it is quite easy to do. The easiest way is to create a separate directory containing the code for the backend, then just upload the backend (be sure to not accidentally upload the code over your default version). Though be careful with configuration that is not scoped to a specific version: indexes, queues, cron, dos. You should ensure that you specify the same information in the configuration for both languages. Testing a solution that uses multiple languages can be quite difficult (and is generally easiest to test the application by deploying to a test app-id). On 27 September 2011 04:54, Hans Then hans.t...@gmail.com wrote: Hi all, Is it possible to create a backend containing another program than the main instance? Specifically, is it possible to create a backend using a different programming language e.g. Java in the backend and Python in the main instance? Regards, Hans Then -- 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] Re: Using other code in a backend
No, It is best to test the interaction of the two versions by deploying them. On 28 September 2011 16:17, Hans Then hans.t...@gmail.com wrote: Will this also work in the development server? I have not seen an option to start the Java development server and the Python development server with the same datastore. Regards, Hans Then On Sep 27, 5:53 am, Greg Darke (Google) darke+goo...@google.com wrote: Yes it is quite easy to do. The easiest way is to create a separate directory containing the code for the backend, then just upload the backend (be sure to not accidentally upload the code over your default version). Though be careful with configuration that is not scoped to a specific version: indexes, queues, cron, dos. You should ensure that you specify the same information in the configuration for both languages. Testing a solution that uses multiple languages can be quite difficult (and is generally easiest to test the application by deploying to a test app-id). On 27 September 2011 04:54, Hans Then hans.t...@gmail.com wrote: Hi all, Is it possible to create a backend containing another program than the main instance? Specifically, is it possible to create a backend using a different programming language e.g. Java in the backend and Python in the main instance? Regards, Hans Then -- 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. -- 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: general problems with the channel api
The Solution is that script src='/_ah/channel/jsapi'/script refers to https://talkgadget.google.com/talkgadget/channel.js which is on the blacklist of the proxy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Lkgt8juiuFoJ. 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: How to set more than 3 Resident instance
Hi Poke, Is your application using Python or Java ? What is your application id ? 1/ 2/ I don't think raising Min-Idle-Instance would help your cost to go down, on the opposite it is likely to introduce new costs since the scheduler will make sure there is always at least Min-Idle-Instance around to serve potential traffic spike. I think you should consider paying for *Reserved Instance Hours* once the new pricing model is out. As described here: http://code.google.com/appengine/kb/postpreviewpricing.html#different_on_demand_instance_reserved It will allow you to get a discount on instances hours by pre-committing to a certain amount of instance hours per week. 3/ About Cache-Control header, can you give us a public url of one of your handler that is reproducing this issue ? Thanks in advance. On Wed, Sep 28, 2011 at 3:30 AM, poke buidinhngoc.a...@gmail.com wrote: Thanks . But please answer me 3 question to help me understand , how it work ? On Sep 28, 2:27 am, Tapir tapir@gmail.com wrote: Your app handles 20 req/s, which means 1.728M req/day. If each page uses 3.5 requests, then you app has 500K pageviews/day. I think you at least 3-6 full instances to run your app. I don't think there is a way you can spend under 30$.day on app engine with the new price model. On Sep 27, 6:27 pm, poke buidinhngoc.a...@gmail.com wrote: My application using about 20 req/s . I tried many ways to optimize my application before new price model apply . But daily cost always getter than 30$ perday .I have 3 question . 1.I think i increase number of resident instances will help cost go to down . I'm true ? 2.How to increase number of resident instances ? And how many Resident instances are fit for me ? 3.On dynamic page i set two header Cache-Control: public, max-age=300 and Exprites : one hourse after. But number of requests to instance,resource usage,RPC apis not down . -- 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. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- 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] 500 response codes
Hi Vik, Thanks for reporting this issue. Please consider filling a Defect on the public issue tracker: http://code.google.com/p/googleappengine/issues/entry?template=Other%20defect Thanks in advance. On Tue, Sep 27, 2011 at 1:15 PM, vik vmgu...@gmail.com wrote: Hello, I got a 500 Internal Server Error response code from App Engine with the following description in one of the WARNING prints (I saw this in the myApp/dashboard/logs). Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. With such a description I believe I should get a 503 Service Unavailable instead of 500 Internal Server Error. Getting a 503 will at least hint the client to retry after a short duration which is the correct behavior. In this case, I got a 500 and hence did not retry. Am I missing something? Regards, Vikram -- 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. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- 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 directory
Hi, AFAIK there is no way to configure the path of the datastore directory yet. Feel free to fill a feature request here: http://code.google.com/p/googleappengine/issues/entry?template=Feature%20request Thanks in advance. On Tue, Sep 27, 2011 at 2:51 PM, freak182 eman.noll...@gmail.com wrote: Thanks. I am using java..How can I configure the datastore directory? On 27 Set, 01:27, Barry Hunter barrybhun...@gmail.com wrote: Its probably your local datastore http://code.google.com/appengine/docs/python/tools/devserver.html#Usi... On Mon, Sep 26, 2011 at 4:57 PM,freak182eman.noll...@gmail.com wrote: Hi, I am new to app-engine and i have notice when i am uploading my app, the my user/Temp directory is holding cache files which is big. Now, any idea how to configure this directory to point to another directory. thanks. cheers. -- 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. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- 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] Risk mitigation, data storage
Hi, I believe a similar topic has been already discussed here: http://stackoverflow.com/questions/6040673/encrypting-user-data-on-app-engine Hope that helps. On Tue, Sep 27, 2011 at 1:52 AM, ThePiachu thepia...@gmail.com wrote: I want to create an app on GAE that will store semi-valuable data of users. Specifically, private and public encryption keys that will be used by the app to perform some encrypting and decrypting. I want to minimise the risk of users' data being stolen, so I intend on using account authorisation with Google account, but I am wondering if there is any way I can go beyond that? Is there some way to store my users' data so even if someone would get into the administrative account wouldn't be able to get? Is there some solution of encrypting the data so as only the user would be able to decode it with their account? -- 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. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- 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] Cannot delete index in ERROR state
Hi, I've been trying to delete an index that went into ERROR state. It started to delete but after a while it switched back to ERROR. Now I'm not even able to start the deletion. Can someone please help? app-id: floreysoftucm Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/YexW2yFsJBQJ. 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] Http Proxy from DevServer leads to Class Cast Exception
When I access an http-service via proxy on the local dev server I get a class cast exception. On the real engine everythitng works well. This is the stack trace: java.lang.ClassCastException: com.google.appengine.repackaged.org.apache.http.message.BasicHttpRequest cannot be cast to com.google.appengine.repackaged.org.apache.http.client.methods.HttpUriRequest at com.google.appengine.api.urlfetch.dev.LocalURLFetchService $7.run(LocalURLFetchService.java:427) at com.google.appengine.api.urlfetch.dev.LocalURLFetchService $7.run(LocalURLFetchService.java:409) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.api.urlfetch.dev.LocalURLFetchService.doPrivilegedExecute(LocalURLFetchService.java: 409) at com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java: 377) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.development.ApiProxyLocalImpl $AsyncApiCall.callInternal(ApiProxyLocalImpl.java:474) at com.google.appengine.tools.development.ApiProxyLocalImpl $AsyncApiCall.call(ApiProxyLocalImpl.java:436) at com.google.appengine.tools.development.ApiProxyLocalImpl $AsyncApiCall.call(ApiProxyLocalImpl.java:415) at java.util.concurrent.Executors$PrivilegedCallable $1.run(Executors.java:463) at java.security.AccessController.doPrivileged(Native Method) at java.util.concurrent.Executors $PrivilegedCallable.call(Executors.java:460) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) I assume its a bug in the LocalURLFetchService or in the ApiProxyLocalImp. Are there any workarounds? Gregor -- 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) App upload: Error 400
Application: ; version: 2-2 Host: appengine.google.com Starting update of app: , version: 2-2 Scanning files on local disk. Scanned 500 files. Cloning 51 static files. Cloning 464 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Compilation starting. Compilation completed. Starting deployment. Rolling back the update. Error 400: --- begin server output --- Client Error (400) The request is invalid for an unspecified reason. --- end server output --- Please let us know what's happening. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ujeOsO4G9GcJ. 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] About the firewall logs
Hello, I am using app engine. Please tell me about Firewall logs. 1. More than one year, Firewall logs are save? 2. When problem happened or I want it, Would you please check for Firewall logs and tell me survey results? Sorry to bother you, but I have an urgent favor that I need to ask you to do for me. Any help would be greatly appreciated. Thanks and Regards, -- 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] Google app engine Upload
Hi, Google App engine not taking changes after uploading new version of application. -- 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] Yet another new pricing request
I'm finding it really frustrating when working out what my (partially written) application might cost me on GAE. I don't have the option to compare with my current billing, because I haven't finished writing it yet. The documentation on costs is really confusing - can you tell me where the DEFINITIVE costs are and why the following sources disagree. I think updating the second of these should be a pretty high priority - it's the front page to GAE for businesses but contains incorrect details (or at least I assume it does unless datastore reads really are 7 times more expensive than writes?!) https://appengine.google.com/billing/history?app_id=... http://www.google.com/enterprise/cloud/appengine/pricing.html http://code.google.com/appengine/docs/billing.html Thanks, Mat. -- 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: like operator in GQL
Have you tried SQLite syntax? On Sep 26, 11:55 pm, someone1 someo...@gmail.com wrote: Not available in GQL but I've had success utilizing IndexTank for full- text search capabilities with AppEngine On Sep 25, 2:55 pm, Bruce Aloe brucea...@gmail.com wrote: Hello, SQL supports like operator. I am wondering whether GQL supports the like operator or not. I have been looking at the GQL reference:http://code.google.com/appengine/docs/python/datastore/gqlreference.html However, the document doesnot mention anything it. Is there any official document talking about this issue? Any help is appreciated. Thanks. Bruce -- 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: Remove logging from app engine
The log would save only parameters values if you are sending GET requests over HTTP. Consider using HTTPS along with POST requests, search for security constraints + GAE and how to force all trafic over HTTPS with the CONFIDENTIAL key. If you want the logger to show no trace of your requests, you will have to disable it. On Sep 27, 10:42 pm, Brian Williams tribblehunter2...@gmail.com wrote: Hi. I am currently using app engine to email from app inventor app. Need information securely emailed and not saved in cloud. Am using Shival Wolfs wolf web mail using TWDB. Works well but i need to know if i can stop the log files being created in app engine. They are storing the data sent and i wish it to not be stored. Can anyone advise or point me towards building the solution please? Many thanks. Brian -- 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: Using memcache might be free, but it's costing you money with instance pricing! Use instance caches if possible.
Remember to implement a mutex system in the in-process caching mechanism or your instance will fail randomly when the new py2.7 version will be rolled out. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/EiSwoa5pffIJ. 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: Google app engine Upload
how long is ages?! and how big is your app?! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/098Ikf2Rwg0J. 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: like operator in GQL
These are among the drawbacks, minuses and reasons why app engine should be cheaper than traditional hosting: - no join, no like, no full text search while sql-based system have these - extremely difficult to migrate from M/S to HRD while sql-based system usually can migrate even large blobs - sitemap.xml.gz has no good solution, you have to roll your own whereas legacy systems have ready solution to make a sitemap - admin console with federated login breaks (other have phpmyadmin or tons of other solution while I don't have a backup system so my system is not real) - it's not good but it's the best we got? regards \niklas -- 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] GQL Not Recognising a ReferenceProperty in Filter
TL/DR: I am unable to get a reference property to be recognised as part of a query filter. I have a datastore thats filled with ~850 groups and ~19,000 items. Each item may belong to only one group, I have two models in my app that represent a Group and an Item: class Group(db.Model): Id = db.IntegerProperty() Name = db.StringProperty() # ... some other properties class Item(db.Model): Id = db.IntegerProperty() Name = db.StringProperty() Group = db.ReferenceProperty(Group, collection_name=groupItems) # ... some other properties I can use the datastore admin to view a specific item (i.e. WHERE Id = 34) and see that it is connected correctly to a Group - SELECT * FROM Item WHERE Id = 34 This gives me a group with the following properties: *Decoded entity key:* *Group: id=10321*https://appengine.google.com/datastore/edit?app_id=s%7Eeve-minernamespace=version_id=eve-copilot-live.353587300539242520key=agtzfmV2ZS1taW5lcnIMCxIFR3JvdXAY0VAM ** ***Entity key:* agtzfmV2ZS1taW5lcnIMCxIFR3JvdXAY0VAM *Id:* 18 If I alter my GQL query to retrieve all items for this Group I get no results! - SELECT * FROM Item WHERE Group = KEY('agtzfmV2ZS1taW5lcnIMCxIFR3JvdXAY0VAM') -- No Results SELECT * FROM Item WHERE Group = KEY('Group', 'agtzfmV2ZS1taW5lcnIMCxIFR3JvdXAY0VAM') -- No Results If I retrieve just the group, it works as expected - SELECT * FROM Group WHERE __key__ = KEY('agtzfmV2ZS1taW5lcnIMCxIFR3JvdXAY0VAM') -- Returns 1 Group This equally applies in my Python code. Calling: group = Group.gql(WHERE Id = :1, 18).get() items = Item.gql(WHERE Group = :1, group).fetch(50) results in a list containing no items. Similarly group.groupItems.fetch(500) -- Returns no results My question is - am I doing something particularly stupid? I have created a dummy project with a similar structure to prove to myself that it wasnt a naming problem (i.e. that Group wasn't a reserved word) and that returns just fine. (Attached if anyone is interested). What am I doing wrong? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/mdUoBVcmLKMJ. 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: cache directory
Hi, added a feature request: http://code.google.com/p/googleappengine/issues/detail?id=5989thanks=5989ts=1317223820 cheers On 28 Set, 18:10, Johan Euphrosine pro...@google.com wrote: Hi, AFAIK there is no way to configure the path of the datastore directory yet. Feel free to fill a feature request here:http://code.google.com/p/googleappengine/issues/entry?template=Featur... Thanks in advance. On Tue, Sep 27, 2011 at 2:51 PM, freak182 eman.noll...@gmail.com wrote: Thanks. I am using java..How can I configure the datastore directory? On 27 Set, 01:27, Barry Hunter barrybhun...@gmail.com wrote: Its probably your local datastore http://code.google.com/appengine/docs/python/tools/devserver.html#Usi... On Mon, Sep 26, 2011 at 4:57 PM,freak182eman.noll...@gmail.com wrote: Hi, I am new to app-engine and i have notice when i am uploading my app, the my user/Temp directory is holding cache files which is big. Now, any idea how to configure this directory to point to another directory. thanks. cheers. -- 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. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- 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] Bug (issue 5782) has essentially disabled the dev server for me
After updating one of my machines to java sdk 1.5.4, sdk 1.5.2 mysteriously disappeared from the machine. I can't use 1.5.4 or 1.5.3 in development-mode on this machine because of this bug: http://code.google.com/p/googleappengine/issues/detail?id=5782can=5colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log Since the disappearance of 1.5.2, I basically have to develop in 1.5.4 and UPLOAD the app to a test version just to test my changes, the dev server is completely fried. This is seriously impacting my work. Does anyone know any workarounds or how to obtain an old version of the java sdk? 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] Re: hosting a c compiler on gae
Hi, It looks like I have to move away from app engine if I want to host a compiler. I did a thorough search and seems no way I can host a compiler on gae efficiently. Sad that I will have to rebuild the website again from scratch to the specifications of another infrastructure. Last hope.. Any alternatives possible?? Even remote possibilities . Does google provide any instances?? App engine should provide more features to developers to make itself as a serious platform for web development. Thanks and Regards, Mahendra Naik On Aug 2, 8:28 am, Robert Kluin robert.kl...@gmail.com wrote: Or compilers implemented in Java. Might be more likely to find those. On Mon, Aug 1, 2011 at 21:54, Greg g.fawc...@gmail.com wrote: You could have another server provide a compile service, and have your Appengine app communicate with it via URLfetch, as you suggest. There will be inefficiencies here obviously, and you'll have to contend with the URLfetch size and time limits. You could also look for pure python compilers, which could run on Appengine. Cheers Greg. On Jul 31, 10:45 pm, madmax mahendra0...@gmail.com wrote: Hi, I am writing a coding website. I want to provide an option to the users to compile their c,c++ or java code. Basically I want to host a compilerin my app. Some google links said that it is not possible to host an external program on gae. Is there any alternative? Like connecting to a Linode or linking to amazon ec2 ?? Any pointers would be great. Thanks and Regards, Mahendra Naik -- 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] Problem with blobstoreService.getUploadedBlobs(request)
Hi, I've a problem with the methode blobstoreService.getUploadedBlobs(). I've a JSP page in wich one I set an uploader like this : formname='form' action='%= blobstoreService.createUploadUrl(/ Edit_Engine) %' method='POST' enctype='multipart/form-data' input label='...' multiple='false' name='myFile' / //...and multiple input for text /form and I retrieve this code with my servlet : java.util.MapString,BlobKey blobs = blobstoreService.getUploadedBlobs(req); BlobKey blobK = blobs.get(myFiles[]); //I don't know why I need to add the characters 's[]' at the end... But the behavior is strange. The first time I upload an image, everything works. However, the second time, I send my form without uploading somehting (only text data), and then my java code finds a BlobKey. But this BlobKey seems to be the previous sended data, or a corrupted data. I mean that not normal, because when I deploy this version on my localhost, if the form uploads no file the method getUploadedBlobs returns an empty HashMap. However, when I deploy on google servers, if the form uploads no file, the method getUploadedBlobs seems to return a HashMap with wrong data. Could you help me? Or tell me if this behaviro is normal... Many thanks, bat -- 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] Bug (issue 5782) has essentially disabled the dev server for me
On Wed, Sep 28, 2011 at 10:55 AM, tempy fay...@gmail.com wrote: Does anyone know any workarounds or how to obtain an old version of the java sdk? Just replace the 4 with a 2. =) http://googleappengine.googlecode.com/files/appengine-java-sdk-1.5.2.zip - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: hosting a c compiler on gae
Host a compiler is too vague. Even Host a C compiler is too vague. What do you want to compile? What do you want it to compile to? For what platform? If you're creating a compile farm, you really want an environment that can run gcc natively. That will never be GAE for a million very good reasons. That said, compilation consumes significant cpu and io resources and is probably not something you ever want to do on a web frontend unless you want to risk a painful user experience. Farm it out to Linode or EC2 or whatnot. I doubt you're going to find a C cross-compiler implemented in Python or any of the JVM-based languages. If you really wanted to get crazy you could try to cross-compile gcc to java bytecode, which should work, but you'll have to abstract out the i/o libraries to work without filesystems. A sufficiently dedicated (read: insane) engineer could probably pull this off with enough effort, but why... Jeff On Wed, Sep 28, 2011 at 9:56 AM, madmax mahendra0...@gmail.com wrote: Hi, It looks like I have to move away from app engine if I want to host a compiler. I did a thorough search and seems no way I can host a compiler on gae efficiently. Sad that I will have to rebuild the website again from scratch to the specifications of another infrastructure. Last hope.. Any alternatives possible?? Even remote possibilities . Does google provide any instances?? App engine should provide more features to developers to make itself as a serious platform for web development. Thanks and Regards, Mahendra Naik On Aug 2, 8:28 am, Robert Kluin robert.kl...@gmail.com wrote: Or compilers implemented in Java. Might be more likely to find those. On Mon, Aug 1, 2011 at 21:54, Greg g.fawc...@gmail.com wrote: You could have another server provide a compile service, and have your Appengine app communicate with it via URLfetch, as you suggest. There will be inefficiencies here obviously, and you'll have to contend with the URLfetch size and time limits. You could also look for pure python compilers, which could run on Appengine. Cheers Greg. On Jul 31, 10:45 pm, madmax mahendra0...@gmail.com wrote: Hi, I am writing a coding website. I want to provide an option to the users to compile their c,c++ or java code. Basically I want to host a compilerin my app. Some google links said that it is not possible to host an external program on gae. Is there any alternative? Like connecting to a Linode or linking to amazon ec2 ?? Any pointers would be great. Thanks and Regards, Mahendra Naik -- 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. -- 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: Remove logging from app engine
Thank you baychev. Due to using app inventor and being a newbie at this certain things are beyond my control or knowledge. But I am learning fast and AI is growing with MIT's help in new year (I hope). I will take your advice and be reading the documentation over the next few weeks. -- 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: Bug (issue 5782) has essentially disabled the dev server for me
TreKing, You, sir, are my hero. On Sep 28, 6:20 pm, TreKing treking...@gmail.com wrote: On Wed, Sep 28, 2011 at 10:55 AM, tempy fay...@gmail.com wrote: Does anyone know any workarounds or how to obtain an old version of the java sdk? Just replace the 4 with a 2. =) http://googleappengine.googlecode.com/files/appengine-java-sdk-1.5.2.zip --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: like operator in GQL
there are many differences between traditional relational databases (like mysql) versus non-relational databases, aka nosql (like gae's datastore) but yes, Full-text search over Datastore is coming really soon App Engine Product Roadmap http://code.google.com/intl/en/appengine/docs/roadmap.html Google I/O 2011: Full Text Search Bo Majewski, Ged Ellis http://www.youtube.com/watch?v=7B7FyU9wW8Y (I recommend everyone here to take a look at it, it's really nice) there were 2 main problems when I switched from my traditional mysql- thinking to datastore-thinking: geo search and full text search. the first is solved using GeoModel (made by some fine Google employees), the second will come as a Google solution (see the video). so I'm extremelly happy with GAE :) I hope you enjoy it too, Bruce. On Sep 28, 10:18 am, Niklas Rosencrantz nikla...@gmail.com wrote: These are among the drawbacks, minuses and reasons why app engine should be cheaper than traditional hosting: - no join, no like, no full text search while sql-based system have these - extremely difficult to migrate from M/S to HRD while sql-based system usually can migrate even large blobs - sitemap.xml.gz has no good solution, you have to roll your own whereas legacy systems have ready solution to make a sitemap - admin console with federated login breaks (other have phpmyadmin or tons of other solution while I don't have a backup system so my system is not real) - it's not good but it's the best we got? regards \niklas -- 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] Outage
I'm seeing tons of server errors across all my apps right now. -- 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] Outage
(except my one on HR). static page serving seems to be particularly screwed up. On Sep 28, 2011, at 4:14 PM, Joshua Smith wrote: I'm seeing tons of server errors across all my apps right now. -- 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: Outage
All my apps are all showing up errors too. But seems to be related to session stored data, not all datastore queries timeout. Status page was showing 97% availability. Let's wait to GAE team to give some info ... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/lBZ6u3ARaFEJ. 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: hosting a c compiler on gae
I agree with your statement about features, but it does not apply to your use case of hosting a compiler. The way you'd probably design this? Use App Engine for the web portion. Save the code to the blobstore, push the job to the task queue pull queue ( http://code.google.com/appengine/docs/java/taskqueue/overview-pull.html), then have a compiler running in a Linux instance that pulls this information, downloads and compiles the code, pushes compiled code back to blobstore for serving. Of course, the compiled code isn't guaranteed to run on other platforms, you have to worry about linking libraries, etc ... but those are app specific issues and not necessarily related to App Engine. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Sep 28, 2011 at 9:56 AM, madmax mahendra0...@gmail.com wrote: Hi, It looks like I have to move away from app engine if I want to host a compiler. I did a thorough search and seems no way I can host a compiler on gae efficiently. Sad that I will have to rebuild the website again from scratch to the specifications of another infrastructure. Last hope.. Any alternatives possible?? Even remote possibilities . Does google provide any instances?? App engine should provide more features to developers to make itself as a serious platform for web development. Thanks and Regards, Mahendra Naik On Aug 2, 8:28 am, Robert Kluin robert.kl...@gmail.com wrote: Or compilers implemented in Java. Might be more likely to find those. On Mon, Aug 1, 2011 at 21:54, Greg g.fawc...@gmail.com wrote: You could have another server provide a compile service, and have your Appengine app communicate with it via URLfetch, as you suggest. There will be inefficiencies here obviously, and you'll have to contend with the URLfetch size and time limits. You could also look for pure python compilers, which could run on Appengine. Cheers Greg. On Jul 31, 10:45 pm, madmax mahendra0...@gmail.com wrote: Hi, I am writing a coding website. I want to provide an option to the users to compile their c,c++ or java code. Basically I want to host a compilerin my app. Some google links said that it is not possible to host an external program on gae. Is there any alternative? Like connecting to a Linode or linking to amazon ec2 ?? Any pointers would be great. Thanks and Regards, Mahendra Naik -- 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. -- 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) App upload: Error 400
Hi Amine, Usually 400 appears when there's a weird thing going on with one of your .yaml files or if there's a precompilation error. We should have addressed the second case, however. Is this error still appearing? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 2:14 PM, Amine Azariz amine.aza...@greendizer.comwrote: Application: ; version: 2-2 Host: appengine.google.com Starting update of app: , version: 2-2 Scanning files on local disk. Scanned 500 files. Cloning 51 static files. Cloning 464 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Compilation starting. Compilation completed. Starting deployment. Rolling back the update. Error 400: --- begin server output --- Client Error (400) The request is invalid for an unspecified reason. --- end server output --- Please let us know what's happening. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ujeOsO4G9GcJ. 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] About the firewall logs
Tsutomu, Are you asking for logs access? We do not provide access to global request logs, however, you should be able to download request logs using the appcfg.py tool. There should be an equivalent comment in appcfg.cmd for Java. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 7:57 PM, Tsutomu Fukumori t.fukum...@anthill.jpwrote: Hello, I am using app engine. Please tell me about Firewall logs. 1. More than one year, Firewall logs are save? 2. When problem happened or I want it, Would you please check for Firewall logs and tell me survey results? Sorry to bother you, but I have an urgent favor that I need to ask you to do for me. Any help would be greatly appreciated. Thanks and Regards, -- 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] Affiliate Problem
Looks like there's no contact information on the website. We're sorry, but we cannot provide user details unless there is a specific legal request. If it's any assurance, it just looks like a standard web proxy (our terms of service allow proxies). -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 6:13 AM, Thomas Glössner sea...@2befound.at wrote: Hi @ all! We got some problems with an affiliate, but we don´t know who it is. Our Problem: We track all our URL which are coming from outside, so we saw an redirect like this: http://www.google.com/aclk?1232314934adurl=http://t**racking-solutions.ap **pspot.com/x123 If you click on the URL you will come to www.oursite.com without any id´s or something else. How can we find out, which person is behind tracking-solutions.appspot.com/x123? Thanks for your answers in advance. cheers Thomas -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/lypFNf8-OvYJ. 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] Gurantee log
We don't make guarantees, but so far no one has mentioned missing log messages except when we have a bug in our logging. The issue with your plan is that logs are rotated out on a FIFO basis per log level if you run out of space, so unless you frequently download logs, you may miss entire blocks of data that will never be recoverable. It sounds like this is a bit of a hack anyway. Can you describe what you are doing? Maybe we can come up with a better solution. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 2:06 PM, rekby timofey.koo...@gmail.com wrote: Do log record gurantee for each request - I want write into log instructions for incremental change data and make incremental backup on my computer by download and parse log messages instead of analise datastore. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/m7SraIrgxc8J. 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: App serving HTTP 500 out of nowhere
Could these be related to datastore latency spikes? Those have been known to occur regularly on master/slave datastore, and we are encouraging developers to move to high replication. You can sign up for migration tool access here: https://docs.google.com/a/google.com/spreadsheet/viewform?authkey=CLXR0LMNformkey=dERMcDZuMnlycHoyZDd4Vy1PNXlhWlE6MQ#gid=0 -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Tue, Sep 27, 2011 at 4:39 AM, Bernd F bernd.fi...@gmail.com wrote: Tonight it happened again, but after ~1 hour the app recovered on its own. There must be something wrong with app engine. On 20 Sep., 00:08, Bernd Final bernd.fi...@gmail.com wrote: I've had this issue for 5 or 6 times already. My app is running for a long time and I've had no problems so far, except this one: Out of nowhere, 20-30 seconds latency and only serving HTTP 500 errors for 99,9% of all requests. In most Servlets (yeah I'm using Java if that matters) I'm accessing the memcache, sometimes the datastore (Master/Slave). As you can imagine the app is totally unusable when this happens. When it occured the first time I didn't to any special, just waited for a couple of hours until the app recovered on it's own. Dashboard Milliseconds/Request Chart: Yesterday:http://bit.ly/pSF66E Last 30 Days:http://bit.ly/nYdZ2S When it happend again and again I tried to figure out what's going on, luckily I had some kind of Admin-Servlet deployed which allowed me to clear the entire memcache. Tried it, and voila, everything back to normal. - The memcache size was up to 1.3-1.5 MB in total (I did a rough estimation with the ByteArrayOutputStream trick). 12 Objects are stored in the memcache. Each Object is POJO which implements Serializable and contains some Strings, Integers and ArrayLists. - My first idea was to minimize the memory usage, because I though I was hitting the 1MB limit. At this time I didn't know the limit is for each object not for the whole cache, anyway I was able to reduce the size by 30-40% so the size is now about 800kb - 1MB - I'm running a cron job which cleans out garbage of the memcache. - This is how I access the memcache on every request: CacheManager.getInstance().getCacheFactory().createCache(Collections.emptyMap()); - I'm using put and get Methods for storing / retrieving, - The key length is about 160 bytes Unfortunately I was not able to solve this issue yet, I would be very happy for ANY input. -- 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: Zig zag merge feature request
Thanks for the reply Jason. So you are saying that the automatic index creation will simply work more efficiently now? Is this documented somewhere? On Sep 27, 1:51 pm, Jason Collins jason.a.coll...@gmail.com wrote: Basically, in the past, if you had a query like this: query = MyEntity.all().filter('attribute1 =', 'foo').filter('attribute2 =', 'bar').filter('attribute3 =', 'baz').order('-attribute4) you'd need an index like this: - kind: MyEntity properties: - name: attribute1 - name: attribute2 - name: attribute3 - name: attribute4 direction: desc Call this an optimal index. Now, the query engine is able to make due with non-optimal indexes; in some cases you may not even need a custom composite index at all. Fewer composite indexes means fewer datastore write operations (and thus $$), but you will likely trade off performance (and thus increased instance-hours, unless you are multi-threaded) as the query engine needs to walk through more potential matches when using non- optimal indexes. A good starting point is to remove all of your indexes from index.yaml (on dev, of course!) and see what dev_appserver makes for suggestions. j -- 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: Zig zag merge feature request
It will only suggest better indexes in some cases (specifically the cases where the same property was repeated in multiple equality filters, e. g. WHERE tag=:1 AND tag=:2 ORDER BY date) On Wed, Sep 28, 2011 at 1:53 PM, jay kyburz@gmail.com wrote: Thanks for the reply Jason. So you are saying that the automatic index creation will simply work more efficiently now? Is this documented somewhere? On Sep 27, 1:51 pm, Jason Collins jason.a.coll...@gmail.com wrote: Basically, in the past, if you had a query like this: query = MyEntity.all().filter('attribute1 =', 'foo').filter('attribute2 =', 'bar').filter('attribute3 =', 'baz').order('-attribute4) you'd need an index like this: - kind: MyEntity properties: - name: attribute1 - name: attribute2 - name: attribute3 - name: attribute4 direction: desc Call this an optimal index. Now, the query engine is able to make due with non-optimal indexes; in some cases you may not even need a custom composite index at all. Fewer composite indexes means fewer datastore write operations (and thus $$), but you will likely trade off performance (and thus increased instance-hours, unless you are multi-threaded) as the query engine needs to walk through more potential matches when using non- optimal indexes. A good starting point is to remove all of your indexes from index.yaml (on dev, of course!) and see what dev_appserver makes for suggestions. j -- 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: like operator in GQL
If I had to implement something like GQL like I think I would try to build many queries or a method like GQL IN without the limitations GQL IN has. I think non-rel db:s handles one problem much better: Everything from a HTTP request is a string like a parameter representing a boolean value must have some conversion somewhere and we don't want do to conversion since type conversion is expensive. Since Google's environment for app engine is much more integrated than a traditional SQL system stack you patch together from different manufacturer, GQL much less has the problem of what or where a boolean variable is True True and not just 0 or 1 so I have places in my code how to represent a checkbox without doing any type conversion if self.request.POST.get('group_article') == '1': article.group_article = True #checkbox variable at some other place I also try to represent a boolean variable in a similar way but it's a onliner: a.phoneview = self.request.get('phone_hidden', None) is not None # dummy variable for whether phone number is visible The later way I don't face the problem what is 1, '1', True etc it just abstracts away the difference so I should rewrite the first example to be more like the second though I don't really understand the part is not None... Cheers \niklas On Wed, Sep 28, 2011 at 7:38 PM, roberto.cr roberto...@gmail.com wrote: there are many differences between traditional relational databases (like mysql) versus non-relational databases, aka nosql (like gae's datastore) but yes, Full-text search over Datastore is coming really soon App Engine Product Roadmap http://code.google.com/intl/en/appengine/docs/roadmap.html Google I/O 2011: Full Text Search Bo Majewski, Ged Ellis http://www.youtube.com/watch?v=7B7FyU9wW8Y (I recommend everyone here to take a look at it, it's really nice) there were 2 main problems when I switched from my traditional mysql- thinking to datastore-thinking: geo search and full text search. the first is solved using GeoModel (made by some fine Google employees), the second will come as a Google solution (see the video). so I'm extremelly happy with GAE :) I hope you enjoy it too, Bruce. On Sep 28, 10:18 am, Niklas Rosencrantz nikla...@gmail.com wrote: These are among the drawbacks, minuses and reasons why app engine should be cheaper than traditional hosting: - no join, no like, no full text search while sql-based system have these - extremely difficult to migrate from M/S to HRD while sql-based system usually can migrate even large blobs - sitemap.xml.gz has no good solution, you have to roll your own whereas legacy systems have ready solution to make a sitemap - admin console with federated login breaks (other have phpmyadmin or tons of other solution while I don't have a backup system so my system is not real) - it's not good but it's the best we got? regards \niklas -- 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: Gurantee log
This only works if you don't have a lot of traffic. As Ikai mentioned, these are limited-size FIFO logs, so if you start hitting any significant traffic, you will find that your INFO logs hold a minute's worth of data - longer than a transfer would take you. Write to a DB, OR, use RPC and URL fetch to ping an external server that will store the Apache log files for you. J On Sep 28, 10:06 am, rekby timofey.koo...@gmail.com wrote: Do log record gurantee for each request - I want write into log instructions for incremental change data and make incremental backup on my computer by download and parse log messages instead of analise datastore. -- 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] The Max Idle Instances setting is really lame.
It is not very useful. When I set it 3, gae will still only keep one idle instances, so my app will still encounter slow startup when 2 visits coming at the same time. Setting it higher is helpless to avoid the java app slow startup problem. I just found the only difference between set Max Idle Instances as 1 and 3 is the total used CPU hours, about 25:29, which means except the free 24 hours, the total used CPU hours is 1:5. -- 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] The Max Idle Instances setting is really lame.
Sounds like you have misunderstood Max Idle Instances. Its the maximum number you will be charged for. It is not a guarantee. If you have spiky traffic, it might mean you will have spare capacity ready to handle more requests. Wont help with the first spike. Think you looking for Min Idle Instances. That is only available right now if you have purchased Always On I bleive. Once the new pricing goes live, it will be open to all. On Thu, Sep 29, 2011 at 12:07 AM, Tapir tapir@gmail.com wrote: It is not very useful. When I set it 3, gae will still only keep one idle instances, so my app will still encounter slow startup when 2 visits coming at the same time. Setting it higher is helpless to avoid the java app slow startup problem. I just found the only difference between set Max Idle Instances as 1 and 3 is the total used CPU hours, about 25:29, which means except the free 24 hours, the total used CPU hours is 1:5. -- 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: About the always on feature.
Really don't know how to run a request in backend. The gae backend doc is not clear on how to invoke url on a specified backend. On Sep 28, 5:56 am, Rishi Arora rishi.ar...@ship-rack.com wrote: Consider using a backend for cron jobs. I use my once every hour, and each usage lasts about 3 minutes. This gives me a total backend instance hour usage of 18 minutes every hour (15 minutes mandatory idle time charge) = 18*24 = 7.2 hours, which is under the 9 instance hour free backend quota. On Tue, Sep 27, 2011 at 4:29 PM, Tapir tapir@gmail.com wrote: Thanks for clarification. I think one idle instance is not enough. I often (about 15% possibility) load my app page very slowly. I think the possible reason is when a visit coming at the same time the cron jobs is running, a new instance must be started for the visit request. As the cron jobs need some seconds to finish. So I think it will make a better user experience if gea can provide an option to let the crons jobs always run in a new separated instance. The new separated instance will not handle normal visit requests. On Sep 28, 4:49 am, Gregory D'alesandre gr...@google.com wrote: Agreed. If you actually need 3 idle instances than it will indeed cost you that much but for many applications 3 idle instances is overkill, especially with concurrent requests enabled for java. Many java apps will be fine with a single idle instance. Since you get 28 instance hours/day for free, this means you can keep 1 idle instance running all the time without an additional fee. Also, the $9 is a minimum spend not a fee (this was changed from the original model) so it would just be $105.60. Greg On Tue, Sep 27, 2011 at 1:11 PM, JH ja...@mhztech.com wrote: yes, under new pricing a min idle instance of 3 will be very expensive. On Sep 27, 2:28 pm, Tapir tapir@gmail.com wrote: On Sep 28, 3:22 am, Tapir tapir@gmail.com wrote: For a java app, to avoid slow warm-up problem, 3 instances are needed to run always. The $9/month always on feature is perfect for avoiding this problem. In my current understanding, under the new price model, the always on feature will cost $0.08 * ( 24 + 24 - 4) * 30 = a spell erro, no * 30 here $3.52/day, this means for small java apps, if you want to make a good user experience for your java app, you will pay at least ($105.6 + $9) / per month, right? -- 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] Re: About the always on feature.
In my current understanding, to run a job on a backend, a http request must be sent from a general front instance to the backend, right? On Sep 28, 5:56 am, Rishi Arora rishi.ar...@ship-rack.com wrote: Consider using a backend for cron jobs. I use my once every hour, and each usage lasts about 3 minutes. This gives me a total backend instance hour usage of 18 minutes every hour (15 minutes mandatory idle time charge) = 18*24 = 7.2 hours, which is under the 9 instance hour free backend quota. On Tue, Sep 27, 2011 at 4:29 PM, Tapir tapir@gmail.com wrote: Thanks for clarification. I think one idle instance is not enough. I often (about 15% possibility) load my app page very slowly. I think the possible reason is when a visit coming at the same time the cron jobs is running, a new instance must be started for the visit request. As the cron jobs need some seconds to finish. So I think it will make a better user experience if gea can provide an option to let the crons jobs always run in a new separated instance. The new separated instance will not handle normal visit requests. On Sep 28, 4:49 am, Gregory D'alesandre gr...@google.com wrote: Agreed. If you actually need 3 idle instances than it will indeed cost you that much but for many applications 3 idle instances is overkill, especially with concurrent requests enabled for java. Many java apps will be fine with a single idle instance. Since you get 28 instance hours/day for free, this means you can keep 1 idle instance running all the time without an additional fee. Also, the $9 is a minimum spend not a fee (this was changed from the original model) so it would just be $105.60. Greg On Tue, Sep 27, 2011 at 1:11 PM, JH ja...@mhztech.com wrote: yes, under new pricing a min idle instance of 3 will be very expensive. On Sep 27, 2:28 pm, Tapir tapir@gmail.com wrote: On Sep 28, 3:22 am, Tapir tapir@gmail.com wrote: For a java app, to avoid slow warm-up problem, 3 instances are needed to run always. The $9/month always on feature is perfect for avoiding this problem. In my current understanding, under the new price model, the always on feature will cost $0.08 * ( 24 + 24 - 4) * 30 = a spell erro, no * 30 here $3.52/day, this means for small java apps, if you want to make a good user experience for your java app, you will pay at least ($105.6 + $9) / per month, right? -- 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 assign the requests with some specified url parterns to always run on a current backend?
in config file? -- 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: public, dynamic backends are magical (in a good way!!)
given the happy vibes, I'll see about posting a series of these. Let's call this post #1 of the series. cheers, adam -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/lkQ7E8S-tuoJ. 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: The Max Idle Instances setting is really lame.
ok, then it is really not very helpful for performance, it is just a way to limit the cost. right? On Sep 29, 7:14 am, Barry Hunter barrybhun...@gmail.com wrote: Sounds like you have misunderstood Max Idle Instances. Its the maximum number you will be charged for. It is not a guarantee. If you have spiky traffic, it might mean you will have spare capacity ready to handle more requests. Wont help with the first spike. Think you looking for Min Idle Instances. That is only available right now if you have purchased Always On I bleive. Once the new pricing goes live, it will be open to all. On Thu, Sep 29, 2011 at 12:07 AM, Tapir tapir@gmail.com wrote: It is not very useful. When I set it 3, gae will still only keep one idle instances, so my app will still encounter slow startup when 2 visits coming at the same time. Setting it higher is helpless to avoid the java app slow startup problem. I just found the only difference between set Max Idle Instances as 1 and 3 is the total used CPU hours, about 25:29, which means except the free 24 hours, the total used CPU hours is 1:5. -- 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: public, dynamic backends are magical (in a good way!!)
why it must be public? private backends doesn't work? On Sep 25, 2:23 am, Adam Sah adam@gmail.com wrote: hey guys-- If you're using Tasks and haven't tried public, dynamic Backends yet, they're wonderful: - for tiny apps, you can offload another $0.72/day for free (they're dynamic!) - for medium apps, it's a super easy way to get more RAM - easy migration from Tasks running on frontends to running them on public, dynamic backends (incl development, debugging, etc.) - nearly identical debugging/production methods as frontend Tasks - since they're public, you can launch Tasks directly on the backend, removing the frontend from the equation, e.g. you can test out how a Task will perform on a backend, before committing to the architecture change. - cool trick: keep the fast Tasks running on frontends, and use the (expensive) backends for RAM-intensive jobs-- this is a tiny code change, and also makes it easier to debug large jobs because the console isn't flooded with little jobs. For my app, I use Tasks for various indexing jobs in an online marketplace-- now, I send the large sellers with 1000s of SKUs, to a B4 backend. GAE team: - I've noticed that my backends can 500-error but not produce a stack trace in the logs? are other people seeing this? my choice of migration: (python) 1. create backends.xml, define *one* backend, e.g. backends: - name: backend2647324 # since it's public, give it a hard-to- guess name class: B4 # big+fast without blowing the free budget options: dynamic, public 2. add backend-enabled queued, by copying queues from frontends: queue: - name: image-processor ...other options here... - name: image-processor-backend # note how I append -backend to the name target: backend2647324 ...other options here... 3. in your code, start firing Tasks at the backend # see bottom for taskname() trick taskqueue.add(url=..., name=taskname(some-identifier-i-will- recognize), queue_name=image-thumbnailer+(-backend if is_gigantic_image(...) else )) 4. modify your deploy script to update both the front backends. Mine (legacy) is in perl: # deploy bar == deploys to foo-bar and to foo-bar-backend # deploy bar-backend == deploys to foo-bar-backend only # deploy bar-frontend == deploys to foo-bar only $DEST = pop(@ARGV); my $push_frontend = 1; if ($DEST =~ s/-backend//) { $push_frontend = 0; } my $push_backend = 1; if ($DEST =~ s/-frontend//) { $push_backend = 0; } if ($push_frontend) { open(FH, echo .$ENV{GAEPASSWD}.|python2.5 .$ENV{GAEDIR}./ appcfg.py --email=.$ENV{GAEUSER}. --passin --application=foo-$DEST update .|); while (FH) { print; } close FH;} if ($push_backend) { open(FH, echo .$ENV{GAEPASSWD}.|python2.5 .$ENV{GAEDIR}./ appcfg.py --email=.$ENV{GAEUSER}. --passin --application=foo-$DEST backends . update|); while (FH) { print; } close FH; } that's it! now, some jobs will go to the frontends and others to the backends. hope this helps, adam def taskname(string): safely create Google App Engine Task names. # add timestamp and random for ultimate uniqueness, strip disallowed chars rnd_salt = str(random.randint(10, 99)) return re.sub(r'[^a-zA-Z0-9-]', '-', string + str(datetime.datetime.now())) + - + rnd_salt -- 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: Can I assign the requests with some specified url parterns to always run on a current backend?
The backend names can't be conflict with app version names? For the cron requests, can I set the cron target property as the backend name? So that the cron will automatically run on the specified backend? On Sep 29, 7:42 am, Tapir tapir@gmail.com wrote: in config file? -- 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: Google app engine Upload
The version used has to be updated in the admin panel after you upgrade by changing the version number. On Sep 28, 5:05 am, sharad biradar sharadnbira...@gmail.com wrote: Hi, Google App engine not taking changes after uploading new version of application. -- 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.