简体   繁体   中英

How do I integrate google app engine, taks queue and google compute engine?

I been trying to understand how I can setup the follow architecture on Google's cloud:

  • Google app engine receives HTTP request
  • Google app engine queues a pull task as a result of the HTTP request
  • The task is received by a auto scaling google compute engine instance group

Google图表:体系结构:数字资产管理和共享 Are there solutions that someone can point me to how to setup a auto scaling task pull task queue handler? Each of my tasks will take approximately a minute to process I estimate.

GCE has a new feature called autoscaler that you can use to automatically scale a group of GCE instances, the documentation is here GCE Autoscaler . It should work well for this use case.

There's also a REST API for pull queues where you can pull from outside of app engine Pull Queue . That will let you pull tasks from the queue using compute engine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM