最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

server - How to queue API requests with PHP in WordPress?

programmeradmin3浏览0评论

I'm developing a plugin to manage some simple custom APIs. I'd like to handle clients requests to APIs with a queue, so as not to handle all requests in parallel but one at a time, with a FIFO logic: when one request has been satisfied, the next one in the queue is processed and so on ...

I tried to use the Pheanstalk library but the server responds with error 500, as a development environment I am using Devilbox, how should I configure the container to be able to use this library correctly? And what requirements should the server have in production?

Any different solution to manage APIs requests via a queue?

发布评论

评论列表(0)

  1. 暂无评论