google-app-engine

Google bigtable-storagecapacity

I know how to create table in Google Bigtable. How much data can I store while staying within the free quota? ...

How to I retrieve an image from a URL and store it as a Blob in Java (google app engine)

I understand how to fetch a URL text page and loop over the results URL url = new URL(this.url); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String line; while ((line = reader.readLine()) != null) { .... How would I do this to fetch an image and store it as a Blob? ...

Requesting a JavaScript property in Python (GAE)

Hello again! I'm currently making an iphone web app based on Google App Engine (python). I need to check if the user is browsing not trough safari but by the home screen. I can check this with an read-only 'window.navigator.standalone' Boolean JavaScript property as read on :http://developer.apple.com/safari/library/documentation/AppleA...

How do you do a 'like' query in appengine JPA?

I know there is a limited version of a LIKE query in the App engine's datastore where you can only search on the end of a string but I can't seem to find the syntax. I want to do something like this SELECT * FROM MyTable WHERE name LIKE ji% ...

Google App Engine - About how much quota does a single datastore put use?

The latency for a datastore put is about 150ms - http://code.google.com/status/appengine/detail/datastore/2010/03/11#ae-trust-detail-datastore-put-latency. About how much CPUTime is used by a single datastore put with data size of 100 bytes, into an entity that has only 1 property, and no indexes? Also, does anyone know about how much...

Python appengine Query does not work when using a variable.

Hi, I am trying to use a fetcher method to retrieve items from my datastore. If I use the following def getItem(item_id): q = Item.all() q.filter("itemid = ", item_id) It fails because nothing is returned. If I hard code in an item like def getItem(item_id): q = Item.all() q.filter("itemid = ", 9000) it fetches j...

Text to a PNG on App Engine (Python)

Note: I am cross-posting this from App Engine group because I got no answers there. As part of my site about Japan, I have a feature where the user can get a large PNG for use as desktop background that shows the user's name in Japanese. After switching my site hosting entirely to App Engine, I removed this particular feature because...

How to deregister a CRON job in AppEngine?

I registered a cron job in the google appengine. It runs fine. Since I deleted the whole content of the app, I want this job to not run anymore. I don't know how to do it. ...

error in fetching url data

from google.appengine.ext import webapp from google.appengine.ext.webapp import util from google.appengine.ext import db from google.appengine.api import urlfetch class TrakHtml(db.Model): hawb = db.StringProperty(required=False) htmlData = db.TextProperty() class MainHandler(webapp.RequestHandler): def get(self): Traks = lis...

What's a good Wiki that works on Google App Engine

Hi, I'm interested in using Google App Engine to host a wiki. I've already seen the question here: http://stackoverflow.com/questions/478760/what-cms-runs-on-google-app-engine about what's a good cms. That's really too broad for me. On my LAMP server I run dokuwiki and I'd really like something akin for the GAppEngine. Anyone know of so...

Python decoding issue with hashlib.digest() method

Hello StackOverflow community, Using Google App Engine, I wrote a keyToSha256() method within a model class (extending db.Model) : class Car(db.Model): def keyToSha256(self): keyhash = hashlib.sha256(str(self.key())).digest() return keyhash When displaying the output (ultimately within a Django template), I get ga...

Anyone have experience with AppScale?

I just found this project which provides a way of running Google App Engine projects on your own server cluster. http://code.google.com/p/appscale/ It looks really interesting, has anyone had any experience using it? ...

In Google App Engine, what is the simplest way to keep a record of items that you have put into memcache?

I am starting to use memcache more frequently to avoid having to recalculate things between page requests. When the memcache periodically clears, as it is designed to do, I have to start all over rebuilding various items that I have placed in memcache. What I would like to do is create a very simple model that enables me to periodically ...

Tools to work with App Engine data dumps

Using the bulkloader.py utility you can download all data from your application's Datastore. It is not obvious how the data is stored, however. From the looks of it, you get a SQLite file with all data in binary format in a single table: sqlite> .tables bulkloader_database_signature result sqlite> .schema result CREATE TABLE resul...

GAE/J remote_api ?

The server part of the Remote API that App Engine uses can be installed in the Java version as well, so that you can use for example the bulkloader.py utility to backup data. But is there also a Java client for accessing this API (or is that only available for Python)? ...

GAE, JDO, count() doesn't work ?

On GAE with Spring/JDO after saving 2 entities (in transaction). On calling getById - entities fetched from data storage. On calling getCount() returns "0" and - on calling getAll() - returns empty collection. @Override public Long getCount() { return ((Integer) getJdoTemplate().execute(new JdoCallback() { @Override public Obj...

Extending appengine's db.Property with caching

I'm looking to implement a property class for appengine, very similar to the existing db.ReferenceProperty. I am implementing my own version because I want some other default return values. My question is, how do I make the property remember its returned value, so that the datastore query is only performed the first time the property is ...

Creating a session scoped bean in Google App Engine using Spring 2.5

Hi, I am trying to create a session bean in spring mvc. I am having the following error message when I run my google app engine server in my local box: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteController' defined in ServletContext resource [/WEB-INF/springapp-servlet.xml]: Cannot res...

What is the performance hit of enabling sessions on Google App Engine?

What is the performance hit of enabling sessions on the Google App Engine? I just turned on <sessions-enabled>true</sessions-enabled> in my Google App Engine app and now my requests are consistently using 100 more ms of CPU time than before I enabled it. It also makes the user wait an additional 100ms for the server to respond on eac...

Google App Engine - Does the non-main version of an App not receive as many resources?

I'm doing performance tests on my app engine app. I'm doing it on the non main version of my app. Do loading requests take longer for the non main version of an app? ...