Home  >  Q&A  >  body text

Asynchronous Programming - How to elegantly solve the problem of interaction between Nginx and back-end third-party services?

For example, if you want to develop an nginx module to process API, each API call process needs to interact with another back-end API server (not an HTTP server) several times, and the subsequent behavior will be determined based on the results of the interaction, so what? Is there an elegant asynchronous way to handle this situation?

滿天的星座滿天的星座2713 days ago520

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 17:25:15

    ngx-lua.

    reply
    0
  • Cancelreply