开发者

app engine dynamically run code in a backend

开发者 https://www.devze.com 2023-03-26 15:23 出处:网络
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.

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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消