[appengine-java] Re: Is BlobInfoFactory thread safe?

2011-11-20 Thread Max
Hi Marcel, What is your use case? Why do you want to know if it's thread safe? You can't create new thread inside appengine sandbox. Regards, Max -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the

[appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Max
+1 I am also curious on the answer. I found following code snippet in class QueryTranslator, it looks to some degree these two are the same and prefetchSize overrides chunkSize? DatastorePb.Query proto = new DatastorePb.Query(); if (fetchOptions.getPrefetchSize() != null) {

Re: [appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Gal Dolber
Found this http://stackoverflow.com/questions/6914069/google-app-engine-chunksize-prefetchsize-where-can-i-read-details-on-it On Sun, Nov 20, 2011 at 8:27 AM, Max thebb...@gmail.com wrote: +1 I am also curious on the answer. I found following code snippet in class QueryTranslator, it looks

[appengine-java] Re: Documentation Issue: TaskQueue Testing

2011-11-20 Thread Broc Seib
Erick, A while back the API changed to use with() functions, and I'm sure they did not catch all the docs that needed updated. You should file an issue here for fixing the documentation and someone will eventually get to it: http://code.google.com/p/googleappengine/issues/list Broc On Nov

[appengine-java] Re: package javax.servlet.annotation does not exist

2011-11-20 Thread Mauricio Porras P
I'm having this same issue, did you find a solution already? Greetings. -- 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/-/2vk_8GdySmYJ.

[appengine-java] Which java framework to use?

2011-11-20 Thread sppl
I am starting off with a new project using app engine java. I am trying to decide what mvc framework to use. I went through previous messages posted by group members and found this linkhttp://?place=msg%2Fgoogle-appengine-java%2F7wkMDm6kptY%2F-hxbaAyfK4sJ. I then narrowed down my choices to

[appengine-java] Re: Is BlobInfoFactory thread safe?

2011-11-20 Thread Tim Niblett
You can't create a new thread, but you can have multiple concurrent requests if you say your app is thread safe in appengine-web.xml, which means that your code will be running with multiple threads. I must admit that I just assumed all the services provided by App Engine to be thread safe.

[appengine-java] Re: Which java framework to use?

2011-11-20 Thread Chris
My suggestion: For datastore access use Objectify: http://code.google.com/p/objectify-appengine/ For your MVC framework go with AJAX/Javascript/HTML5 and use Backbone.js: http://documentcloud.github.com/backbone/ We've used Tapestry5 on App Engine before but without lazy loading and serious

Re: [appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Jeff Schnitzer
Alfred made this comment, which sheds a lot of light on it: On Sat, Nov 19, 2011 at 8:56 PM, Alfred Fuller arfuller+appeng...@google.com wrote: if you set chunkSize and not prefetchSize every call will try to return chuckSize results (even the first call) if you set prefetchSize and

Re: [appengine-java] Which java framework to use?

2011-11-20 Thread Jeff Schnitzer
My favored stack right now: Objectify (I'm the lead developer, so this one was easy) Resteasy + Htmleasy + Guice, tightly integrated Cambridge templates (with JEXL) Coffeescript + jQuery + Handlebars.js on the frontend Heavy use of Jackson to jsonify objects, including embedded in the page html

Re: [appengine-java] Re: package javax.servlet.annotation does not exist

2011-11-20 Thread Jeff Schnitzer
Occasionally eclipse gets stupid like this. Some combination of Project Clean, closing/opening the project, and closing/opening eclipse eventually sets it right. Jeff On Sat, Nov 19, 2011 at 10:23 PM, Mauricio Porras P mauricio.porra...@gmail.com wrote: I'm having this same issue, did you

Re: [appengine-java] Is BlobInfoFactory thread safe?

2011-11-20 Thread Jeff Schnitzer
Look at the source code. BlobInfoFactory only has one piece of member data, a DatastoreService. So if DS is thread-safe, so is BIF. I don't know if DS is thread-safe though. Jeff On Sat, Nov 19, 2011 at 9:20 AM, Marcel Overdijk marceloverd...@gmail.comwrote: Is BlobInfoFactory thread safe?

[appengine-java] Re: Which java framework to use?

2011-11-20 Thread sppl
Thanks for pointing me to backbone.js. I am also looking at knockout.js as well. On Nov 20, 12:00 pm, Chris ritterch...@gmail.com wrote: My suggestion: For datastore access use Objectify:http://code.google.com/p/objectify-appengine/ For your MVC framework go with AJAX/Javascript/HTML5 and

[appengine-java] Re: Which java framework to use?

2011-11-20 Thread sppl
Jeff, Thanks for your input. I looking into objectify for datastore access in my app. On Nov 20, 12:12 pm, Jeff Schnitzer j...@infohazard.org wrote: My favored stack right now: Objectify (I'm the lead developer, so this one was easy) Resteasy + Htmleasy + Guice, tightly integrated Cambridge

[appengine-java] Re: Which java framework to use?

2011-11-20 Thread Kb
GWT ! no one mentioned GWT : ( On Nov 20, 4:54 pm, sppl spol...@gmail.com wrote: I am starting off with a new project using app engine java. I am trying to decide what mvc framework to use. I went through previous messages posted by group members and found this

Re: [appengine-java] Which java framework to use?

2011-11-20 Thread Raphael André Bauer
On Sun, Nov 20, 2011 at 12:54 PM, sppl spol...@gmail.com wrote: I am starting off with a new project using app engine java. I am trying to decide what mvc framework to use. I went through previous messages posted by group members and found this link. I then narrowed down my choices to

[appengine-java] Show project: Neytap (classifieds)

2011-11-20 Thread Thomas Wiradikusuma
Hi guys, Last night I launched my pet project to public, www.neytap.com. It's a (very) simple classifieds for room rentals inside Facebook. It runs on GAE/Java and written in Scala, using just Servlet/JSP in the server. I tried Spring but given up. Other than that, it uses: Objectify,

Re: [appengine-java] Which java framework to use?

2011-11-20 Thread Guillaume Laforge
Hi, You might have a look at Gaelyk 1.1, which is quite lightweight: http://gaelyk.appspot.com/ In dev mode, you can make changes and just refresh your browser, it's got a simple MVC approach, and lots of shortcuts and syntax sugar to make the GAE SDK APIs easier to use. Guillaume PS:

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread trilok
Mr Wirtz, You have not read my response. All of the examples I have given are Google issues since they are presented in the system status. I do know when my system is down for my fault and when it is down on Google's fault. If you dive into the system status you will see that even by their

RE: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Brandon Wirtz
I read your response. I don't think you read the graphs you sent. For 45minutes they were at 30% errors. That only counts as 15 minutes of downtime. And since it appears that only polls once every 5 min or so I'm not sure what that means for SLA. You spoke of downtimes you had that weren't

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread trilok
Although I repeatedly asked you not to take this conversation to Who's fault is the downtime, you still do so! Again, my problem is that when it is Google's fault, there's no one to talk to - Can you argue anything relevant to this point please? Amazon had a week downtime, but THERE WAS SOMEONE

RE: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Brandon Wirtz
Yes. Because the thread is GAE team is dishonest If their honesty is in contention then who's fault your app is down is relevant. Yes I can have higher than 98.92 because not everyone was down during those times. Plus Edge Cache can serve up to 60% of my traffic for short periods of time, so

RE: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Brandon Wirtz
Oh, and as to destroying your thread. I don't expect that Greg and Ikai and Nick, and the rest of the Google team stopped reading the thread because I commented on it. I get the distinct impression that your Downtime was higher than stock because you had something misconfigured. I suspect that

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread trilok
Brandon, read my original post - the dishonesty is regarding the fact that one day they say that the service has disruption, and the next they show that they don't. Not who's fault is that my app is down. When I call support I want to know how long will it take them approximately to solve the

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread trilok
Oh, and you are not an Ass, a Troll, an Idiot. I respect your excellent ambition to 'protect the innocent'. I agree my subject line was inflammatory to get a response, which it got. I have nothing but respect to the GAE team (as I said again and again and again). I am sorry to tell you but I

[google-appengine] HRD migration / Severe Datastore admin failure

2011-11-20 Thread Marcel Manz
I was migrating one of my Java MS apps to HRD using the migration tool. So far so good. After having *copied*, tested and applied the switch to the HRD app, all went fine so far. Then however the horror starts to begin: 1. Instead of just disable billing and leave my MS app in some kind of

[google-appengine] managing number of frontend instances

2011-11-20 Thread Ron
Setting the idle instances is one of the recommended ways for managing the number of frontend instances. But if I've not got warmup requests switched on, will it make any difference if I switch it on and make the idle instances very small? Thanks Ron -- You received this message because you

Re: [google-appengine] HRD migration / Severe Datastore admin failure

2011-11-20 Thread Joshua Smith
Yikes! Lesson: After migration, disable billing on the M/S app, disable the M/S app. Don't delete anything. On Nov 20, 2011, at 6:41 AM, Marcel Manz wrote: I was migrating one of my Java MS apps to HRD using the migration tool. So far so good. After having copied, tested and applied the

[google-appengine] processing large file daily practical?

2011-11-20 Thread Plumo
hello, I want to download a large file and process it daily. Size is up to 100MB zipped, 1GB extracted, and processed output less than 1MB. I noticed the URL fetch response size quote is 32MB: http://code.google.com/appengine/docs/python/urlfetch/overview.html#Quotas_and_Limits

[google-appengine] Re: Google Bot Is Your enemy Part 2

2011-11-20 Thread Plumo
pity the Google Bot doesn't support Crawl-delay in robots.txt -- 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/-/68trxyxxuaMJ. To post to this group,

[google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread WallyDD
Could this be threatening behaviour? I'll let someone else decide. Both of you. Knock. It. Off. On Nov 20, 4:52 am, Brandon Wirtz drak...@digerat.com wrote: Calling the team dishonest.  Where I grew up calling someone a liar is the kind of thing that gets your nose bloodied. -- You

Re: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Yoav Amit
Excellent! Can I now plllease get someone at Google to comment on the transparency issue? Is there any chance that next time GAE is at a very elevated status, as seldom as that may occur, we the paying users can get a description of the problem and a rough estimate of how long

Re: [google-appengine] Re: Datastore Write Operations is 16x more of other operations

2011-11-20 Thread Kenneth
I can certainly see forcing you to decide by not providing a default, that makes you to think about it. Defaulting to off doesn't force you to do anything, it just swings the balance to cost is more important than functionality. I suspect you're going to be getting a lot of novices who are

[google-appengine] Re: Cached Requests

2011-11-20 Thread bFlood
thank you brandon, great info! On Nov 19, 8:06 pm, Brandon Wirtz drak...@digerat.com wrote: Now that it has been up for a few hours. Cache hit rate would be a lot higher but this app serves a lot of search queries which are Robo-Generated if that traffic were ignored we'd be sailing along at

[google-appengine] Want my money back, What should I do?

2011-11-20 Thread Kaan Soral
As soon as the new billing rolled out, I made the necessary changes to switch to 2.7 with concurrency and launched my new version. But because of the bugs I had to roll back to a version with 2.5 on it. (Here is a fatal bug: http://code.google.com/p/googleappengine/issues/detail?id=6282 ) (As

[google-appengine] Why is the Email Service so unreliable

2011-11-20 Thread Jeff Gager
I have written an app that sends email notifications to it's users under some circumstances. Sometimes it works, other times it doesn't. The code doesn't change and I am using the same small set of emails addresses to send and receive emails so I can't see what I am doing wrong. When it fails I

[google-appengine] Why is the Email Service so unreliable

2011-11-20 Thread Jeff Gager
I have written an app that sends email notifications to it's users under some circumstances. Sometimes it works, other times it doesn't. The code doesn't change and I am using the same small set of emails addresses to send and receive emails so I can't see what I am doing wrong. When it fails I

Re: [google-appengine] Why is the Email Service so unreliable

2011-11-20 Thread Leandro Rezende
i have the same problem. i just give up looking for a solution. i hope this problem does not happen when i change my application to the billling status. 2011/11/20 Jeff Gager jeffga...@gmail.com I have written an app that sends email notifications to it's users under some circumstances.

[google-appengine] Re: Cached Requests

2011-11-20 Thread vlad
Can we get a confirmation from GAE team on this information? I know they do not want to touch caching issue...But many developers are interested and it would be the worst outcome if we go on second hand information which might be bogus through no fault of Brandon's. -- You received this

[google-appengine] 1.6 on Linux64: The rdbms API is not available because the MySQLdb library could not be loaded

2011-11-20 Thread Bob Hancock
I'm using version 1.6 on Ubuntu 64 with the Go version. When I attempt to start dev_appserver.py I receive the error below. I have /usr/share/pyshared/MySQLdb /usr/lib/pymodules/python2.6/MySQLdb /usr/lib/pymodules/python2.7/MySQLdb in my path just to be sure. What is causing this? WARNING

[google-appengine] Memcache doesn't work

2011-11-20 Thread Jamil Rzayev
Hi. I have to use memcache to store some values frequently accessible by application I am working on. The Google App Engine Memcache doesn't work as it apparently removes values after a couple of minutes I store it at memcache. I really need any idea and would highly appreciate for any comments.

RE: [google-appengine] Re: Cached Requests

2011-11-20 Thread Brandon Wirtz
I'm pessimistic that even if we got information that it would STAY accurate. Caching has worked, and then not worked, and then worked again. The best thing I can tell you. If you set cache headers to 5 minutes (300) Things will get cached. Pages we had set this way have always worked.

Re: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Gregory D'alesandre
Hi Yoav, I don't feel this thread hasn't been hijacked, but I'm not sure what your question is at this point. We typically do post an update when there is a system-wide issue and we typically do a post-mortem as well. So if you question is Can we post something when there are system-wide

RE: [google-appengine] Memcache doesn't work

2011-11-20 Thread Brandon Wirtz
Memcache is just a cache. Your values have no guarantee of being there even 1micro second after you did the write. If you post your code we might be able to help, but I assure you Memcache does work. My app does reads from the datastore or memcache for every request, sometimes to for

[google-appengine] Google please respond - Frequent backends shutdowns

2011-11-20 Thread Andrius A
Hello, I have different backends running as B1 and B2, they all are closing frequently at the same time, 2-3 times per day. Can someone please from Google let me know if this is going to happen all the time or this is a temporary? Would be grateful for your response. Thank you, Andrius --

[google-appengine] Google please response - higher rate of deadline exceeded errors for warmup requests

2011-11-20 Thread Andrius A
Hello, I am experiencing higher rate of deadline exceeded errors for the last two days. As this was fine recently I cannot find where is the problem. Can please someone from Google explain why sometimes warmups will work fine and sometimes they will fail and why for the last two days error rate

[google-appengine] Two entries in billing history for the same day, one with charges and inflated hours, what is going on ?

2011-11-20 Thread Tim Hoffman
Hi I just recieved a bill (admittedly small) for the 2011-11-20. In my billing in history I have in fact two entries for that day, and in fact for the same time. One has billable hours of 117 and the other 16.7 This has never happened before (that many hours used and two entries in the

[google-appengine] Re: Two entries in billing history for the same day, one with charges and inflated hours, what is going on ?

2011-11-20 Thread Tim Hoffman
Actually on closer examination there is no period assigned to the bill and I can assume its for the most recent billing event. Serious lack of information going on here -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion

RE: [google-appengine] Two entries in billing history for the same day, one with charges and inflated hours, what is going on ?

2011-11-20 Thread Brandon Wirtz
If you saw my post on Google Bot consuming 85k page views in a day seemingly out of the blue, Yes I have seen hours jump even when traffic in Analytics don't. Google Just switched to Google Wallet I got lots of micro bills when that happened. (Like 30 charges under 30 cents) which was part of

Re: [google-appengine] Two entries in billing history for the same day, one with charges and inflated hours, what is going on ?

2011-11-20 Thread Tim Hoffman
Actually I am stupid, I just realized that the actual charge is for the minimum billing spend. They are just inflating the used hours in the statement for some reason, which through me off. That shouldn't be necessary, they should just rely on the minimum spend line item. Also the billing

Re: [google-appengine] Cached Requests

2011-11-20 Thread Stephen
Updated the tracking bug with this info: http://code.google.com/p/googleappengine/issues/detail?id=2258 -- 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

[google-appengine] Using RAM instead of datastore - any limits?

2011-11-20 Thread ThePiachu
My application relies on accessing a lot of simple stored data and displaying it. I'm considering storing all data in the RAM of the application in order not to have problems with datastore access quotas, but I'm not sure if there are any limits of how much data can be stored this way. Is

Re: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Andrius A
Hi Greg, can you please provide more information on you recent statement: The reason that the status site says the number that it does is because it includes M/S and HRD apps so it is showing uptime for apps not under SLA. Does that mean that premier accounts get better uptime? Thank you,

RE: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Brandon Wirtz
No. It means that all the OLD M/S apps bring down the average. (aka if you care about uptime don't use M/S) Premiere grants you support, AND if you have 300 apps instead of paying the per app minimum fee you pay for usage so if you have 300 apps that would cost $2 a month instead of the $10 a

[google-appengine] Re: Using RAM instead of datastore - any limits?

2011-11-20 Thread JH
You get 128 megs of ram for front end instances. Also, so far my experience says that py 2.7 uses quite a bit more ram just to run hello world. On Nov 20, 5:58 pm, ThePiachu thepia...@gmail.com wrote: My application relies on accessing a lot of simple stored data and displaying it. I'm

Re: [google-appengine] 1.6 on Linux64: The rdbms API is not available because the MySQLdb library could not be loaded

2011-11-20 Thread Anbarasan Gangadaran
Bob, Check if you are able to do `*import MyQLdb*` directly in python console without errors. I too had the same problem, but on windows. When i got the error in dev_appserver.py, I went to check if MySQLdb is available in python. I tried to do a `*import MySQLdb*` from python console it

[google-appengine] Re: XG Transactions and development server

2011-11-20 Thread PK
To close this thread, It turns out that XG transactions are not turned on automatically; it is controlled per transaction and an API has to be called first to do this. This is explained in the documentation but I had missed it, sorry... After I turned the XG on, things work as expected on the

[google-appengine] calling use_library(), still getting warnings about default django version

2011-11-20 Thread Mark Ivey
I'm using python and webapp. My code calls use_library() but I'm still getting these warnings in my logs: You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call use_library() to explicitly select a Django

[google-appengine] 80 seconds to import blobstore?

2011-11-20 Thread Mark Ivey
Since Nov. 8 my app has started getting DeadlineExceededErrors. The requests that are doing this are spending 60-80 seconds _and aren't even finishing imports_. I've included both an example stacktrace and the relevant lines of my python code at the bottom. As you can see, it took 80 seconds to

Re: [google-appengine] calling use_library(), still getting warnings about default django version

2011-11-20 Thread Sandeep Koduri
Are h using 'python27 On Nov 21, 2011 9:21 AM, Mark Ivey zov...@gmail.com wrote: I'm using python and webapp. My code calls use_library() but I'm still getting these warnings in my logs: You are using the default Django version (0.96). The default Django version will change in an App Engine

RE: [google-appengine] Re: Using RAM instead of datastore - any limits?

2011-11-20 Thread Brandon Wirtz
You get an amount of ram close to but not always equal to 128M or ram PER instance. Python 2.7 uses more memory for Hello World, and less for most operations. They both use the same for storing things like Data Caches. You can use the local instance in addition to data store. Not instead.

RE: [google-appengine] Want my money back, What should I do?

2011-11-20 Thread Brandon Wirtz
Did you use the services you were billed for? Were you given warnings that the billing changes were coming? Did you accept the $50 that GAE gave early adopters? (I don't think I did) If you answered yes to the first one, You don't really deserve your money back. If you answered yes

[google-appengine] Google App Engine (AppSpot) for iOS

2011-11-20 Thread Michael Leip
Hello, I am a new iOS developer and I was wondering if anyone could please help me find a walk-through-guide for implementing GAE on my iOS game apps. I want to be able to change the splash screen when you start the app and change the games listed in my more screen. Plus to be able to track how

RE: [google-appengine] Cached Requests

2011-11-20 Thread Brandon Wirtz
You could have considered giving me a citation... I mean... If you are going to steal my comments spelling errors and all. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Stephen Sent: Sunday, November 20, 2011 3:58 PM

[google-appengine] Re: Cached Requests

2011-11-20 Thread WallyDD
He did cite it, there is a link to this very discussion. On Nov 20, 11:35 pm, Brandon Wirtz drak...@digerat.com wrote: You could have considered giving me a citation...  I mean... If you are going to steal my comments spelling errors and all. -Original Message- From:

[google-appengine] WTF, got charged for $2.10 unexpectedly!

2011-11-20 Thread Frank DU
WTF! Without any pre-notification, got charged for $2.10. What the fukcing the company is doing now? Crazily charging us for everything?! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

RE: [google-appengine] WTF, got charged for $2.10 unexpectedly!

2011-11-20 Thread Brandon Wirtz
That's the 1 week price for an always on or minimum billing enabled app. The dashboard has been telling us this for weeks. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Frank DU Sent: Sunday, November 20, 2011 9:08 PM To:

Re: [google-appengine] Datastore Read Operations and IN clause

2011-11-20 Thread Amy Unruh
Pablo, An 'IN' operator is implemented as a set of queries, one for each item in the list, and so the cost will be for the set. (You can see this reflected in appstats). -Amy On Sun, Nov 20, 2011 at 6:59 PM, Pablo Castilla pablo.casti...@gmail.comwrote: Hello, I would like to know the

Re: [google-appengine] Fetching the results of async queries

2011-11-20 Thread Amy Unruh
hi, Query.run() only pre-fetches asynchronously as time allows; when you access the iterator it fetches results as needed. You should not see fewer results using run()-- and I was not able to reproduce your issue with a test app. You might double check that your queries are the same in both

Re: [google-appengine] Re: Google App Engine's Team Dishonesty

2011-11-20 Thread Marcel Manz
I would suggest that Google splits the current availability percentage in the system status into two values. One related to applications using MS, the other related to applications using HR. A single value for the hole system somehow doesn't make sense, as this number won't be accurate to

[google-appengine] Re: frequent spinups of instances, very high frontend instance usage

2011-11-20 Thread Tapir
Yes, this problem is very annoying. I think it is a defect even a bug in the instance scheduler. Below is mail I sent to GAE support, without replies. The problem is the scheduler often will not use an instance in idling. * This problem is so serious.

[google-appengine] Re: Idle Instances and Pending Latency

2011-11-20 Thread Tapir
In my experience, max idle instance is useless, it is even make situations worse. mix idle instance works. yes, which means more money works. On Nov 20, 10:04 am, Brandon Wirtz drak...@digerat.com wrote: Setting your max idle instances and your pending latency is hard, and it requires you do