I need to send out emails at a rate exceeding App Engine's free email quota (8 emails/minute). I'm planning to use a TaskQueue to queue the emails, but I wondered: is there already a library or Python module I could use to automate this? It seems like the kind of problem someone might have run into before.
...
Hi i've searched the App Engine Groups but couldn't find a definitive solution.
I want to put 1000 entities into my App Engine Server (Production Server), but I get timeout errors and also 500 Server errors. It worked perfectly in local development.
To reduce the Put load, I made the code sleep for 5 seconds after every 10 puts. I stil...
Was wondering if I'm unconsciously using the Put method in my last line of code ( Please have a look). Thanks.
class User(db.Model):
name = db.StringProperty()
total_points = db.IntegerProperty()
points_activity_1 = db.IntegerProperty(default=100)
points_activity_2 = db.IntegerProperty(default=200)
def calculate_total_points(...
Hey guys;
I have a url which leads to in image. How do i grab this image from this url into my servlet? NOTE: the web-app is deployed on google app engine.
java.net.URL myURL = "http://a3.twimg.com/profile_images/150131301/slogo4_normal.jpg";
//code to grab the image
Thank you
...
So I've read all the RMDB vs BigTable debates
I tried to model a simple game class using BigTable concepts.
Goals : Provide very fast reads and considerably easy writes
Scenario: I have 500,000 user entities in my User model. My user sees a user statistics at the top of his/her game page (think of a status bar like in Mafia Wars), so...
Hello friends,
I am java geek.
And i have started writing a blog (using wordpress ).
But blog customization is pain as PHP is not my thing.
And also I want to make it part of my website.. like login/session/etc should work out of box..
I know Pebble , but it does not support Google App Engine[GAE]. As it writes data to XML files.
Does ...
I was wondering if it was possible to FTP/SFTP a file from a Google App Engine application's servlet to a remote FTP/SFTP server. Or maybe by creating a Task on the TaskQueue... Has anyone got this?
The GAE's documentation says that "bytecode that attempts to open a socket or write to a file will throw a runtime exception"
Thank you fo...
I am working on a java project on Google app engine and when I go to admin I am not able to edit the entities. I can view them though. I am on windows xp and developing in eclipse. Let me know if you need any more info to help me make these entities editable.
http://localhost:8080/%5Fah/admin/datastore?kind=User
Edit: I have instal...
My app needs to do many datastore operations on each request. I'd like to run them in parallel to get better response times.
For datastore updates I'm doing batch puts so they all happen asynchronously which saves many milliseconds. App Engine allows up to 500 entities to be updated in parallel.
But I haven't found a built-in functio...
Google itself provides two solutions.
http://code.google.com/appengine/docs/python/tools/uploadingdata.html
One of these is new and experimental and requires you to run a separate command (and separately enter your username and password) for each kind of data you want to back up.
The other requires you to twice write out information o...
Hi all, am wondering if I'm doing this right.
I want to split a huge py file into ten .py files ( or controllers, if you
will). The reason being it's neat, and doesn't contain thousands of code lines in one single file.
Every .py file will have its own request handler.
Each .py file will serve a certain function.
(the questions c...
Hello, I have a question about splitting up a main.py file.
right now, I have everything in my main.py. I have no other .py files. And I always have to scroll long lines of code before reaching the section I wish to edit.
How do I split it up?
(i'm going to have more than 20 pages, so that means the main.py will be HUGE if I don't spl...
Just wondering... why does Google app engine recognize "special" string data types such as Link, Email, PhoneNumber, PostalAddress and such? They seem to be simple text types, and don't even have any helper methods which would, for example, extract host/port information from Link.
What design decision would warrant such a distinction?
...
(Sorry, noob question:) Is it possible to create a webapp on Google App Engine which can only be accessed by a single user? I'm thinking of a simple task management app for private usage.
Yes, I've already looked this up on the GAE docs, but I don't really understand what their domain based authentication system means.
Thanks in advanc...
so my idea is pretty simple. But I don't know where to start.
develop a simple RESTful API on my app engine server using the simple webapp framework.
there will be two kinds of clients:
1. Normal pc users access the facebook application, and this will directly place API calls to my app engine server.
( Please note, that the facebook a...
Hi There,
I have registered a domain example.com using dreamhost, and currently have a standard wordpress blog set up on www.example.com. I'd like to have appengine.example.com point to my Google Appengine application, but am having some difficulty doing so. At the moment, appengine.example.com just points to my normal directory on the ...
I'm trying to persist a one-to-many owned relationship with bidirectional navigation in gae using jdo.
I manually add the Contact to User class, and I would expect that in the end the contact will have a reference to the parent User class.
If I configure this manually before i persist the parent i get an exception at org.datanucleus....
Hi, I was wondering what would be the best way to implement undirected graphs (and hence graph traversal) on Google App Engine. I'm currently storing edges in the database as a list, i.e.
class Relation(db.Model):
connect = db.ListProperty(str, required=True)
but this is notoriously inefficient.
I'm aware of the directed graph qu...
I'm trying to use Guice to inject properties of a JSF managed bean. This is all running on Google App Engine (which may or may not be important)
I've followed the instructions here:
http://code.google.com/docreader/#p=google-guice&s=google-guice&t=GoogleAppEngine
One problem is in the first step. I can't subclass the Servlet...
I'm using app engine (Java) datastore API to build a project. I'm not using JDO/JPA but low level API.
How can I set multiple values for an entity property? I can find documentation about how to do so when using JDO or JPA (using Lists) but can't find that info for low level API.
Thanks.
...