[google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Alexis
I have not read in details previous posts but would like to share some figures on this subject. I agree that setting max idle to automatic is very expensive, in my case I adjusted the scheduler to get an acceptable balance between latency and price. In order to do so, I've downloaded logs from the

[google-appengine] Re: Over quota exception even though plenty of quota is available?

2011-10-14 Thread Alexis
I've already got these exceptions too, while running mapreduce. I "fixed" this by reducing the rate at which workers were executed. Here are the issue's details: http://code.google.com/p/googleappengine/issues/detail?id=5608 -- You received this message because you are subscribed to the Google G

[google-appengine] Google Cloud SQL

2011-10-14 Thread Bruce Aloe
Hello, I am a user of GAE data store and use GQL to query my models. I just saw the article about Google Cloud SQL published on October 6, 2011. Since GQL has so many limitations, therefore Google Cloud SQL sounds quite interesting for me. Where can i use it and how to use it? Any tutorial?

RE: [google-appengine] Google Cloud SQL

2011-10-14 Thread Brandon Wirtz
What limitations? If you are writing your own code I think GQL is superior to SQL, it is only if you need to use code written for SQL that it makes sense. It is free and you have to be a trusted tester, search the archive there are directions that one of the Googlers posted to this list. -

[google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Emlyn
These are my first thoughts about approaching threaded python 2.7 apps. Please critique this, I could be totally wrong here! And I don't want to be wrong. Thanks in advance. Hello, dummy here. I'm just beginning my first experiments with python 2.7 apps, using "threadsafe: true". But I'm a

[google-appengine] Need help tracking "datastore transaction or write too big" warnings

2011-10-14 Thread Pol
Hi, With some clients of our system, we're getting some "datastore transaction or write too big" exceptions on transaction commits. The requests takes 1mn and the process even exceeds the soft size limit and gets killed, so it's pretty bad. What are we hitting there? A maximum serialized entity s

[google-appengine] Re: Need help tracking "datastore transaction or write too big" warnings

2011-10-14 Thread Simon Knott
The maximum size of an individual entity is 1MB for the datastore - http://code.google.com/appengine/docs/java/datastore/overview.html#Quotas_and_Limits Apart from that limit, I'm not sure what write limits there are for the datastore for an individual transaction. -- You received this message

Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-14 Thread Deepak Singh
Me too. Faced this problem today and also GAE 1.5.5 seems to ignore its extended timeout of 6 and works with default 5 sec. Pls google let us know if it comes to your maintainance time or anything else which affects the gae behaviour. Thanks Deepak On Fri, Oct 14, 2011 at 10:12 AM, Rishi Aror

[google-appengine] Re: Google Cloud SQL

2011-10-14 Thread voscausa
I agree. GQL is superior from a performance perspective. You can understand what is going on under the hoord. Switching from SQL to GQL you have to rethink your model : denormalizing it. The benifits (performance and scaleability) are great and it feels good too. At the end working with GQL is

Re: [google-appengine] X-AppEngine-City

2011-10-14 Thread Chris Collins
Brandon, How much would you charge to provide a REST api that takes in an IP address and spits out the 2-alpha country code (same as x-appengine-country) along with a best guess for the city name? Also, would you be able to guarantee a reasonable time window (a few months?) before discontinuing y

Re: [google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Will
Alexis, Where can I find and download the said logs? Thanks, Will On Fri, Oct 14, 2011 at 1:30 AM, Alexis wrote: > I have not read in details previous posts but would like to share some > figures on this subject. > I agree that setting max idle to automatic is very expensive, in my > case I ad

[google-appengine] Mail Question

2011-10-14 Thread Joshua Smith
One of my testers sent me the attached capture of the welcome message my app sent them. Their reaction was that the gobledegook after "via" made them think there was something fishy about this email, and it might not be safe to follow the link. I don't blame them. Is there a way to NOT have th

[google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Alexis
Hi Will, I used an appcfg.py command, like this: appcfg.py --num_days=1 --append --include_all request_logs myAppLogs.txt On 14 oct, 17:47, Will wrote: > Alexis, > > Where can I find and download the said logs? > > Thanks, > > Will > > > > > > > > On Fri, Oct 14, 2011 at 1:30 AM, Alexis wrot

RE: [google-appengine] X-AppEngine-City

2011-10-14 Thread Brandon Wirtz
You have a sense of the volume? Would you prefer a monthly Sub, or a per X IP's looked up? To be fast I'd likely have an always on instance. That is going to put the pricing at $10 a month minimum. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Beh

Re: [google-appengine] Deadline exceeded on urlfetch calls this afternoon.

2011-10-14 Thread Will Reiher
I can confirm that it wasn't only UPS fetches. I had a intermittent failures when urlfetching small images from AmazonS3 as well. -- 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.goog

[google-appengine] How to get the path of file/blob in GAE?

2011-10-14 Thread Alexander Herrera
In my application i have to upload a file to google docs, but to accomplish that i need upload the file to GAE an then to Google docs, but when the file is in GAE (blob) how can i retrieve the path where the file is ? , i need the path because in the API of google documents, is necessary pass th

[google-appengine] Google Apps "Aliases" vs. "Active" Domains & Linking to GAE

2011-10-14 Thread Ryan Galloway
I have a single Google Apps account and have several other domains, which I have either aliased to my primary domain, or added as an additional domain on the same account (for reasons of managing groups and users separately without having to maintain separate Google Apps accounts, which is nice)

[google-appengine] Local datastore (local_db.bin) is wiped out

2011-10-14 Thread Michael P
My apology if it's a known or documented issue/feature. I have a GAE(java)/GWT setup on Windows Vista/Eclipse Helios and just upgraded to 1.5.5. In addition to that I cleared Windows Temp folder and installed the latest Windows updates (it obviously may be unrelated). On a first launch after upgr

Re: [google-appengine] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2011-10-14 Thread Ryan Galloway
Hi Nick, This works for me, too. But I'm wondering why it doesn't work for "active" domains that are added with the option: *Add another domain* Manage users and groups at an associated domain that you own, independently of the primary domain e.g. if my Google Apps control panel, I see: domai

Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-14 Thread Kent
Brian, Not to be discouraging the great work the GAE team is doing but it does strike me a little odd that there has been a whole bunch of announcements under the AppEngine 1.5.5 SDK banner ... but that the SDK doesn't actually work with Python 2.7 or webapp2 It's not just that the lack of pyt

[google-appengine] Custom domain app requesting permission to access Google Account

2011-10-14 Thread stefano terna
I refer here to that page you are redirected after you login to GAE app with your google account, which asks your permission to access your google account. Put this toghether with custom domain and https and you get my problem. My configuration: - developed myapp.appspot.com - configured

[google-appengine] Copyright of App Engine Logo?

2011-10-14 Thread stephanos
I was wondering if I am allowed to put the App Engine Logo on a business card? I only found branding statements for the Android logo ... Cheers! Stephanos -- You received this message because y

[google-appengine] Re: BlobStoreService.createUploadUrl(String url) problem

2011-10-14 Thread Krzysztof
I've found a solution here: http://stackoverflow.com/questions/7476420/gwt-blobstore-error-calling-createuploadurl Just use your computer name in dev mode instead of 127.0.0.1. In FF you will be asked for adding this name to GWT dev plugin automaticly and in Chrome you must do it yourself (as it i

[google-appengine] How to implement downtime for my Java app

2011-10-14 Thread Arvind Rao
Hello there I have a Java-based app hosted on GAE. I want to schedule daily downtime for my app to clean up the datastore. a) Is there any way I can bring down the app (i.e. stop serving requests from users and cron jobs), so that I can do a manual clean up using the Datastore Viewer or Admin

[google-appengine] Re: calling out the app engine team on ssl for custom domains

2011-10-14 Thread Louis Le Coeur
1.5.5 SDK release and still no mention of SSL whatsoever... It seems now certain that we won't have it by the end of the year. And it's starting to get really frustrating, at a time where browser support is ubiquitous enough for an SNI-only solution. When I see all of their other announcements,

[google-appengine] GAE Instances - should they last longer?

2011-10-14 Thread GAE_fan
I'm seeing that the GAE instances of my application only last a few minutes or a few thousands requests, consuming each around 40MBytes. 1. Is this normal? 2. Am I paying a performance penalty because of these relaunches? (or maybe more $ once the new pricing takes place?) 3. Anyone else seei

[google-appengine] Help for Error occurred during start of application server

2011-10-14 Thread Mahesh Sale
I have done the steps for deploying my cloud application (python) suggested in http://oreilly.com/web-services/excerpts/9780596800697/run-google-app-linux.html#starting_the_application_server-id003. But i incurred following error. mahesh@mahesh-Aspire-4720Z:~$ dev_appserver.py ae-01-trivial/ Tra

[google-appengine] Re: HttpSession session timeout and lastAccessedTime

2011-10-14 Thread Christopher
I managed to fix this, and I have a feeling that the session.setMaxInactiveInterval() method was not saving properly across requests. As soon as I added the config to the web.xml, everything started working fine. On Oct 13, 5:42 pm, Christopher wrote: > I'm having strange problems with session t

[google-appengine] Re: redirect workaround for issue 777

2011-10-14 Thread SamLehNet
Hi Niklas, Google's own (Apps) redirection servers at addresses 216.239.36.21, 216.239.38.21, 216.239.32.21, 216.239.34.21 work exactly as you said. But that's just the problem. I'm currently using those and therefore my url redirection service is suffering a bit. To fix the issue simply send you

[google-appengine] Re: redirect workaround for issue 777

2011-10-14 Thread SamLehNet
Hi Niklas, Google's own (Apps) redirection servers at addresses 216.239.36.21, 216.239.38.21, 216.239.32.21, 216.239.34.21 work exactly as you said. But that's just the problem. I'm currently using those and therefore my url redirection service is suffering a bit. To fix the issue simply send you

[google-appengine] Re: redirect workaround for issue 777

2011-10-14 Thread Sami Lehtinen
I'm new to Google Groups so let's see if this message is a dupe. Because posting is just lagging. Instead of pointing your naked domain to Google's redirector, just point it to 174.129.25.170 and it'll solve your problem. On Oct 8, 11:59 am, Niklas Rosencrantz wrote: > Hello > My domain can do w

[google-appengine] Re: Local datastore (local_db.bin) is wiped out

2011-10-14 Thread Michael P
There is also a similar thread on GAE java group: http://groups.google.com/group/google-appengine-java/browse_thread/thread/2e95788ff97472de#. -- 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-appen

Re: [google-appengine] X-AppEngine-City

2011-10-14 Thread Chris Collins
It's a seasonal app(s). The volume would need to be about 5,000-10,000 requests per day for high season. On off-seasons (e.g. winter months), it would drop to around 100 requests per day. What would be the difference in terms of monthly sub vs per-IP for that kind of volume? On Fri, Oct 14, 2011

Re: [google-appengine] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2011-10-14 Thread Jeff Schnitzer
On Tue, Aug 17, 2010 at 3:43 AM, Nick Johnson (Google) wrote: > When you want to add a domain that is an alias domain to your app, you need Be *very* careful about using domain aliases! Let's say you create a thriving little business on xyz.com and decide to sell it. The process of "de-aliasing

[google-appengine] Re: Need help tracking "datastore transaction or write too big" warnings

2011-10-14 Thread Pol
Can anyone comment from Google comment on this 2nd point: write limits on entire transaction? Our entities are 4KB on average so I'm trying to track down what's happening but debugging on the server in a live product is really not trivial. On Oct 14, 12:25 pm, Simon Knott wrote: > The maximum siz

Re: [google-appengine] Re: Need help tracking "datastore transaction or write too big" warnings

2011-10-14 Thread Timofey Koolin
if you use XG (cross group) transactions - you can use no more than 5 entity groups in transaction. 2011/10/14 Pol > Can anyone comment from Google comment on this 2nd point: write limits > on entire transaction? Our entities are 4KB on average so I'm trying > to track down what's happening but

RE: [google-appengine] Copyright of App Engine Logo?

2011-10-14 Thread Brandon Wirtz
I am not a lawyer, use your best judgment when reading: http://www.google.com/permissions/guidelines.html Don't display a Google Brand Feature in any manner that implies a relationship or affiliation with, sponsorship, or endorsement by Google, or that can be reasonably interpreted to suggest

RE: [google-appengine] Copyright of App Engine Logo?

2011-10-14 Thread Brandon Wirtz
Also be aware. The First Logo on your Card adds 5HP, each additional Logo Subtracts 10. That may be for cars, not cards. I often mix those up. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of stephanos Sent: Friday, October 14, 2011 6:10 AM To

Re: [google-appengine] How to implement downtime for my Java app

2011-10-14 Thread Timofey Koolin
I see 2 ways: 1. create "empty" version for your application with return "OK" (or other text) for any request and do not do any else. For dowtime you will make "empty" as default version, than return your usual version. 2. Make any property such as "downtime" in memcache & db and check it for every

[google-appengine] Re: X-AppEngine-City

2011-10-14 Thread JH
Have you seen: http://freegeoip.net/static/index.html or http://ipinfodb.com/ On Oct 14, 12:54 pm, Chris Collins wrote: > It's a seasonal app(s). The volume would need to be about 5,000-10,000 > requests per day for high season. On off-seasons (e.g. winter months), it > would drop to around 100

[google-appengine] Re: How to implement downtime for my Java app

2011-10-14 Thread Christopher
You should be able to create a Filter (extend javax.servlet.Filter) which you then add to the web.xml. It will pass you the request/ response objects before the servlet/services are invoked to handle them. Using this you can filter out most responses to return a maintenance page, but allow certain

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
Where is the image attached? I cannot see where it would be here. You might try uploading the image to an image hosting site and post the URL here. On Oct 14, 12:01 pm, Joshua Smith wrote: > One of my testers sent me the attached capture of the welcome message my app > sent them. > > Their react

Re: [google-appengine] Mail Question

2011-10-14 Thread Joshua Smith
Hmmm. I got the attachment. I guess google groups are inconsistent. It was a picture of a gmail inbox. It looks like this: supp...@q--e.com via m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com to me show details 4:05 PM (9 minutes ago) (I've hidden the email domain with -- char

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
We send a lot of emails and haven't had this issue. Can you give an example of how you are using the API? On Oct 14, 4:19 pm, Joshua Smith wrote: > Hmmm.  I got the attachment.  I guess google groups are inconsistent. > > It was a picture of a gmail inbox. It looks like this: > > supp...@q---

Re: [google-appengine] Mail Question

2011-10-14 Thread Joshua Smith
Take a look at one of the emails you send to a gmail account (in the web browser gmail interface). I suspect you will see this junk. I never noticed this before because my mail program doesn't show this junk (although it is there in the message if I view raw headers). My call is simple as can

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
I see the long garbage as the field in the Return-Path field of the email, but I have to turn on "Show all headers" in order to see this. We use the Java SDK but is pretty much the same. Maybe it has to do with what the plain/rich strings look like. Is the rich field proper html? Message msg = new

Re: [google-appengine] Re: Mail Question

2011-10-14 Thread Joshua Smith
I'm guessing that you are not using the gmail web interface (since there is no "show all headers" button there). Could you have a look at one of your emails in gmail, and confirm/deny that it is electing to expose this garbage to the user? Interesting point about the HTML. My HTML does not incl

[google-appengine] Re: Mail Question

2011-10-14 Thread Christopher
I see what you're saying. GMail displays the Return-Path info as part of the message. I'm not sure if there is anything you could do about that. If anything, you might have to specify a header field on the email that would indicate not to display this info or something. You could try setting the Re

[google-appengine] Re: BulkUploader

2011-10-14 Thread mikeee
I found this video to be pretty helpful along with the documentation here: http://www.youtube.com/watch?v=4XBqdu8dYE8 Docs are here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html On Oct 11, 3:16 pm, Kb wrote: > I am using GWT+GAE for app . > > How can i use Bulkuploader

Re: [google-appengine] Re: Local datastore (local_db.bin) is wiped out

2011-10-14 Thread Ikai Lan (Google)
If you need the data, if you downgrade the SDK, you should be able to access the data so you can export it to reimport. We've seen this before with version switches. More likely than not, it's related to the fact that the datastore stub (local_db.bin) is just a serialized Java object. When we try t

Re: [google-appengine] GAE Instances - should they last longer?

2011-10-14 Thread Ikai Lan (Google)
No, you will not be paying a price penalty. The only performance penalty may be that every once in a while, a user sees a loading request. This is fairly normal. Instance are meant to be short lived. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai

Re: [google-appengine] Re: Google Cloud SQL

2011-10-14 Thread Ikai Lan (Google)
Thanks Robert and Brandon! I was really concerned that making Cloud SQL available would cause people to try to fit everything into a SQL peg instead of trying to think what the best persistence model is. SQL is really good for some things, but so is the datastore. I think the true sweet spot for a

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Ikai Lan (Google)
Yep, your thinking here is correct! Be careful when using global memory as a cache, though. Instances are capped at 128mb of memory, and if you exceed that, your instance will be killed. This could lead to instance thrashing. [On another note: congrats, you got me to read a long email ;).] -- Ika

Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-14 Thread Brian Quinlan
Hi Kent, Looking at the Python 2.7 documentation you might have gotten the impression that it was rushed. That is because it was rushed and not documenting the lack of dev appserver support was one of several omissions. As of yesterday, every Python 2.7 documentation page and the release notes co

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Anand Mistry
If you are using instance caching, you can use the runtime API (http://code.google.com/appengine/docs/python/backends/runtimeapi.html) to look up your instance memory usage in order to control your cache size. -- You received this message because you are subscribed to the Google Groups "Google

[google-appengine] Re: How to implement downtime for my Java app

2011-10-14 Thread nischalshetty
Just curious, is there a particular reason why you decided to clean up the database everyday rather than letting the data stay? -- 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

Re: [google-appengine] Mysterious Basic Auth Appearance

2011-10-14 Thread Joshua Smith
It is! That's why I found this so bizarre. My current theories are: 1) Godaddy screwed up the naked domain forward. It isn't screwed up now, but perhaps they had a transient issue. 2) She was behind a DNS proxy that was doing something funny. Either way, I'm hoping that by putting the www. on

Re: [google-appengine] bulkloader performance in development

2011-10-14 Thread Ikai Lan (Google)
Mike, can't you open up the SQLite database and insert using that instead of going through the bulkloader? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Oct 12, 2011 at 12:15 PM, mikeee wrote: > Hi all - > > I posted in the python app-e

Re: [google-appengine] Re: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-14 Thread Will
Alexis, Works like a charm. Wrote a program using the data to get a good overall picture. Thanks! Will On Fri, Oct 14, 2011 at 9:13 AM, Alexis wrote: > Hi Will, > > I used an appcfg.py command, like this: > > appcfg.py --num_days=1 --append --include_all request_logs your app root directory> m

Re: [google-appengine] Live editing of an appspot instance's files

2011-10-14 Thread Ikai Lan (Google)
Surprisingly, I can sympathize with crazy requirements, having been there myself. There's no live edit functionality, but you can do a lot of testing in your browser's developer tools. Try to separate out your code into testable units so you minimize the code that needs to be tested between deploys

Re: [google-appengine] Reading and Writing files using App Engine

2011-10-14 Thread Ikai Lan (Google)
You probably want to read all the docs of App Engine first. There's no filesystem access. You don't worry about nodes. It's all handled for you. Instead of saving to files, you save binary data to the datastore or the blobstore via the APIs. -- Ikai Lan Developer Programs Engineer, Google App Engi

Re: [google-appengine] un-Verification for App Creation

2011-10-14 Thread Ikai Lan (Google)
Fill out this form: https://*appengine*.google.com/*waitlist*/sms_issues -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Mon, Oct 10, 2011 at 2:23 PM, Stuart Wheater wrote: > Is it possible to unvalidate an account for app creation? > > It app

Re: [google-appengine] Re: X-AppEngine-City

2011-10-14 Thread Chris Collins
JH, That's perfect! Thanks! I guess I'll go with that. Sorry Brandon. - Chris On Fri, Oct 14, 2011 at 8:40 PM, JH wrote: > Have you seen: > http://freegeoip.net/static/index.html > > or > > http://ipinfodb.com/ > > On Oct 14, 12:54 pm, Chris Collins wrote: > > It's a seasonal app(s). The vol

RE: [google-appengine] Re: X-AppEngine-City

2011-10-14 Thread Brandon Wirtz
Don't be. I really didn't want to have to support something ;-) From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Chris Collins Sent: Friday, October 14, 2011 5:37 PM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Re: X-App

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Emlyn
On 15 October 2011 09:12, Ikai Lan (Google) wrote: > Yep, your thinking here is correct! Be careful when using global memory as a > cache, though. Instances are capped at 128mb of memory, and if you exceed > that, your instance will be killed. This could lead to instance thrashing. > [On another n

Re: [google-appengine] Re: X-AppEngine-City

2011-10-14 Thread GordonHo
hi chris, perhaps the maxmind webapi would be another solution. i've not tried ipinfodb, but i am using maxmind on several projects (webapi and local db). the webapi works quite well for me when caching results locally for a short time. when using the webapi i've sometimes put in the local db as

[google-appengine] Re: How to implement downtime for my Java app

2011-10-14 Thread Arvind Rao
great, thanks all for your suggestions! @nischal, it's a new app and i'm still sorting out some kinks, often get some bad data in there. since it's non-critical, i prefer to wipe out everything. http://tradinghyp.appspot.com/multiplayer http://tradinghyp.blogspot.com/ -- You received this mes

Re: [google-appengine] Threaded Python AppEngine for Dummies

2011-10-14 Thread Emlyn
I've posted a modified version of my original post here as a blog post. Multi-threaded Python 2.7 WTFAQ? http://appenginedevelopment.blogspot.com/2011/10/multi-threaded-python-27-wtfaq.html -- Emlyn http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google Buzz posts, comments and

Re: [google-appengine] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2011-10-14 Thread Prashant
+1 On Sat, Oct 15, 2011 at 12:29 AM, Jeff Schnitzer wrote: > On Tue, Aug 17, 2010 at 3:43 AM, Nick Johnson (Google) > wrote: > > When you want to add a domain that is an alias domain to your app, you > need > > Be *very* careful about using domain aliases! > > Let's say you create a thriving lit