Poni
Poni

Reputation: 11317

app engine dynamically run code in a backend

Currently a user initiate an action, then a task is being queued and my code is being executed.

I want to allow the option to use a backend instead of a task.

What would be the best approach?

If I set one backend named "ExtraPower" to be dynamic with 1 instance, then... what? What should I do to activate it (with certain parameters)? Which URL should I call excatly?

Alternatively I read I can use the Pull queue, which is fine, but then again, how do I tell that backend to go and lease a task to process?

Upvotes: 0

Views: 314

Answers (1)

Nick Johnson
Nick Johnson

Reputation: 101139

You can enqueue a regular (push queue) task against a backend. How to do that is described here.

Upvotes: 1

Related Questions