Awesome q2a theme

Speed limit on the performance of certain external requests?

0 like 0 dislike

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.

For links also I would be very grateful.

Thank you.
by | 61 views

1 Answer

0 like 0 dislike
The question is not very clear, I will try to teleportirovat:)
You also probably have a gradation with a fixed speed:
user role A — speed 100Kb
user with role B — speed 200Kb
If so, then you can use a set of local proxies, each of which will be a restriction on the download speed. Squid for example it allows.

Related questions

110,608 questions
257,187 answers
40,796 users