Laravel Nginx Every Second Request Handle

浪尽此生 提交于 2021-01-29 07:04:08

问题


i want to ask about the request handle

The case is, if server receive the same post request or the same key parameter, the request is on hold first or stored until there are no more requests for 5 seconds or a certain condition. and after that the request is processed to the database

So from the client site send post every second, but server don't need to process it to the database every second, just the most recent request

Has anyone ever known about such needs, using what methods, maybe what packages or tools are needed? I use laravel, nginx, mariadb

thank you,

来源:https://stackoverflow.com/questions/63681173/laravel-nginx-every-second-request-handle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!