[appengine-java] Re: How to Limit/Slow Down Task Queue Execution

2012-01-06 Thread andrew
The problem with a cron every 30 seconds is that it will fire, and start up instances if you have none running - or extra instances if you have one busy - even where there is no work to be done. Maybe you have this non-time-critical work to be done once a day (as is my case also) and you don't

[appengine-java] Re: How to Limit/Slow Down Task Queue Execution

2012-01-06 Thread andrew
You might want to look into the algorithm for scheduling workers, as mentioned here http://code.google.com/appengine/docs/java/config/queue.html#Queue_Definitions bucket-size (push queues only) Task queues use a token bucket algorithm for dequeueing tasks. The bucket size limits how fast the

[appengine-java] Re: Channel API reconnect after token timeout

2012-01-06 Thread Joseph McMullin
Hey, I am also experiencing this problem. Trying to reconnect from the client side after the token expiries with no luck. I'm using the gwt-gae-channel library on client side. I was just wondering if you have found a solution to this problem? Thanks Joe -- You received this message because

[appengine-java] Re: Channel API reconnect after token timeout

2012-01-06 Thread Daniel Florey
I've received a reasonable workaround from Google Enterprise Support: You can use a timer on the client side to renew the token before it expires. This will work somehow... -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

[appengine-java] Re: ImagesServiceFactory Composite not honoring PNG transparency

2012-01-06 Thread mikaye
I'd like to add the following addendum to my post. The images composite as expected if instead of trying to composite them in GAE, I instead composite them in the browser using HTML5 canvas code. I have assumed that since several of these images are in the 750K range that I need to composite

Re: [appengine-java] DataStoreFactory

2012-01-06 Thread Ikai Lan (Google)
No, these should be part of the App Engine SDK. Are you using the Eclipse plugin? When you create a new Web Application Project these are already included. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Jan 5, 2012 at 2:13 AM, SAS

[appengine-java] Re: Channel API reconnect after token timeout

2012-01-06 Thread Joe McMullin
Hey, I am also experiencing this problem. Trying to reconnect from the client side after the token expiries with no luck, I'm using the gwt-gae-channel library on client side. I was just wondering if you have found a solution to this problem? Thanks Joe -- You received this message

[appengine-java] Learning JDO for AppEngine

2012-01-06 Thread John Goche
Hello, I have found the following tutorial on the JDO which is used in AppEngine http://code.google.com/appengine/docs/java/datastore/jdo/ but would like a somewhat more in-depth step-by-step resource on JDO. I was wondering, given it was published in 2003 when JDO 2.0 was not yet out and

[appengine-java] Newbie Question: Error Connecting to Server

2012-01-06 Thread Eclipse Developer
Hello community, I'm currently following the instructions in the getting started section of a href=http://code.google.com/appengine/docs/java/ gettingstarted/creating.htmlcreating a Java Project/a. When I run the project, I get this Error Message: img src=http://

[google-appengine] ChannelAPI and different versions

2012-01-06 Thread Andrin von Rechenberg
Hey there If have to versions of my app deployed hot (production) and try (staging) I've noticed that if I can not send a message from the hot version to the try version using the ChannelAPI. That's fine with me. But what happens if hot is default and then I switch the default to try? Can the

[google-appengine] Just Showing Off

2012-01-06 Thread Brandon Wirtz
http://community.blackwatermodels.com/ Is a recent build we did. It runs in a kind of weird hybrid mode. Much of the site is PHP, the images are served off of CDN IN A BOX (cdninabox.com). The user information is stored in DataStore accessed via HTTP requests (rather than SQL). We did this

Re: [google-appengine] Re: Cost of mapreduce was $6,500 to update a ListProperty on 14.1 million entities

2012-01-06 Thread Andrin von Rechenberg
I find Google's posted solution quite suboptimal as it is too expensive (http://code.google.com/apis/maps/articles/geospatial.html) There is a simple trick to get rid of this problem. Instead of indexing all geocells in a StringListProperty you only index the most detailed cell: instead of [7,

Re: [google-appengine] Just Showing Off

2012-01-06 Thread Andrin von Rechenberg
If you guys are still looking for a perfect MMM (mermaid-model) you could probably book one here: http://community.blackwatermodels.com/bwirtz Maybe if we all pay together we would finally get that picture we would hate to have burned in our minds but always wanted. Cheers, -A On Fri, Jan 6,

RE: [google-appengine] Just Showing Off

2012-01-06 Thread Brandon Wirtz
My model Booking rate if awfully high, and I only do implied nude. If you want images with out body hair you have to pay for the esthetician. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Andrin von Rechenberg Sent: Friday, January 06, 2012

