ChrisR
ChrisR

Reputation: 1096

Google App Engine: a single backend service/module?

How does one have a simple backend module/service/backend (or whatever they decide to call it in the future since they seem to use all three interchangeably) on GAE? I need zero endpoints and no web server: I have an app that reads stuff from an endpoint and I want to store that in a database. This is not a cron job, imagine this as a while(1){do_stuff()}.

I am woefully confused at the GAE tutorials, which I've been reading for over three hours now. I'm just shocked at how bad the documentation is: there is a ton of information but not a single working example (e.g. the .yaml files of the config file document are incomplete and don't work out of the box).

Upvotes: 0

Views: 52

Answers (1)

Frank Wilson
Frank Wilson

Reputation: 3250

Have you considered using a module with manual scaling? You could map /_ah/start to a handler that does your loop. Unlike with automatic scaling your loop can continue for up to 24 hours.

Upvotes: 1

Related Questions