简体   繁体   中英

How to do async on Google App Engine?

What are all the ways to run asynchronous threads on Google App Engine (for 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
  • With task queues
  • With cron
  • With requests from clients or other servers
  • With Background Threads started in Backends

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