Re: [google-appengine] Re: Fatal: Wrong mime-type in CSS responses

2012-01-06 Thread Mos
Hi Ikai, the problem occurs in all browsers (I tested Firefox, Chrome and IE). All browsers get a mime-type of null. Firefox is able to interpret the stylesheet nevertheless. IE and Chrome fail and the site is destroyed. Since yesterday I have a version of my application that still has the

Re: [google-appengine] Re: vijayp on migration of partychat from GAE to EC2/GAE-hybrid; from $20/day expense to $1/day

2012-01-06 Thread Leandro Rezende
run as u can =P 2012/1/5 Shane Elbo shane.e...@new5s.com I've just started to learn about GAE. Should I go for this strategy instead of full rely on GAE? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the

Re: [google-appengine] Re: vijayp on migration of partychat from GAE to EC2/GAE-hybrid; from $20/day expense to $1/day

2012-01-06 Thread Andrin von Rechenberg
One other interesting thought is that people often justify the higher price with the stability of GAE and that Google takes care of running your system and you dont have to carry a pager. The flaw with this justification is, that if my app would cost $50'000 a month on AppEngine and $20'000

Re: [google-appengine] Outgoing bandwidth explosion

2012-01-06 Thread Andrin von Rechenberg
Maybe you have user uploaded hot-linked images that are served from blobstore? Do you have any UGC? For an evil guy there is nothing more interesting than hosting porn images on the blazing fast GAE infrastructure with you paying for it. I really wish one could disabling hot linking of blobstore

Re: [google-appengine] Re: Caching datastore gets in memcache, worth it?

2012-01-06 Thread Andrin von Rechenberg
True, but there is also CPU overhead for the two rpcs. On Jan 5, 2012 6:02 PM, Jason Collins jason.a.coll...@gmail.com wrote: There is still $$ difference. Memcache is (or appears to be) free, datastore reads are not. j On Jan 5, 8:01 am, Andrin von Rechenberg and...@miumeet.com wrote: Hey

[google-appengine] Instance Gets Resized?

2012-01-06 Thread Brandon Wirtz
I changed the size of my instances on an app from F1 to F2, two hours ago, but instances shows that the same instance has been alive for 8 hours. Does this mean that the instance resized? If this is the case why do we spin up more instances rather than resizing my instances? I'd rather have 1

[google-appengine] Android AccountManager and GAE app with OpenID Federated Login

