[appengine-java] Geospatial data management with GAE Java
I know that Geomodel is a solution for python users to manage geospatial information. What is available for GAE Java users in term of Geospatial data management ? What is the best solution ? Is there a native approach provided by GAE Java ? In case no solution is available, what are the workarrounds ? Is Google Maps Data Api the solution ? Fred. -- 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-j...@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] Too many open files
Do you have a link to a bug / issue in a tracker or a page that describes this fault (and which versions of Jasper it might be in)? Here it is: http://code.google.com/p/googleappengine/issues/detail?id=2980 Which version of Jasper? I am using App Engine SDK 1.3.1 But does anybody actually deals with these bugs? I have reported the intermittent time zone issue (bug 2330) months ago, and it is still 'New'. Simple redeployment of the webapp resolved the problem, but today it has appeared again. My guess is that about a week ago some new version of the App Engine was deployed, and it uses a faulty Jasper. I wonder if it can be fixed? This server error on the most popular page doesn't do anything good for my webapp. Thanks, Alex On Tue, Mar 16, 2010 at 7:54 AM, Henning henning2...@hotmail.de wrote: Hello, my apps should have had a quota reset 1 hour ago. It says now: Next reset in 23 hours. But no reset has taken place during the last hour at all. What's wrong? Henning www.study-hebrew-online.com -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: Best practices for datastore and JDO?
Thanks a lot for your answer. It is very helpful. We also came to the conclusion, that we would have to fit the entity types to our query needs. We were thinking about maintaining specific query views while inserting data. We just needed to here from someone else, that this was a feasible solution. Cheers, Jacob Vennervald On Mar 6, 3:49 pm, objectuser kevin.k.le...@gmail.com wrote: I think the gap here is that a RDBMS (PostgreSQL) and the App Engine Datastore are totally different. In fact, I think the latter influences your design much more than the former. The sorts of joins you used to be able to do in your DB to efficiently retrieve data don't work in the GAE datastore. You need to build your data model around the queries you want to run efficiently. To say again, your data needs to be modeled to support your most important queries. I go through some of the reasoning in the modeling section of my blog (I've been away from GAE for a while so some of this could have changed): http://objectuser.wordpress.com/google-app-engine/ However, if you've not done so, I highly recommend reading the Google documentation: http://code.google.com/appengine/docs/java/datastore/ On Mar 5, 6:54 am,vennervaldjacob.vennerv...@gmail.com wrote: Hi Guys We have a small application running on JBoss, Seam, Hibernate and PostgreSQL that we are thinking about moving to GAE/J. To test the datastore we uploaded our data 1-1 so all our tables from Postgres were represented as entity types in the datastore with the entities relating to eachother through their keys. As a proof of concept of the performance of the datastore, we did an implemented one of our heaviest reports by joining 6 entities together. And the performance proved to be really bad. Infact we received the deadline exception before we got to join all the entities. From the platform we are running on now, this could be done in less than a second. This doesn't tell me that Google datastore is worthless. It tells me, that I'm doing something wrong, and that I need to think differently about the data structures to make it perform on GAE. I've been looking around and I can't seem to find really good sources on datastore/JDO best practises. Does anybody have any good resources on this toppic? I would really apriciate your help. /Jacob :) -- 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-j...@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] bosh hosting
any recommendation on scalable bosh server hosting that i can use with jgae? -- 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-j...@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: it's terrible slow when loading resource files
hi Don Schwarz, My app id is fstoke-mypage. And the full url is http://fstoke-mypage.appspot.com/ Thanks! :^) On 3月17日, 上午1時22分, Don Schwarz schwa...@google.com wrote: On Tue, Mar 16, 2010 at 8:04 AM, firestoke firest...@gmail.com wrote: hi, The average ping time is as the following: Reply from 72.14.203.141: bytes=32 time=96ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=94ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=99ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Hmm, interesting. What about doing something like 'time curlhttp://yourapp.appspot.com/.../a-small-file'? Also, you mentioned resource files. Just to confirm, are you talking about serving static files, or are you serving these files (and doing the 304 handling) yourself with Java code? If you send me your app id privately I can double-check this for you. It looks like just normal. I found the page initialize spent time is quite different on different browsers. My testing behavior is always press F5 to reload the page. The spent time compare is as the following: Firefox 3.6 IE 8 Chrome 4.1 = Safari 4.04 Safari Chrome is very very very very very SLOW to initialize the page. The average spent time is about 10~14 seconds when page reload. Firefox just spent 3~4 seconds to finish initialize the page. Even IE8 (spent 5 ~ 6 seconds) is faster than Chrome and Safari, very strange... ( In my memory, IE should be the worst browser of them. ) For a normal web service, a page init time should not over 3 seconds I think. Any suggestions? Have you tried YSlow or something equivalent? That may be useful. BTW, If I set billing to add Bandwidth Out resource will improve the server response time? No. We don't do any throttling of bandwidth. The reason why I choose to deploy on Google App Engine is that I think the server response and performance should be extremely fast like other Google web services. But the result is quite different as I wonder. :((( On 3月16日, 上午1時54分, Don Schwarz schwa...@google.com wrote: It looks like your files are taking about 400ms each, which may not be that bad depending on where you are located relative to App Engine's datacenters. What's an average ping time to your application's appspot.com page? I believe that the beige bars in the graph are time spent waiting due to your browser's per-host connection limit. You should try something like YSlow (http://developer.yahoo.com/yslow/) for advice on how to concatenate CSS and JS files, merge images, etc. On Mon, Mar 15, 2010 at 7:43 AM, firestoke firest...@gmail.com wrote: hi, I write a HTML page that use many jQuery plugins and AJAX call. And I import many css and js files in this page. After I deploy it on Google App Engine server and testing. It's terrible slow when page initialize. See this firebug screenshot, you will know what I am talking about. http://picasaweb.google.com/davidhung168/UntitledAlbum#54488373827239. .. is it because the Java version of app engine still on BETA? BTW, I didn't use billing yet. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.comgoogle-appengine-java%2B 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B 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-j...@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] using JDO level 2 caching
I'm interested to hear from people who have enabled the datanucleus JDO level 2 caching for App Engine-- how has that worked out? This thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/13cb942ceb97dc/3ab7518edf6a8bc6 suggests that at least one person had the experience that it was quick locally but that there was a mysterious slow-down when the app was deployed. But, as far as I can tell, there are not a lot of people using L2 caching on App Engine (or at least, they are not discussing it here). I'm curious also as to why the Google docs themselves do not mention this feature (as far as I can tell)?- would any of the Google people monitoring this group have input on that? -- 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-j...@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] Too many open files
I think Toby was asking for your source for this statement: I've read around and found a reasonable suggestion that a problem like this can happen because of a faulty Jasper implementation - the tag handler doesn't close the file properly. Do you have a link to that Jasper bug, or an URL where you read this suggestion? On Wed, Mar 17, 2010 at 4:31 AM, Alexander Kolesnikov otry.it...@gmail.comwrote: Do you have a link to a bug / issue in a tracker or a page that describes this fault (and which versions of Jasper it might be in)? Here it is: http://code.google.com/p/googleappengine/issues/detail?id=2980 Which version of Jasper? I am using App Engine SDK 1.3.1 But does anybody actually deals with these bugs? I have reported the intermittent time zone issue (bug 2330) months ago, and it is still 'New'. Simple redeployment of the webapp resolved the problem, but today it has appeared again. My guess is that about a week ago some new version of the App Engine was deployed, and it uses a faulty Jasper. I wonder if it can be fixed? This server error on the most popular page doesn't do anything good for my webapp. Thanks, Alex On Tue, Mar 16, 2010 at 7:54 AM, Henning henning2...@hotmail.de wrote: Hello, my apps should have had a quota reset 1 hour ago. It says now: Next reset in 23 hours. But no reset has taken place during the last hour at all. What's wrong? Henning www.study-hebrew-online.com -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: java.io.IOException: Could not fetch URL problem and google spreadsheet api
Did you find the solution for this as i am having the problem ? Any help appreciated. Thanks, Rahul On Mar 16, 10:31 am, dominity domin...@gmail.com wrote: Hi, guys. When my application trying to put user credentials into spreadsheet service, I've got this exception: com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthToken Factory.java: 479) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAut hTokenFactory.java: 336) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : 362) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : 317) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : 301) Caused by: java.io.IOException: Could not fetch URL:https://www.google.com/accounts/ClientLogin at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc eption(URLFetchServiceImpl.java: 106) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService Impl.java: 39) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.fetchResponse(URLFetchServiceStreamHandler.java:404) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getInputStream(URLFetchServiceStreamHandler.java:283) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getResponseCode(URLFetchServiceStreamHandler.java:136) at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTo kenFactory.java: 550) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthToken Factory.java: 477) I'm using Eclipse Plug-In and GAE SDK v1.3.1. Also, I was trying my code with version 1.3.0 and 1.2.9. And I can tell you that this happens only with development server, error disappears on production server. That's point - I can't even do any debugging stuff. So, could you give me any feedback on this issue? Best regards, Alexander. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Ant with GWT 2.0
Hi Is it possible to use Ant to run development server for GWT 2.0? Is there any tutorial available? Thanks. Iqbal -- 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-j...@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: java.io.IOException: Could not fetch URL problem and google spreadsheet api
I am trying to open a connection to the following service : http://translate.thoughtclicks.com/translateService/german/good morning which is definitely taking less then 5 seconds but i am still getting this exception any clue on this folks. My code to open the url connection is as follows. URL url = new URL(THIS_IS_THE_URL_MENTIONED_ABOVE); //make connection, use post mode, and send query URLConnection urlc = url.openConnection(); urlc.setDoOutput(true); //retrieve result BufferedReader br = new BufferedReader(new InputStreamReader(urlc.getInputStream())); Any Clues on this folks ? Thanks, Rahul On Mar 17, 12:27 pm, Rahul rahul.jun...@gmail.com wrote: Did you find the solution for this as i am having the problem ? Any help appreciated. Thanks, Rahul On Mar 16, 10:31 am, dominity domin...@gmail.com wrote: Hi, guys. When my application trying to put user credentials into spreadsheet service, I've got this exception: com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthToken Factory.java: 479) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAut hTokenFactory.java: 336) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : 362) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : 317) at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java : 301) Caused by: java.io.IOException: Could not fetch URL:https://www.google.com/accounts/ClientLogin at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc eption(URLFetchServiceImpl.java: 106) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService Impl.java: 39) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.fetchResponse(URLFetchServiceStreamHandler.java:404) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getInputStream(URLFetchServiceStreamHandler.java:283) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getResponseCode(URLFetchServiceStreamHandler.java:136) at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTo kenFactory.java: 550) at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthToken Factory.java: 477) I'm using Eclipse Plug-In and GAE SDK v1.3.1. Also, I was trying my code with version 1.3.0 and 1.2.9. And I can tell you that this happens only with development server, error disappears on production server. That's point - I can't even do any debugging stuff. So, could you give me any feedback on this issue? Best regards, Alexander. -- 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-j...@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: recommended way for application to authenticate general gmail accounts and users with google app accounts
Can please someone from Google comment on my question? Thank you. On Sun, Mar 14, 2010 at 7:24 PM, Dmitry Anipko dmitry.ani...@gmail.com wrote: Hi, we're developing a service on GAE that we want to start selling to both individual using gmail accounts and companies using google apps - basically we need to authenticate both type of accounts in one application. I was looking into the docs and this forum, and it seems to me that there are two ways to do it, if someone could comment on whether they are the complete set, or there is some other way, that would be great: 1. Request multi-ID support for our app through http://code.google.com/support/bin/request.py?contact_type=AppEngineMultiInstanceExceptionRequest and add our app to all google domains who want to use us - but that model doesn't seem scalable one, not I'm sure if our customers will be fine with granting us even temporary administrative access in order to add the app to their account. 2. Go through marketplace and use onlineid? In this case we will get better integration into the google app enviroment, but my understanding is we will have to pay for that 20% of revenue (in case we select the add to option) to Google. Are there other ways? If these two ways are correct, if we don't need the other benefits of marketplace integration, will Google be approving the request for each customer that we may have or we can't count on that? (and we could have hundreds of customers). If any of the users of the forum had similar issue and got it solved, I'd appreciate if they could share the learnings. Thank you, Dmitry -- 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-j...@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: it's terrible slow when loading resource files
I'm getting 304 responses for your application with about a 75-85ms latency above my ping times. I've confirmed that you're using our optimized serving infrastructure for static files. What kind of performance are you expecting to see? I would also try this tool: http://code.google.com/speed/page-speed/ It may have additional advice about optimizing your javascript. On Wed, Mar 17, 2010 at 9:11 AM, firestoke firest...@gmail.com wrote: hi Don Schwarz, My app id is fstoke-mypage. And the full url is http://fstoke-mypage.appspot.com/ Thanks! :^) On 3月17日, 上午1時22分, Don Schwarz schwa...@google.com wrote: On Tue, Mar 16, 2010 at 8:04 AM, firestoke firest...@gmail.com wrote: hi, The average ping time is as the following: Reply from 72.14.203.141: bytes=32 time=96ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=94ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=99ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Hmm, interesting. What about doing something like 'time curlhttp:// yourapp.appspot.com/.../a-small-file'? Also, you mentioned resource files. Just to confirm, are you talking about serving static files, or are you serving these files (and doing the 304 handling) yourself with Java code? If you send me your app id privately I can double-check this for you. It looks like just normal. I found the page initialize spent time is quite different on different browsers. My testing behavior is always press F5 to reload the page. The spent time compare is as the following: Firefox 3.6 IE 8 Chrome 4.1 = Safari 4.04 Safari Chrome is very very very very very SLOW to initialize the page. The average spent time is about 10~14 seconds when page reload. Firefox just spent 3~4 seconds to finish initialize the page. Even IE8 (spent 5 ~ 6 seconds) is faster than Chrome and Safari, very strange... ( In my memory, IE should be the worst browser of them. ) For a normal web service, a page init time should not over 3 seconds I think. Any suggestions? Have you tried YSlow or something equivalent? That may be useful. BTW, If I set billing to add Bandwidth Out resource will improve the server response time? No. We don't do any throttling of bandwidth. The reason why I choose to deploy on Google App Engine is that I think the server response and performance should be extremely fast like other Google web services. But the result is quite different as I wonder. :((( On 3月16日, 上午1時54分, Don Schwarz schwa...@google.com wrote: It looks like your files are taking about 400ms each, which may not be that bad depending on where you are located relative to App Engine's datacenters. What's an average ping time to your application's appspot.com page? I believe that the beige bars in the graph are time spent waiting due to your browser's per-host connection limit. You should try something like YSlow (http://developer.yahoo.com/yslow/) for advice on how to concatenate CSS and JS files, merge images, etc. On Mon, Mar 15, 2010 at 7:43 AM, firestoke firest...@gmail.com wrote: hi, I write a HTML page that use many jQuery plugins and AJAX call. And I import many css and js files in this page. After I deploy it on Google App Engine server and testing. It's terrible slow when page initialize. See this firebug screenshot, you will know what I am talking about. http://picasaweb.google.com/davidhung168/UntitledAlbum#54488373827239. .. is it because the Java version of app engine still on BETA? BTW, I didn't use billing yet. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.comgoogle-appengine-java%2B 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-j...@googlegroups.com. To unsubscribe from this group, send email to
[appengine-java] Re: it's terrible slow when loading resource files
hi, If the latency only get 75-85ms, it surely is fine I think. The performance I expected is that the latency should be always under 300ms. But it always exceed 1 second from my PC testing. So it should be common network delay from my PC to app engine server. I am not a America user, and my PC is on Taiwan. Just to confirm, does App engine server provide a mirror mechanism? I will install the Page Speed plugin to do more testing. Thanks! :^) Have a nice day! On 3月18日, 上午3時03分, Don Schwarz schwa...@google.com wrote: I'm getting 304 responses for your application with about a 75-85ms latency above my ping times. I've confirmed that you're using our optimized serving infrastructure for static files. What kind of performance are you expecting to see? I would also try this tool: http://code.google.com/speed/page-speed/ It may have additional advice about optimizing your javascript. On Wed, Mar 17, 2010 at 9:11 AM, firestoke firest...@gmail.com wrote: hi Don Schwarz, My app id is fstoke-mypage. And the full url is http://fstoke-mypage.appspot.com/ Thanks! :^) On 3月17日, 上午1時22分, Don Schwarz schwa...@google.com wrote: On Tue, Mar 16, 2010 at 8:04 AM, firestoke firest...@gmail.com wrote: hi, The average ping time is as the following: Reply from 72.14.203.141: bytes=32 time=96ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=94ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=99ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=95ms TTL=51 Reply from 72.14.203.141: bytes=32 time=97ms TTL=51 Reply from 72.14.203.141: bytes=32 time=98ms TTL=51 Hmm, interesting. What about doing something like 'time curlhttp:// yourapp.appspot.com/.../a-small-file'? Also, you mentioned resource files. Just to confirm, are you talking about serving static files, or are you serving these files (and doing the 304 handling) yourself with Java code? If you send me your app id privately I can double-check this for you. It looks like just normal. I found the page initialize spent time is quite different on different browsers. My testing behavior is always press F5 to reload the page. The spent time compare is as the following: Firefox 3.6 IE 8 Chrome 4.1 = Safari 4.04 Safari Chrome is very very very very very SLOW to initialize the page. The average spent time is about 10~14 seconds when page reload. Firefox just spent 3~4 seconds to finish initialize the page. Even IE8 (spent 5 ~ 6 seconds) is faster than Chrome and Safari, very strange... ( In my memory, IE should be the worst browser of them. ) For a normal web service, a page init time should not over 3 seconds I think. Any suggestions? Have you tried YSlow or something equivalent? That may be useful. BTW, If I set billing to add Bandwidth Out resource will improve the server response time? No. We don't do any throttling of bandwidth. The reason why I choose to deploy on Google App Engine is that I think the server response and performance should be extremely fast like other Google web services. But the result is quite different as I wonder. :((( On 3月16日, 上午1時54分, Don Schwarz schwa...@google.com wrote: It looks like your files are taking about 400ms each, which may not be that bad depending on where you are located relative to App Engine's datacenters. What's an average ping time to your application's appspot.com page? I believe that the beige bars in the graph are time spent waiting due to your browser's per-host connection limit. You should try something like YSlow (http://developer.yahoo.com/yslow/) for advice on how to concatenate CSS and JS files, merge images, etc. On Mon, Mar 15, 2010 at 7:43 AM, firestoke firest...@gmail.com wrote: hi, I write a HTML page that use many jQuery plugins and AJAX call. And I import many css and js files in this page. After I deploy it on Google App Engine server and testing. It's terrible slow when page initialize. See this firebug screenshot, you will know what I am talking about. http://picasaweb.google.com/davidhung168/UntitledAlbum#54488373827239. .. is it because the Java version of app engine still on BETA? BTW, I didn't use billing yet. -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B
[appengine-java] garbage log message when japanese language is used
when i log a japanese message, when i check the logs from google app engine admin page it displays garbage value. i tried to change the character encoding in my browser but still displays garbage message. is japanese message log supported? 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-j...@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: App instance recycling and response times - is there solution?
As a followup, today (3/17) from 1-3PM PST I received several instances of Request was aborted after waiting too long to attempt to service your request. This is on my app w/ zero users, just 3 requests/minute of a blank page as a test load. On Thu, Mar 11, 2010 at 1:50 PM, Don Schwarz schwa...@google.com wrote: Can you respond privately with your app id? On Thu, Mar 11, 2010 at 10:10 AM, James jamesk...@gmail.com wrote: I setup some pings of my add a few minutes ago, and I'm still seeing recycling :( My ping setup can't go lower than 60s intervals, so I have two running concurrently. Here's a sample of 20 log entries over 10 minutes, with . Three recyclings occur, and they happen less than 10s after a previous request. Really Google, you're killing my JVM after TEN SECONDS? And I get to pay you for the ton of CPU each startup uses? Sounds like the more recycling, the more profitable the App Engine becomes. - * 03-11 08:02AM 38.506 /?Pragma=no-cache 200 2158ms 2235cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 08:02AM 23.144 /?Pragma=no-cache 200 53ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 08:01AM 06.134 /?Pragma=no-cache 200 75ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 08:00AM 51.707 /?Pragma=no-cache 200 49ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 08:00AM 05.823 /?Pragma=no-cache 200 49ms 58cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:59AM 51.499 /?Pragma=no-cache 200 56ms 38cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:59AM 05.584 /?Pragma=no-cache 200 47ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:58AM 51.274 /?Pragma=no-cache 200 61ms 38cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:58AM 05.371 /?Pragma=no-cache 200 64ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:57AM 51.025 /?Pragma=no-cache 200 74ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) * 03-11 07:56AM 57.327 /?Pragma=no-cache 200 7835ms 2119cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:56AM 50.784 /?Pragma=no-cache 200 75ms 58cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:55AM 57.008 /?Pragma=no-cache 200 50ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) * 03-11 07:55AM 46.384 /?Pragma=no-cache 200 4250ms 2060cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:54AM 56.782 /?Pragma=no-cache 200 70ms 38cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:54AM 46.157 /?Pragma=no-cache 200 54ms 38cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:53AM 56.586 /?Pragma=no-cache 200 52ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:53AM 45.934 /?Pragma=no-cache 200 51ms 38cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:52AM 56.240 /?Pragma=no-cache 200 62ms 38cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) 03-11 07:52AM 45.718 /?Pragma=no-cache 200 57ms 19cpu_ms 0kb Site 24 X 7 RPT-HTTPClient/0.3-3E,gzip(gfe) - On Jan 30, 11:02 pm, Alyxandor a.revolution.ultra.b...@gmail.com wrote: If you are experiencing failed requests on your long-running / requests, consider performing some kind of pre-warming procedure of your own... If you are getting timeout errors, Ping a do-nothing url, and wait for it to return before running the big job. If it's a big job, users should expect to wait anyway {and you should tell them they are waiting!}, so the ping ensures {almost} that a warm JVM is running in the server nearest said users, and then the big /request can {usually} avoid getting killed with extra spin up time. Very unlucky users would get a /ping on an old JVM, and /request a new one, but... Technology isn't perfect... YET! -- 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@googlegroups.com. To unsubscribe from this group,
[appengine-java] http response 411 workaround
I tried to connect to our uploaded servlet in gae by using other means (UrlConnection and the like). but it always returns 411 length required. i dont have any values in the body... only in headers.. is there a way to eliminate 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-j...@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] Security Exception using Guice Servlet
Hi, I've started to see a new exception for my application and I'm hoping that a kind Googler can look this up for me. My appid is catapult-lb and here's the stack trace. I'd be grateful for any help as this has been working for more than 6 months and now (probably due to a code change of mine) I'm now hitting this mysterious road-block. Thanks. com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.SecurityException: Unable to get members for class com.pbw.core.database.MappingUtils at com.google.inject.internal.MapMaker $StrategyImpl.compute(MapMaker.java:553) at com.google.inject.internal.MapMaker $StrategyImpl.compute(MapMaker.java:419) at com.google.inject.internal.CustomConcurrentHashMap $ComputingImpl.get(CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get(FailableCache.java: 46) at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java: 48) at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java: 120) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java: 443) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java: 698) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java: 630) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java: 223) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java: 174) at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java: 704) at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java: 45) at com.google.inject.internal.BindingProcessor.runCreationListeners(BindingProcessor.java: 238) at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java: 141) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java: 114) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:90) at com.google.inject.Guice.createInjector(Guice.java:105) at com.google.inject.Guice.createInjector(Guice.java:76) at com.pbw.integrate.config.IntegrationServletConfig.getInjector(Unknown Source) at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java: 43) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java: 530) -- 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-j...@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: Security Exception using Guice Servlet
I forgot to add : I suspected a Guice bug so I build the Guice trunk and tried that but there was no change in behaviour so that's out. On Mar 18, 4:17 pm, steveb steve.buikhui...@gmail.com wrote: Hi, I've started to see a new exception for my application and I'm hoping that a kind Googler can look this up for me. My appid is catapult-lb and here's the stack trace. I'd be grateful for any help as this has been working for more than 6 months and now (probably due to a code change of mine) I'm now hitting this mysterious road-block. Thanks. com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.SecurityException: Unable to get members for class com.pbw.core.database.MappingUtils at com.google.inject.internal.MapMaker $StrategyImpl.compute(MapMaker.java:553) at com.google.inject.internal.MapMaker $StrategyImpl.compute(MapMaker.java:419) at com.google.inject.internal.CustomConcurrentHashMap $ComputingImpl.get(CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get(FailableCache.java: 46) at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjector Store.java: 48) at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBin dingImpl.java: 120) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.j ava: 443) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImp l.java: 698) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(In jectorImpl.java: 630) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.j ava: 223) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java : 174) at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.jav a: 704) at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java: 45) at com.google.inject.internal.BindingProcessor.runCreationListeners(BindingPro cessor.java: 238) at com.google.inject.internal.InternalInjectorCreator.initializeStatically(Int ernalInjectorCreator.java: 141) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCr eator.java: 114) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:90) at com.google.inject.Guice.createInjector(Guice.java:105) at com.google.inject.Guice.createInjector(Guice.java:76) at com.pbw.integrate.config.IntegrationServletConfig.getInjector(Unknown Source) at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(Gu iceServletContextListener.java: 43) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java: 530) -- 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-j...@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.