[appengine-java] How to take webpage screenshot in Google App Engine?
I want to ask, by using GAE/J can I take a screenshot of a web page? If it's supported, which API I should use for it. Thanks. -- 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: Failed to initialize App Engine SDK at ... appengine-java-sdk-1.6.0
Hi, I've exactly the same problem as you. I also run eclipse indigo on mac os and I'd like to use the sdk GAE 1.6.1. Unfortunately, I've this error message Failed to initialize App Engine SDK -1.6.1 when I want to create new web application project. Have you found the solution? Thanks On 29 nov, 00:20, AnthoniS anthoni.schioc...@eliium.com wrote: Hello, When the gae SDK 1.6.0 was released, I tried using Eclipse (actually, SpringSource Tool Suite, aka STS) to upgrade. Unfortunately, the new version of the gae SDK was not suggested in the Check for Updates wizard of the Help menu of STS So I downloaded the SDK manually and tried to add it in the Google SDKs section of Eclipse Preferences menu. It failed, with the error message: Failed to initialize App Engine SDK at path-to-gae-sdk/ appengine-java-sdk-1.6.0. So I removed this version and continued developping with the version 1.5.5. One week later, I suddenly got the notification in STS there is an update of Google plugin which popped out from the bottom of the screen. Great! Finally Eclipse had seen the update of the SDK ! I immediately run the wizard, downloaded the SDK, and finally restarted Eclipse (well, STS) normally. But after restart, the new installed SDK was still in a corrupted state with the same error message. I run STS 2.3.3M1 (built on Eclipse distrib 3.5.2) on a MacOSX 10.5.8 with JDK 6.0. Have you ever got this problem ? Thank you. In the ErrorLog message of STS, I got this stack trace: Unexpected Exception java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass2(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:775) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 160) at java.net.URLClassLoader.defineClass(URLClassLoader.java:254) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:317) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(A ppEngineBridgeFactory.java: 184) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(A ppEngineBridgeFactory.java: 122) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.getAppEngineBr idge(AppEngineBridgeFactory.java: 95) at com.google.appengine.eclipse.core.sdk.GaeSdk.getAppEngineBridge(GaeSdk.java : 265) at com.google.appengine.eclipse.core.sdk.GaeSdk.validate(GaeSdk.java: 379) at com.google.gdt.eclipse.core.ui.AddSdkDialog.validateSdk(AddSdkDialog.java: 268) at com.google.gdt.eclipse.core.ui.AddSdkDialog.validate(AddSdkDialog.java: 214) at com.google.gdt.eclipse.core.ui.AddSdkDialog $4.modifyText(AddSdkDialog.java:177) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 167) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1603) at org.eclipse.swt.widgets.Text.sendModifyEvent(Text.java:1854) at org.eclipse.swt.widgets.Text.setText(Text.java:2314) at com.google.gdt.eclipse.core.ui.AddSdkDialog $2.widgetSelected(AddSdkDialog.java:154) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 3484) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.google.appengine.eclipse.core.preferences.ui.GaePreferencePage
[appengine-java] Re: What happened to Will it Play
Referenced here: http://code.google.com/appengine/kb/general.html . P. On Dec 21, 8:11 pm, Ikai Lan (Google) ika...@google.com wrote: We moved it here after Google Groups deprecated groups pages: http://code.google.com/p/googleappengine/wiki/WillItPlayInJava As a warning: this page has not been updated in a LONG time. Going forward, we'll be looking at all the resources that are currently available and either consolidating them or deprecating them entirely. Is this page linked to from anywhere else? I can fix the links if it's linked to from anywhere in the docs. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 21, 2011 at 8:34 AM, Las Olas le...@pnambic.com wrote: The widely published URL for Java frameworks that are compatible with GAE seems to be down: http://groups.google.com/group/google-appengine-java/web/will-it-play... All attempts to reach the URL with Chrome wind-up at the group's home page http://groups.google.com/group/google-appengine-java/ Did the group content get deleted? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: What happened to Will it Play
http://code.google.com/p/googleappengine/wiki/WillItPlayInJava 2011/12/29 Péter Kovács peter.dunay.kov...@gmail.com Referenced here: http://code.google.com/appengine/kb/general.html . P. On Dec 21, 8:11 pm, Ikai Lan (Google) ika...@google.com wrote: We moved it here after Google Groups deprecated groups pages: http://code.google.com/p/googleappengine/wiki/WillItPlayInJava As a warning: this page has not been updated in a LONG time. Going forward, we'll be looking at all the resources that are currently available and either consolidating them or deprecating them entirely. Is this page linked to from anywhere else? I can fix the links if it's linked to from anywhere in the docs. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 21, 2011 at 8:34 AM, Las Olas le...@pnambic.com wrote: The widely published URL for Java frameworks that are compatible with GAE seems to be down: http://groups.google.com/group/google-appengine-java/web/will-it-play. .. All attempts to reach the URL with Chrome wind-up at the group's home page http://groups.google.com/group/google-appengine-java/ Did the group content get deleted? -- 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. -- *Felipe Teixeira* *Coordenador de Desenvolvimento * IPNET Soluções Tel.: 55 21 3553 2717 / 21- 93302489 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * SCJP - Sun Certified Java Programmer SCJA - Sun Certified Java Associate * * -- 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] Pull Queue with OAuth
I am trying to pull a task from a pull queue using an external application that will eventually be automated. It sounds like the way to do this is using OAuth. I have created an access token and secret token using the code on this page: http://fabiouechi.blogspot.com/2011/11/using-google-oauth-java-client-to.html Now that I have the access token, how do I go about getting a task off of the queue? -- 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/-/leEObRVZ-0wJ. 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] jersey/jackson/jaxb java.lang.NoClassDefFoundError
I have put together a simple json REST service using jersey, jaxb and jackson. It works *almost* fine... Problem: the _first_ access of the server always ends up with the exception: java.lang.NoClassDefFoundError: org/codehaus/jackson/xc/ JaxbAnnotationIntrospector So it seems that gae/jersey cannot find this class. However, all calls after this works just fine, the class then seems to be in place. Is there some kind of loading order I should be aware of? I am clueless, please help! :o/ /CL -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] OT: Doing It Wrong
This was too much not to share. I was talking a company today that is using Password hashing to keep their user's passwords safe. They were using Bcrypt. Given the performance hit that using Bcrypt has I was surprised how many users they were able to support on very few CPUs. We have a Translation Table. Look ups are faster than calculating the hash, so we check the look up table before we calculate the hash that we are going to authenticate against. Pulling up the translation table gave the plain Text of every User and Password in their system. Along with all of the old usernames and passwords of those users. Apparently the idea was one the out sourced development company had Deployed to hundreds if not thousands of sites, and it had never been a problem before. You can have the best locks on your doors, but if you leave the sliding glass window open they aren't doing you any good. Brandon Wirtz BlackWaterOps: President / Lead Mercenary Description: http://www.linkedin.com/img/signature/bg_slate_385x42.jpg Work: 510-992-6548 Toll Free: 866-400-4536 IM: drak...@gmail.com (Google Talk) Skype: drakegreene http://www.blackwaterops.com/ BlackWater Ops -- 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. image001.jpg
Re: [google-appengine] GAE for web shop
Now I've gotten credit card processing to work in test mode via authorize.net: $ python Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] on linux2 Type help, copyright, credits or license for more information. from zc.authorizedotnet.processing import CcProcessor Traceback (most recent call last): File stdin, line 1, in module File zc/authorizedotnet/processing.py, line 18, in module import zc.creditcard ImportError: No module named creditcard from quix.pay.transaction import CreditCard from quix.pay.gateway.authorizenet import AimGateway card = CreditCard( ... number = '4111', ... month = '10', ... year = '2020', ... first_name = 'John', ... last_name = 'Doe', ... code = '123' ... ) gateway = AimGateway('API ID', 'SECRET KEY') gateway.use_test_mode = True gateway.use_test_url = True response = gateway.authorize(1, card) print Authorize Request: %s % gateway.get_last_request().url Authorize Request: https://test.authorize.net/gateway/transact.dll print Transaction %s = %s: %s % (response.trans_id, ... response.status_strings[response.status], ...response.message) Transaction 0 = Approved: (TESTMODE) This transaction has been approved. I'm going to start using this method and try to add Paypal and other API:s accordingly. Thank you Niklas -- 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/-/mtDErMh3h8kJ. 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't verify receipts of iTunes. GAE or Apple's issue?
There have been many forum threads about issues making sales using GAE + Paypal. Long, long time ago Ikai would respond, and one time he did say he would call PP about it. However, the silence since then has been deafening. Bottom line is that reliable payment processing to non- Google providers does and apparently will always require undocumented proxy work-arounds (I'm presuming Google Checkout works w/o work- arounds). Sadly, just two days ago I was talking to a SMB owner who uses a plug-and-play GoDaddy system. His bricks+mortar biz is growing rapidly and he can benefit greatly from some on-line branding improvements. He relies on PP for on-line sales, and I had to be frank with him about GAE. That's a lost customer for sure -- and I did try to present GAE positively. Unfortunately, pitching a system to a SMB owner and needing to talk about him/her running proxy servers at AWS in order to COMPLETE THE SINGLE MOST IMPORTANT thing his/her business does is... well it's a non-starter for sure**. If Mike could star this issue, he certainly would have, but he's never going to be in the position to do so because he will always work with a provider who is attuned to ensuring that he can COMPLETE THE SINGLE MOST IMPORTANT this his business does. (Yes is some ways GoDaddy is more appealing than Google -- yikes.) With regrets, stevep. ** - before you flame me about how this guy can so easily hire someone to set this up, please realize that folks can have different priorities, and when one is very busy running a multi-faceted business finding/hiring a guy like Brandon may not be top of the list. Summary: It Just Works can be way more appealing than It Just Works Once You Add A Proxy Server. On Dec 29, 10:10 pm, Jeff Schnitzer j...@infohazard.org wrote: On Thu, Dec 29, 2011 at 8:53 PM, Brandon Wirtz drak...@digerat.com wrote: Sure put my service out of business... I see how it is :-) At only 3 stars maybe we discovered in advance that there's no market for the product ;-) Jeff -- 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] Admin console custom page - Refused to display document because display forbidden by X-Frame-Options.
I've created two custom pages. When I try to access, and I'm loggend in with 2 Google Account(GMail and GApps) the IFRAME encounter an Refused to display document because display forbidden by X-Frame-Options. Because GAE try to ask me which account I'll use with the app. Any suggestion? Cheers -- 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/-/HyhG8sAwGFYJ. 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] New User Problem
I'm working through the first steps of setting up my application. And the VERY first thing I did was misspell the url. How do I fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] New User Problem
create a new Application ID? 2011/12/30 Joey joey.bern...@gmail.com I'm working through the first steps of setting up my application. And the VERY first thing I did was misspell the url. How do I fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Can't verify receipts of iTunes. GAE or Apple's issue?
This is 100% legit. It's also one of those things that needs to be in Appengine: The Missing Manual, along with don't use the provided email service, backends have almost no practical value, Brandon's edge cache experiments, and a whole slew of datastore optimization tricks I've worked out. One of these days I'll start a wiki. The obnoxious thing about this ratelimit problem is that it's not obvious, so you will build an app and everything will be fine until some day it isn't and you lose a day of sales (or however many days) until you figure out the problem. Ouch. Jeff On Fri, Dec 30, 2011 at 7:21 AM, stevep prosse...@gmail.com wrote: There have been many forum threads about issues making sales using GAE + Paypal. Long, long time ago Ikai would respond, and one time he did say he would call PP about it. However, the silence since then has been deafening. Bottom line is that reliable payment processing to non- Google providers does and apparently will always require undocumented proxy work-arounds (I'm presuming Google Checkout works w/o work- arounds). Sadly, just two days ago I was talking to a SMB owner who uses a plug-and-play GoDaddy system. His bricks+mortar biz is growing rapidly and he can benefit greatly from some on-line branding improvements. He relies on PP for on-line sales, and I had to be frank with him about GAE. That's a lost customer for sure -- and I did try to present GAE positively. Unfortunately, pitching a system to a SMB owner and needing to talk about him/her running proxy servers at AWS in order to COMPLETE THE SINGLE MOST IMPORTANT thing his/her business does is... well it's a non-starter for sure**. If Mike could star this issue, he certainly would have, but he's never going to be in the position to do so because he will always work with a provider who is attuned to ensuring that he can COMPLETE THE SINGLE MOST IMPORTANT this his business does. (Yes is some ways GoDaddy is more appealing than Google -- yikes.) With regrets, stevep. ** - before you flame me about how this guy can so easily hire someone to set this up, please realize that folks can have different priorities, and when one is very busy running a multi-faceted business finding/hiring a guy like Brandon may not be top of the list. Summary: It Just Works can be way more appealing than It Just Works Once You Add A Proxy Server. On Dec 29, 10:10 pm, Jeff Schnitzer j...@infohazard.org wrote: On Thu, Dec 29, 2011 at 8:53 PM, Brandon Wirtz drak...@digerat.com wrote: Sure put my service out of business... I see how it is :-) At only 3 stars maybe we discovered in advance that there's no market for the product ;-) Jeff -- 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. -- We are the 20% -- 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: Feature Request I Think....
For the use case you provided, why not split the low latency and high latency requests into two different apps (each with specific performance tuning)? -- Chris On Wed, Dec 21, 2011 at 12:10 PM, stevep prosse...@gmail.com wrote: Still voting for task queue optimization. Hopefully we get TQ access in the /api app. Example, if I get a huge burst of traffic, for certain types of recs I would much rather build a queue backlog rather than spin up new 10s latency instances. TQFTW. stevep. On Nov 29, 11:36 am, Chris Ramsdale cramsd...@google.com wrote: Great feedback. Here's the model that I've been envisioning: - I have foo.com and foo.com/api - foo.com serves up my UI and needs to be super-fast - foo.com/api serves up non-realtime API requests - both route to a separate App Engine app - foo.com has max pending latency of 200ms, and several idle instances - foo.com/api has a max pending latency of 10s - Each app is part of a larger system that is configurable within the Admin Console - Being part of a larger system sets up the correct ACLs between apps and services (e.g. each app is able talk to the same Datastore) A couple of notes: - There needs to be a simple way of routing requests. Routing foo.com to the system, and configuring paths that map to apps (e.g. /api routes to api.foo.appspot.com under the covers is one suggestion) - Configurable Memcache that can be shared by each app would be nice, still iterating on this one - Expose a few more Backend properties to Frontends, and one could imagine Backends and Frontends merging under this model - Is there system billing and per-app billing? -- Chris On Fri, Nov 25, 2011 at 7:26 AM, Jamie Nelson jamie.nel...@promevo.com wrote: How about a header we can append to have a request routed to a particular instance-class? For those of us using gwt, appending an @Instance(target=a1) or @Latency(expected=2500) annotation to rpc methods could append the appropriate header to route requests based on their expected latency. This would be faster for all of us, and easier on your servers. If this feature is released, I will personally write the generator patch to implement the annotation {as opposed to have RpcAsync methods return RequestBuilder to manually set each request}. On Nov 25, 7:01 am, Joshua Smith joshuaesm...@charter.net wrote: On Nov 24, 2011, at 12:06 PM, stevep wrote: Seeing the many new names from Google in the forums, I'm assuming that is the case. I noticed this, too. Can anyone from google comment (just between us girls), is GAE getting some traction inside the googleplex now that you're out of preview? Do you get mentioned in high-level meetings? Are you getting some more budget to work with? Are new insanely smart people looking to get into your group? Is Brandon's mermaid costume discussed at every water cooler? -Joshua -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com . To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
RE: [google-appengine] Re: Feature Request I Think....
You'd either have to put a proxy infront or serve off two urls, not an ideal use case. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Chris Ramsdale Sent: Friday, December 30, 2011 12:58 PM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Re: Feature Request I Think For the use case you provided, why not split the low latency and high latency requests into two different apps (each with specific performance tuning)? -- Chris On Wed, Dec 21, 2011 at 12:10 PM, stevep prosse...@gmail.com wrote: Still voting for task queue optimization. Hopefully we get TQ access in the /api app. Example, if I get a huge burst of traffic, for certain types of recs I would much rather build a queue backlog rather than spin up new 10s latency instances. TQFTW. stevep. On Nov 29, 11:36 am, Chris Ramsdale cramsd...@google.com wrote: Great feedback. Here's the model that I've been envisioning: - I have foo.com and foo.com/api - foo.com serves up my UI and needs to be super-fast - foo.com/api serves up non-realtime API requests - both route to a separate App Engine app - foo.com has max pending latency of 200ms, and several idle instances - foo.com/api has a max pending latency of 10s - Each app is part of a larger system that is configurable within the Admin Console - Being part of a larger system sets up the correct ACLs between apps and services (e.g. each app is able talk to the same Datastore) A couple of notes: - There needs to be a simple way of routing requests. Routing foo.com to the system, and configuring paths that map to apps (e.g. /api routes to api.foo.appspot.com under the covers is one suggestion) - Configurable Memcache that can be shared by each app would be nice, still iterating on this one - Expose a few more Backend properties to Frontends, and one could imagine Backends and Frontends merging under this model - Is there system billing and per-app billing? -- Chris On Fri, Nov 25, 2011 at 7:26 AM, Jamie Nelson jamie.nel...@promevo.comwrote: How about a header we can append to have a request routed to a particular instance-class? For those of us using gwt, appending an @Instance(target=a1) or @Latency(expected=2500) annotation to rpc methods could append the appropriate header to route requests based on their expected latency. This would be faster for all of us, and easier on your servers. If this feature is released, I will personally write the generator patch to implement the annotation {as opposed to have RpcAsync methods return RequestBuilder to manually set each request}. On Nov 25, 7:01 am, Joshua Smith joshuaesm...@charter.net wrote: On Nov 24, 2011, at 12:06 PM, stevep wrote: Seeing the many new names from Google in the forums, I'm assuming that is the case. I noticed this, too. Can anyone from google comment (just between us girls), is GAE getting some traction inside the googleplex now that you're out of preview? Do you get mentioned in high-level meetings? Are you getting some more budget to work with? Are new insanely smart people looking to get into your group? Is Brandon's mermaid costume discussed at every water cooler? -Joshua -- 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 mailto:google-appengine%2bunsubscr...@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 mailto:google-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: DeadlineExceededError on HRD and sky-high latency (python27+threadsafe)
Hi Felippe, We have been treating http://code.google.com/p/googleappengine/issues/detail?id=6323 as a high-priority issue and I've marked it as such. That being said, the Python 2.7 runtime is experimental and we can't offer any support for it or provide any guarantees on when this issue will be fixed. Cheers, Brian On Wed, Dec 28, 2011 at 7:06 PM, Felippe Bueno felippe.bu...@gmail.com wrote: Hello All, Someone has any work around for this, or aren't you using python27+threadsafe ? Thank you very much. Hello Googlers, Any progress or prevision on this ? It is very frustrating having python 2.7 without thread safe. I'm also trying to contact premier account's email but without success. I'd like to get real support. About 6323, is it really medium priority ? I think this is a high priority issue. Any way. Thanks On Wed, Dec 7, 2011 at 7:11 PM, sergio.jar...@gmail.com sergio.jar...@gmail.com wrote: Hi, Brian, Gregory Thanks for your valuable insights! I did know about the issue 6323 and had stared it. However I was not sure it was the same as the issue mentioned CPU bound requests. My app is very much RPC bound. I've added a comment to this thread to the issue and I've set threadsafe: no and will monitor. So far latency seems Ok and the number of instances is 5x-6x of when I had threadsafe: yes. I do agree with Felippe, we should be able to maintain the 50% discount until python27 and threadsafe are fully supported. This is also making things worse - it seems the minimum latency is not being enforced correctly, I also have this. http://code.google.com/p/googleappengine/issues/detail?id=5765can=5sort=-statuscolspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log Sérgio On Dec 7, 5:12 am, Gregory D'alesandre gr...@google.com wrote: Hi Felippe, As you noted Python 2.7 is released. While Python 2.7 is still experimental it is working well for some but indeed there are still issues before it will be fully GA. There was a concern that we were abandoning Python because there was no solution for concurrent requests. Python 2.7, even in its current state, shows that we are not abandoning Python. We tried our best to make appropriate trade-offs with the new pricing model but at some point we needed to roll it out for the reasons we've discussed at length in the past. For instance, when this was written we were also going to launch the new pricing 1.5 months earlier than we actually released it, which likely saved you quite a bit of money, as opposed to this which is costing you more. While my guess is you'd still rather that the 50% discount persisted I hope that answers your question, Greg On Tue, Dec 6, 2011 at 5:29 PM, Felippe Bueno felippe.bu...@gmail.comwrote: On Tue, Dec 6, 2011 at 8:56 PM, Brian Quinlan bquin...@google.com wrote: There is a known bug where the combination of Python 2.7 and enabling concurrent requests causes large latency increases. The Python 2.7 runtime is still experimental and bugs like this are expected. Ok, I understand that. Greg, could you please let us know why we have the new full-sized instance hour for python and still not have python concurrent requests ? I'm asking because you wrotehttp://groups.google.com/group/google-appengine/browse_thread/thread/... : Q: Will there be a solution for Python concurrency? Will this require any code changes? Python concurrency will be handled by our release of Python 2.7 on App Engine. We’ve heard a lot of feedback from our Python users who are worried that the incentive is to move to Java because of its support for concurrent requests, so we’ve made a change to the new pricing to account for that. *While Python 2.7 support is currently in progress it is not yet done *so we will be ** providing a half-sized instance for Python (at half the price) until Python 2.7 is released.* * Ok, I know. It was already released (as experimental), but I thought that the purpose to holding full-sized instances was to give to python users the concurrent requests. Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at
[google-appengine] Re: Datastore Admin broken on python27
On Dec 27, 7:43 pm, Anand Mistry amis...@google.com wrote: The recommended way to use datastore admin with Python 2.7 is by enabling it through the administration console (http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html). I wasn't aware that the console enabled view the web was different than the one enabled via app.yaml. Thanks for the hint! --md -- 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: Datastore Admin broken on python27
On Dec 31, 1:22 am, Maximillian Dornseif m.dorns...@hudora.de wrote: On Dec 27, 7:43 pm, Anand Mistry amis...@google.com wrote: The recommended way to use datastore admin with Python 2.7 is by enabling it through the administration console (http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html). Thanks for the hint! Hmm. Now I only get: The requested URL /_ah/login_required?continue=https://ah-builtin- python-bundle-dot-latest-dot-hdwawi.appspot.com/_ah/datastore_admin/? app_id=s~hdwawi was not found on this server. seems to be broken for apps using federated login :-( --md -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Task Queue not running or very very slow for Master Slave instance
Hi, Is anyone seeing that the appengine task queue seems to be not running any tasks in the master slave instances. The only other difference I see from another application where the tasks ARE running is that the one that IS NOT running is a paid application. The application id is move There are 2 tasks there at the moment. They have been there for 1hr 30 minutes and they have not run at all and no re-tries. Queue Name Maximum RateEnforced Rate Bucket Size Maximum Concurrent Oldest Task Tasks in Queue Run in Last Minute Running Push Queues default 5.00/s 5.00/s 5.0 2011-12-30 16:54:15 (1:29:55 ago)2 0 0 Thanks, Ralph -- 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.