Speed limit on the performance of certain external requests?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
25 views
Hello!

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.


UPD:

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 | 25 views

1 Answer

0 like 0 dislike
The question is not very clear, I will try to teleportirovat:)
\r
You also probably have a gradation with a fixed speed:
user role A — speed 100Kb
user with role B — speed 200Kb
\r
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.
by

Related questions

110,608 questions
257,186 answers
0 comments
27,849 users