问题
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