In my experience with the Python remote API it’s never really been a problem.
@nickbauman my understanding is that remoteapi only talks to gae services, not app servlets.
so it will always work. services never time out.
The python remote API executes your python code locally on the remote app ID instance.
So anything you can do in your app, you can do with the remote API.
Things like interacting with the DataStore will be very slow, though. Because the calls have to go from your computer to the cloud then to DataStore.
i think it's the same for java. but local code has nothing to do with servlets running on gae. am i missing sth?
🤷 not sure.
you can write local code to do anything, using remoteapi, i guess. but remoteapi calls do not use your app servlets, i think.
huh interesting
so wrt to running a clojure repl in the gae cloud, remoteapi is a whole 'nother thing.
Yeah
With python you just fire up an iPython interpreter and it just works. Ironically, you can even do this with your Java project. It’s just that you can’t really call the java code from Python.
if you run a "manual" instance, it will never die, but even then you must guarantee gae will not spin up another instance. i dunno if that's possible. my conclusion is that runnig an embedde repl in a gae servlet prolly wont't work.
ok but wven in python, do remoteali calls talk to instances?
in ha
in java, you can do cmd line stuff to e.g. manipulate the datastore, but it does not go thru your app servlets, at least that's my understansing.