19.11.2014, 18:40
SA-MP Developers aren't(Or at least, they shouldn't) increase the number of max players to retrieve information from.
It will result in connection lag, packet loss, and other problems(depending on the target machine upload connection speed).
35KB per request(example, for 1000 players), 50 times per second, will result in arround 1.7MB/s transfer.
If you're doing something like a website with every sa-mp server, with the current players connected, name and score, and so on, there will be way more than 50 connections per second.
Now, imagine the uplink used to handle all of these requests per second, in the target machine.
If the target machine has just 100Mbit/s up/down speed,with the players I gave the example above, it would start lagging with just 50 connections per second(well, it would lag with just ~350 players connected, I think, but that's not the cause here, I'm just giving a example)
You can't just think "I want to retrieve every player information", you need to think as well in the target machine, network connection, and other factors.
Which you're not thinking, and "playing" with.
So, leave the idea of "increasing the query limit", it isn't going to work well, as well, it will be abused.
If I wrote anything wrong above, please let me know, I'm not a network specialist.
It will result in connection lag, packet loss, and other problems(depending on the target machine upload connection speed).
35KB per request(example, for 1000 players), 50 times per second, will result in arround 1.7MB/s transfer.
If you're doing something like a website with every sa-mp server, with the current players connected, name and score, and so on, there will be way more than 50 connections per second.
Now, imagine the uplink used to handle all of these requests per second, in the target machine.
If the target machine has just 100Mbit/s up/down speed,with the players I gave the example above, it would start lagging with just 50 connections per second(well, it would lag with just ~350 players connected, I think, but that's not the cause here, I'm just giving a example)
You can't just think "I want to retrieve every player information", you need to think as well in the target machine, network connection, and other factors.
Which you're not thinking, and "playing" with.
So, leave the idea of "increasing the query limit", it isn't going to work well, as well, it will be abused.
If I wrote anything wrong above, please let me know, I'm not a network specialist.