Asynchronous Programming - How to elegantly solve the problem of interaction between Nginx and back-end third-party services?
滿天的星座
滿天的星座 2017-05-16 17:23:15
0
1
516

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?

滿天的星座
滿天的星座

reply all(1)
Ty80

ngx-lua.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!