Speed limit on the performance of certain external requests?
Let's say there is a multiplayer engine, some parts of which may have something to parse from the outside by the user. I would like to limit the speed of certain external requests for some users.
Interested in using any server side technologies that can be implemented — possibly through nginx or apache or UNIX utilities as it is possible to limit certain requests? Or need to pass these requests through samopisny utility and there, at the system level trim speed? How to do it better? To finish something is not a problem, I would like to understand the theory. Task, I think, clear.
Now thought out the architecture of the web application, so which scripting language will be written the engine, I think, is not important. Say yet in PHP.