I'm not new to improving my cold start time, I've spent many hours trying different things. I'd like if possible to know exactly what the Google App Engine does during a cold start.
I have a log statement as described here http://code.google.com/intl/nl/appengine/kb/java.html#performance to show when my code first gets control.
I have...
I get this error sometimes.
Request was aborted after waiting too
long to attempt to service your
request. Most likely, this indicates
that you have reached your
simultaneous dynamic request limit.
This is almost always due to
excessively high latency in your app.
Please see
http://code.google.com/appengine/docs/quota...
Here is the situation: I had an app with a cold start time of about 4 seconds. I was trying to improve the cold start time by removing a bunch of libraries and code I didn't really need. After doing that the cold start time was about 3 seconds latency, and 3 seconds CPU time used.
I changed the version number in appengine-web.xml, and...
Here is my test: I access a servlet to get the JVM to load (absorb the loading request). Then i access a JSP that has <%= 5+7 %> in it and nothing else. The first access to this JSP uses 350ms of CPU time and has latency of 200ms. Subsequent accesses only have latency and cpu time of about 20ms.
Why does the first access to the jsp a...
I am currently in the planning stages of a game for google app engine, but cannot wrap my head around how I am going to handle AI. I intend to have persistant NPCs that will move about the map, but short of writing a program that generates the same XML requests I use to control player actions, than run it on another server I am stuck on...
Is there a way to delete unused indexes in Google App Engine Java application?
The only one way I was able to find is to create an empty Python GAE application and run the following command:
appcfg.py vacuum_indexes /path/to/myapp/
Is there a more intelligent way?
...
I'm working with JRuby and DataMapper running on Google AppEngine.
I want to add a property to the AppEngine::User like :active_calendar which is a reference to a Calendar kind. I was able to do something in Python this way using a back reference. Are these possible in JRuby?
Is this possible? Do I need to subclass the User? Can I even...
First off, I'm relatively new to Google App Engine, so I'm probably doing something silly.
Say I've got a model Foo:
class Foo(db.Model):
name = db.StringProperty()
I want to use name as a unique key for every Foo object. How is this done?
When I want to get a specific Foo object, I currently query the datastore for all Foo objects ...
If I develop with version 1.2.6 of the App Engine SDK, once I publish to production will my app still be using version 1.2.6 of all of the libraries on the production app engine? Or will it automatically use the latest version of the core app engine libraries?
...
I am trying to use JTidy on google app engine. In Eclipse, I add JTidy jar to the build path and add the jar again as the source attachment. When I make a tidy object it shows up as a org.w3c.tidy.Tidy. but when I run my app i get the error java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy. Am I not adding the jar correctly? Does JTi...
http://code.google.com/appengine/docs/python/tools/uploadingdata.html is not clearly understand. Where i should call the bulkloader.py or appcfg.py? Should i import the csv file to local Google App Engine SDK first? How to keep the upload and download data process in existing application for datastore synchronization?
...
I'm really new to programming... I set up a class to give supporting information for Google's User API user object. I store this info in the datastore using db.model.
When I call the okstatus method of my user_info class using this code:
elif user_info.okstatus(user):
self.response.out.write("user allowed")
I get this error:
un...
Over the connections that most people in the USA have in their homes, what is the approximate length of time to send a list of 200,000 integers from a client's browser to an internet sever (say Google app engine)? Does it change much if the data is sent from an iPhone?
How does the length of time increase as the size of the integer list...
any recommendation on which company providing scalable bosh hosting?
p/s: is there exist any scalable jabber server +bosh service using openfire?
...
I have about 50k entities stored in appengine. I am able to look up an individual record via the GQL admin interface with a query like:
SELECT * FROM Pet where __key__ = KEY( 'Pet','Fido')
But I'm having trouble figuring out how to do a batch version of this via JDO. Right now I have this:
PersistenceManager pm = ...;
for(...
One of my clients uses Trend Micro InterScan Messaging Security to protect their internal mail services.
Suddenly InterScan decided to filter out all messages coming from Google App Engine.
Unfortunately they haven't been able to whitelist the sender address as each e-mail gets a different one. For example, *3ckihSOVMMHlZHSL.JSMMHlZHSL...
I want to use XMPP to push data to my client which would translate to a notification for the user, and plan on using their google-id for login to my application. The way I understand XMPP is that its a simple message that goes directly to the adress, but I want the client to get it as instructions and turn it into gamestate information....
I want to run my unit tests for a Python Google App Engine project using
Run As => Python unit-test
But when I try that all my Model tests bail with the error message:
BadArgumentError: app must not be empty.
Anyone got this to work?
NB: The tests runs fine using Nose --with-gae. But I want the PyDev integration with hyperlinki...
I'd like to bypass some frequent queries by storing str(key) in memcache. When I get the encoded_key back from memcached, I can reconstruct the key with Key(encoded=encoded_key).
But how can I query the actual object from the key? A possibility would be to use
GqlQuery('SELECT * FROM ' + Key(encoded_key).kind() + \
' WHERE __key__ ...
I have a minifb app (technically gminifb) running on Google App Engine with a bunch of handlers for processing all kinds of requests from a Silverlight client. What's the recommended approach for adding the FB GET variables, such as fb_sig, to the HTTP requests?
I believe I can technically pass the session key and uid directly and get t...