2012-01-06 Thread Rishi Arora
Does anyone have any experience with authenticating an Android App with a GAE app configured for OpenID/Federated Login? I currently do this with my GAE app configured with Google Accounts API (mostly based on Nick Johnson's blog here:

[google-appengine] Re: Cost of mapreduce was $6,500 to update a ListProperty on 14.1 million entities

2012-01-06 Thread Richard Watson
What if you had the gps data as children of each entry and then used a keys-only query to match, and then fetch the parents. I forget the technique's name, maybe someone else remembers. The benefit is that when you need to edit gps coords you leave the parent alone. Data in the parent isn't

Re: [google-appengine] Instance Gets Resized?

2012-01-06 Thread Jon McAlister
For python25, the change for cpu and memory is immediate. For java, the change for cpu is immediate but not memory. For python27, the change for memory is immediate but not cpu. For the cases where the change is not immediate, I mean that the change does not apply until new instances are turned

[google-appengine] Re: Outgoing bandwidth explosion

2012-01-06 Thread n8gray
No, nothing like that. The app is a backend for an iPhone game that doesn't use blobstore or allow uploads at all. Thanks, -Nathan On Jan 6, 4:38 am, Andrin von Rechenberg and...@miumeet.com wrote: Maybe you have user uploaded hot-linked images that are served from blobstore? Do you have any

[google-appengine] Recent Changes? Frontend spiking $$$

2012-01-06 Thread Sean Kovacs
Starting today, it seems the front-end instance hours are adding up quicker than before. Since the pricing switch months ago, I would typically get charged 1 cent for overages on front-end instance hours (maybe like 25-26 hr a day). Well, I blew out my budge of 50 cent within a couple hours since

[google-appengine] Re: Outgoing bandwidth explosion

2012-01-06 Thread Sean Kovacs
Nathan - I think there is some random issues going on with GAE. I'm having my front end instance hours blow up like crazy today - similar to your bandwidth. Nothing has changed in months - average usage for it was $.01/day. Now it could go to many dollars a day if I let it. -- You received

[google-appengine] NDB release 0.9.5 is out

2012-01-06 Thread Guido van Rossum
I have released NDB 0.9.5. Please give it a try. I plan to include this version into the next App Engine SDK (1.6.2, due out later this month). About NDB: NDB is a new, experimental Python client library for the App Engine datastore. It is fully open source. I am looking for feedback and

[google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ricardo Bánffy
Hi folks. Is there a way around the not allowed to create anymore apps;reached app creation limit? message when you are trying to migrate an app to HRD? BTW, is there a way to keep the app id? -- Ricardo Bánffy http://www.dieblinkenlights.com http://twitter.com/rbanffy -- You received this

Re: [google-appengine] Re: Cost of mapreduce was $6,500 to update a ListProperty on 14.1 million entities

2012-01-06 Thread Jeff Schnitzer
On Fri, Jan 6, 2012 at 7:47 AM, Richard Watson richard.wat...@gmail.com wrote: What if you had the gps data as children of each entry and then used a keys-only query to match, and then fetch the parents. I forget the technique's name, maybe someone else remembers.  The benefit is that when you

Re: [google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ikai Lan (Google)
Migrating to HRD using the new migration tool will create an alias, so requests to the old app ID should go to the new one. You do still have to create a new application ID, however. I've allocated a few more app IDs for your account. The current policy is that you can have up to 10 free

Re: [google-appengine] [Python] Threadsafe or not?

2012-01-06 Thread Kaan Soral
Like I mentioned in my post, I've enabled threadsafe, so you can deduct that I am on 2.7 I have also tried F4 instances today, but although I had 12 instances when I checked, QPS values was around 3-5 and memory was around 90's on all instances (max 256 but all instances were using 80-90) So

Re: [google-appengine] Re: vijayp on migration of partychat from GAE to EC2/GAE-hybrid; from $20/day expense to $1/day

2012-01-06 Thread Ikai Lan (Google)
Andrin, that's a totally fair argument, and one that we are always talking about. I think there are ways we can make GAE can provide value, but the key is for us to think about value, not price. If we obsess about price per megabyte of bandwidth, we're losing sight of our goal of enabling

[google-appengine] Re: [Python] Threadsafe or not?

2012-01-06 Thread Kaan Soral
To be clear, I think we are highly overcharged -- 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/-/jj0328MFUN0J. To post to this group, send email to

Re: [google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ricardo Bánffy
Thanks, Ikai. I'm migrating them now. On Fri, Jan 6, 2012 at 6:11 PM, Ikai Lan (Google) ika...@google.com wrote: Migrating to HRD using the new migration tool will create an alias, so requests to the old app ID should go to the new one. You do still have to create a new application ID,

[google-appengine] can I disable billing on M/S project after migration

2012-01-06 Thread philburk
I migrated my project from the M/S datastore to the HR datastore. I am now getting billed for both the old and new projects. Can I safely disable billing on the old M/S datastore project? It is under the free quota. I am worried because the old M/S project is aliased in mysterious ways to the new

Re: [google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ricardo Bánffy
Will the aliases remain forever or will the -hrd ids be eventually replaced by the original ones? Also, a couple apps were never deployed - they are just names. Is it possible to change them to HRD apps without going through the migration tool? 2012/1/6 Ricardo Bánffy rban...@gmail.com: Thanks,

Re: [google-appengine] Re: Why do custom indexes require single-property indexes?

2012-01-06 Thread Harshad RJ
It's like setUnindexedProperty is being interpreted as not only don't set single-property indexes, but also don't include the property in any custom indexes. That's correct [...] any unindexed properties are ignored for the purposes of all indexing, not just for built-in indexes. Is

[google-appengine] Uploading a pdf saved on Blobstore to Google Docs

2012-01-06 Thread Iaco86
Hi, I wrote a web app for a university course, thanks to which users could upload file (pdfs mainly, no bigger than 10 Mb) on the blobstore. Then users could choose to sync those docs with their Google Docs account. This worked fine till Google deprecated the old upload method, forcing to use the

[google-appengine] Issue with removed application

2012-01-06 Thread Fabio Sirna
Hi there, I've an issue about an old application I did for test. I deleted it from the dashboard, but it is still accessibile on the web: wwwfabiosirnacom.appspot.com. I want to definitevely delete it but I can't see this application in my dashboard. ANyone can suggest me hot to proceed in order

[google-appengine] Re: Cost of mapreduce was $6,500 to update a ListProperty on 14.1 million entities

2012-01-06 Thread George
Corey, Did you guys consider something along the lines of SimpleGeo to outsource your spatial stuff? Is there a political or philosophical reason to keep everything inside of GAE? -- George On Jan 5, 3:24 pm, Corey [Firespotter] co...@firespotter.com wrote: I work with Petey on this and can

[google-appengine] Delete entities not really working in Datastore Admin

2012-01-06 Thread redjava
I use datastore admin to delete all of my entities, and after the operation, the datastore viewer shows that all entities are disappeared and replaced by _AE_DatastoreAdmin_Operation Entities However, the quota shows that the amount of stored data doesn't decrease at all, and then from datastore

Re: [google-appengine] can I disable billing on M/S project after migration

2012-01-06 Thread Ricardo Bánffy
I disabled one of my original m/s apps after migration and have a pending deletion on another. We'll know for sure in 72 hours. On Fri, Jan 6, 2012 at 6:55 PM, philburk burkp...@gmail.com wrote: I migrated my project from the M/S datastore to the HR datastore. I am now getting billed for both

Re: [google-appengine] can I disable billing on M/S project after migration

2012-01-06 Thread Barry Hunter
Google says you can delete the old application once migrated https://groups.google.com/group/google-appengine/browse_thread/thread/f8ebdec55c5e06c4/328173122cc9edfd?lnk=gstq=hrd++delete+app#328173122cc9edfd (I think those issues where with cron tasks still running on the old - even disabled app

Re: [google-appengine] can I disable billing on M/S project after migration

2012-01-06 Thread Ikai Lan (Google)
Yes, you can disable billing on the old application and delete it. Remember to disable billing first. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Jan 6, 2012 at 1:46 PM, Barry Hunter barrybhun...@gmail.com wrote: Google says you can

Re: [google-appengine] [Python] Threadsafe or not?

2012-01-06 Thread Brian Quinlan
On Sat, Jan 7, 2012 at 7:19 AM, Kaan Soral kaanso...@gmail.com wrote: Like I mentioned in my post, I've enabled threadsafe, so you can deduct that I am on 2.7 Actually, you can set threadsafe: yes in Python 2.5 as well so that would not be a safe assumption. There are know issues with using

[google-appengine] Re: Cost of mapreduce was $6,500 to update a ListProperty on 14.1 million entities

2012-01-06 Thread Corey
Wow! Thanks very much to everyone who posted suggestions and to those who sent me direct replies. First, please let me say that I believe it's in Google's best interest and my company's for us to keep core portions of our application in AppEngine. Furthermore, given the amount of investment we

[google-appengine] Request count?

2012-01-06 Thread Brandon Wirtz
When there was a quota limit for it, there was a number of requests counter. Is there some way to get that number still? I was interested in calculating the cost per request and couldn't really find it. Analytics doesn't work because bots don't count in them, and a single page might be 100

[google-appengine] function save from numpy works, but not savez

2012-01-06 Thread redjava
To save large numpy array, one way is to create a StringIO, call save() to compress the array and save it as Blob This method works fine with save(), but not with savez(). Instead it will raise NotImplementedError: Only tempfile.TemporaryFile is available for use -- You received this message

Re: [google-appengine] function save from numpy works, but not savez

2012-01-06 Thread Brian Quinlan
Hi, On Sat, Jan 7, 2012 at 12:43 PM, redjava redj...@gmail.com wrote: To save large numpy array, one way is to create a StringIO, call save() to compress the array and save it as Blob This method works fine with save(), but not with savez(). Instead it will raise NotImplementedError: Only

[google-appengine] Re: Request count?

2012-01-06 Thread Mike Wesner
Quota Details page, first item listed. On Jan 6, 6:13 pm, Brandon Wirtz drak...@digerat.com wrote: When there was a quota limit for it, there was a number of requests counter. Is there some way to get that number still?  I was interested in calculating the cost per request and couldn't

[google-appengine] Re: Cost of mapreduce was $6,500 to update a ListProperty on 14.1 million entities

2012-01-06 Thread blackpawn
I'm in the same boat and glad to hear I'm not alone! It's way too expensive to delete things right now, it makes me afraid to add any more data to GAE. :-/ On Jan 5, 11:57 pm, Yohan yohan.lau...@gmail.com wrote: Hi, I feel your pain. it cost me a few thousand dollars to delete my millions

[google-appengine] Programmatic authentication to application with federated login in Java

2012-01-06 Thread Martin Dvorak
I switched my application from 'Google Accounts API' authentication to 'Federated Login'. My application has a REST-style interface and therefore I need to authenticate programmatically. It seems that it's not that easy: