简体   繁体   English

如何在Google App Engine上进行异步?

[英]How to do async on Google App Engine?

What are all the ways to run asynchronous threads on Google App Engine (for Java)? 在Google App Engine(适用于Java)上运行异步线程的所有方式有哪些? I can think of one - but I want to know all of them/ 我能想到一个-但我想知道所有的人/

There's no way to start an asynchronous thread directly, but each request will have its own thread and you can make many, many asynchronous requests! 无法直接启动异步线程,但是每个请求都有自己的线程,您可以发出很多异步请求!

There are at least four ways to make requests: 至少有四种方式发出请求:

  • With the UrlFetch api 使用UrlFetch API
  • With task queues 带有任务队列
  • With cron 与cron
  • With requests from clients or other servers 来自客户端或其他服务器的请求
  • With Background Threads started in Backends 后台启动后台线程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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