Re: [appengine-java] Restricting the number of instances to 1
App Engine sessions are backed by Memcache and Datastore, so these will be available to all your instances. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Sun, Jun 19, 2011 at 10:43 AM, Inderjeet Singh wrote: > > > On Saturday, June 18, 2011 7:09:32 PM UTC-7, Ikai L (Google) wrote: >> >> Not really. You shouldn't depend on App Engine instances to stay alive >> since we will tear them down and start them up as needed. What is it that >> you are doing that you can't do with Memcache? > > > I am actually fine with the instance going down and up intermittently. > However, once an instance is up, I want all calls routed to it. > This allows me to use in-memory data structures (such as HttpSession). > > Thanks > Inder > > > -- > 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/-/jYcsW6LlI2QJ. > > 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] Restricting the number of instances to 1
On Saturday, June 18, 2011 7:09:32 PM UTC-7, Ikai L (Google) wrote: > > Not really. You shouldn't depend on App Engine instances to stay alive > since we will tear them down and start them up as needed. What is it that > you are doing that you can't do with Memcache? I am actually fine with the instance going down and up intermittently. However, once an instance is up, I want all calls routed to it. This allows me to use in-memory data structures (such as HttpSession). Thanks Inder -- 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/-/jYcsW6LlI2QJ. 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] Restricting the number of instances to 1
Not really. You shouldn't depend on App Engine instances to stay alive since we will tear them down and start them up as needed. What is it that you are doing that you can't do with Memcache? An alternate implementation could be to use Backends to maintain a long lived data object cache, but this is arguably more expensive engineering-wise than just using memcache. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Sun, Jun 19, 2011 at 4:47 AM, Inderjeet Singh wrote: > Hi, > > I recently upgraded to the paid version of Google App Engine since I wanted > to keep my application instance always running. However, I now see that > App-Engine creates 3 instances by default. This forces me to use a solution > like Memcache which I am not yet ready to do. Is there a way to limit the > number of instances to just 1. > > Thanks > Inder > > -- > 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/-/BFpppoff134J. > 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] can i load web form and then submit it, after showing only form's captcha on screen?
Just out of curiosity, what is it that you are doing that presents a captcha with a form? Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Sun, Jun 19, 2011 at 4:35 AM, Stephen Johnson wrote: > You can do it several ways. The best way IMHO is to show the form and > the captcha together and they fill in the form fields and the captcha > and submit both together. Or as your question implies, you want a > two-step process for some reason where they fill in the form and then > you show a different page with just the captcha. Not sure why you want > to do this, but in this scenario when they submit the form, you can > send the captcha page back to them with the form fields as hidden > fields. Then when captcha is submitted, then both form fields and > captcha info is submitted together. Another alternative is to store > the submitted form values into the session object on first submit, > then show captcha page and when they have submitted captcha > successfully, you can process the form data. > > Stephen > > On Wed, Jun 15, 2011 at 8:30 PM, Arvind Chari > wrote: > > Hello > > > > I want to automate the submission of repetitive data to multiple web > > forms... I already have with me details of all fields that have to be > filled > > in on a web form. What I want to do is, initially ask the user for values > of > > various fields, and at time of submission show only captcha of form on > > screen. Now, when end user fills in the captcha, then the form (along > with > > other fields filled in by the application) is submitted successfully. > > > > Can i do this in Google App Engine (either Java or Python or any of the > > other supported languages)? > > > > Regards, > > Arvind. > > > > -- > > 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/-/ftxQm2I3P5EJ. > > 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. > > -- 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] Advanced Access Control
Hi guys, I wanted to ask for a hint on some technologies I could use for what I want to do with GAE. I am a bit overwhelmed by the huge amounts of different and competing APIs and stuff that I am reading about. I want to do a web page with login. But not for everyone with a google account. I want users to create an account and save data. They shall be the admins of their accounts and be able to create sub-users that can use the app with the respective data. Also they need to be able to restrict access to certain areas for their sub-users. Also it should be possible to, at a later stage, implement a subscription payment model and to check on which membership model they are. According to that they will only be to e.g. create 3 sub-users and save 1000 entries of a string per month. >From what I've read on the web the technologies I would need for a project like that are: GAE + GWT + Spring security. Is spring security really the right choice? Am I mistaken? Are there other alternatives for handling user rights? I would be very glad to be pointed in the right direction and literature. I am kinda lost right now. Thank you in advance. -- 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] two accounts
Cool. Your welcome. On Sat, Jun 18, 2011 at 4:45 PM, Steve wrote: > Thank you. I was able to remove the default site and add my app engine id > to my new domain. > > -- > 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/-/NYMCCkw6yMkJ. > 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] two accounts
Thank you. I was able to remove the default site and add my app engine id to my new domain. -- 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/-/NYMCCkw6yMkJ. 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] two accounts
Log into your apps account: www.google.com/a/YOURDOMAIN.com On your dashboard remove Google Sites, then click Add More Services to add your App Engine account On Sat, Jun 18, 2011 at 2:30 PM, Steve wrote: > I like the idea of switching some settings so I can use my original account > with my new domain. It seems better than moving my code and data to the new > account. It is a royal pain switching between two Google accounts and it > would be nice to have just one. > > How do I remove Google Sites and add App Engine specifying my appengine id? > > > -- > 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/-/DvYHK377SCUJ. > 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] two accounts
I like the idea of switching some settings so I can use my original account with my new domain. It seems better than moving my code and data to the new account. It is a royal pain switching between two Google accounts and it would be nice to have just one. How do I remove Google Sites and add App Engine specifying my appengine id? -- 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/-/DvYHK377SCUJ. 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] Restricting the number of instances to 1
Hi, I recently upgraded to the paid version of Google App Engine since I wanted to keep my application instance always running. However, I now see that App-Engine creates 3 instances by default. This forces me to use a solution like Memcache which I am not yet ready to do. Is there a way to limit the number of instances to just 1. Thanks Inder -- 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/-/BFpppoff134J. 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] two accounts
If you set up your domain through Google Apps then remove Google Sites from the account where you set up your domain name and add App Engine to that account specifying your appengine id. I think that if you used Google Apps to add your domain then your DNS settings should be fine, but I can't remember off the top of my head if anything has to be changed there but I don't think so. It may take a while for the Google Sites to stop serving traffic and for your appspot.com to start serving that traffic. This is at least what I've done and it's worked for me. I hope I haven't forgotten any steps. Stephen On Fri, Jun 17, 2011 at 4:10 PM, Steve wrote: > I created a Google App Engine application and deployed it at appspot.com. > Then I decided to buy a domain name through Google Apps and use that with > the site. I cannot figure out how to use the new domain with the site. I > think my problem is that I now have two Google accounts, the original one > with my appspot application and a new one with my new domain. Any ideas on > how to fix this? > > -- > 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/-/hwPF-2QsW9wJ. > 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] can i load web form and then submit it, after showing only form's captcha on screen?
You can do it several ways. The best way IMHO is to show the form and the captcha together and they fill in the form fields and the captcha and submit both together. Or as your question implies, you want a two-step process for some reason where they fill in the form and then you show a different page with just the captcha. Not sure why you want to do this, but in this scenario when they submit the form, you can send the captcha page back to them with the form fields as hidden fields. Then when captcha is submitted, then both form fields and captcha info is submitted together. Another alternative is to store the submitted form values into the session object on first submit, then show captcha page and when they have submitted captcha successfully, you can process the form data. Stephen On Wed, Jun 15, 2011 at 8:30 PM, Arvind Chari wrote: > Hello > > I want to automate the submission of repetitive data to multiple web > forms... I already have with me details of all fields that have to be filled > in on a web form. What I want to do is, initially ask the user for values of > various fields, and at time of submission show only captcha of form on > screen. Now, when end user fills in the captcha, then the form (along with > other fields filled in by the application) is submitted successfully. > > Can i do this in Google App Engine (either Java or Python or any of the > other supported languages)? > > Regards, > Arvind. > > -- > 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/-/ftxQm2I3P5EJ. > 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] GPE 2.4 and RequestFactory versus GWT-RPC
Hi, I am trying to figure out the best practise to consume my App Engine services from both Android and GWT. Since the services are not that data oriented, I first considered GWT-RPC. But given the fact that the GPE 2.4 sample project voor Android comes with RequestFactory, I am leaning towards this approach. I was hoping someone could validate this 'best practise' : When you have both Android and GWT consumers of your App Engine service, apply the RequestFactory pattern. TIA Michel Jonker -- 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/-/WOAbwy1M8tEJ. 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 while sign in
i have downloaded google app engine and google gwt plugin for eclips {helios}.. when i open eclips an error msg is comming.. the error msg is written bellow.. an error occured while trying to sign in: sun.security.validator.validatorException: PKIX path validation failed: java.security..cert.certpathvalidatorException: timestamp chek failed. see the error log for more details.. Exception stack trace. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) at com.google.api.client.javanet.NetHttpRequest.execute(NetHttpRequest.java: 76) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java: 207) at com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java: 64) at com.google.gdt.eclipse.login.GoogleLogin.authorizeStep1(GoogleLogin.java: 535) at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java: 416) at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java: 379) at com.google.gdt.eclipse.login.ui.LoginTrimContribution $1.mouseUp(LoginTrimContribution.java:90) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java: 213) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java: 4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java: 115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: 110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: 79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed at sun.security.validator.PKIXValidator.doValidate(Unknown Source) at sun.security.validator.PKIXValidator.doValidate(Unknown Source) at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) at sun.security.validator.Validator.validate(Unknown Source) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown Source) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ... 43 more Caused by: java.security.cert.CertPathValidatorException: timestamp check failed at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source) at sun.security.provi
[appengine-java] sign in failed
i have downloaded google app engine and google gwt plugin for eclips {helios}.. when i open eclips an error msg is comming.. the error msg is written bellow.. an error occured while trying to sign in: sun.security.validator.validatorException: PKIX path validation failed: java.security..cert.certpathvalidatorException: timestamp chek failed. see the error log for more details.. how can i fix this error.. -- 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] Why the 10 second URL fetch limit?
Awesome! Thanks for looking into it, Ikai. I'll use a workaround for now. Luis On Fri, Jun 17, 2011 at 9:41 PM, Ikai Lan (Google) wrote: > Let me see what it'll take to get this moved into App Engine for Java. With > concurrency, instance hours based quotas, and "knobs" for tuning instance > scheduling, it might not make sense to maintain this limit for online > requests anymore. > > For the time being, however, don't wait for this feature. Work around it > until we sort it out. > > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog: http://googleappengine.blogspot.com > Twitter: http://twitter.com/app_engine > Reddit: http://www.reddit.com/r/appengine > > > > On Sat, Jun 18, 2011 at 4:55 AM, Jeff Schnitzer wrote: > >> The problem with using the Channel API this way is not quota usage, it's >> the rather significant amount of work required on the client & server to >> make this work. >> >> Making an ajax call from client javascript is trivial. Making an ajax >> call PLUS setting up, tearing down, and processing messages from the channel >> API is a massive PITA. A modern development environment shouldn't make you >> go through this much trouble to do something so simple. >> >> Multithreading largely addresses this issue. Async services don't have >> the issue at all. >> >> Jeff >> >> >> On Fri, Jun 17, 2011 at 6:57 AM, Ikai Lan (Google) wrote: >> >>> It doesn't hold up the UI but it effectively blocks a connection. With >>> multithreaded Java this isn't an issue, I suppose - but it will raise your >>> average user facing latency and your application will not autoscale if it is >>> frequent. If it is not frequent, the quote usage from the Channel API will >>> be minimal. >>> >>> Ikai Lan >>> Developer Programs Engineer, Google App Engine >>> Blog: http://googleappengine.blogspot.com >>> Twitter: http://twitter.com/app_engine >>> Reddit: http://www.reddit.com/r/appengine >>> >>> >>> >>> On Fri, Jun 17, 2011 at 11:56 AM, Luis Montes wrote: >>> It's not in a task queue or cron job. It's definitely not holding up the UI since the fetch is happening in an AJAX call and the user knows that the call will take a few seconds. Putting it in a task queue means i have to store the results and poll the server to check if the results have finished, or use the channel API to push a notification back to the client. Those approaches both use more quota than would simply allowing for more time on a normal fetch. Luis On Thu, Jun 16, 2011 at 6:33 PM, Ikai Lan (Google) wrote: > Are you doing the urlfetch in an offline call (task queue or cron)? If > so, the limit should be higher than 10 seconds as of SDK 1.4.1. > > I hope this isn't an "online" call, because it would suck for a user to > wait 30 seconds before a page load. You're better off showing the user a > loading screen, handing the job to a task queue, then updating the page > when > the fetch has finished. > > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog: http://googleappengine.blogspot.com > Twitter: http://twitter.com/app_engine > Reddit: http://www.reddit.com/r/appengine > > > > On Fri, Jun 17, 2011 at 7:42 AM, Luis Montes wrote: > >> I understand why there's a 30 second limit for an http connection to >> GAE, but I don't understand why server to server URL fetches get timed >> out >> at 10 seconds. >> >> Seems like as long as you finish up all your processing in less than >> 30 you should be fine. How about upping the URL fetch max to 29 seconds? >> >> >> Thanks, >> >> Luis >> >> -- >> 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. > -- 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 m
[appengine-java] Re: App Engine 1.5.1?
Seems like it. I get the same thing, have since yesterday some time. On Jun 18, 3:43 am, Eurig Jones wrote: > My dev server is telling me I should upgrade my app to 1.5.1 on > startup, but I see no final release of 1.5.1 available yet, only a pre- > release! > > Is this an error on google's part? -- 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] App Engine 1.5.1?
My dev server is telling me I should upgrade my app to 1.5.1 on startup, but I see no final release of 1.5.1 available yet, only a pre- release! Is this an error on google's part? -- 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.