Update API Samp
#9

Quote:
Originally Posted by Clivlend
Посмотреть сообщение
Why? Maybe, developers help.
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.
Reply


Messages In This Thread
Update API Samp - by Clivlend - 19.11.2014, 16:22
Re: Update API Samp - by Baboon - 19.11.2014, 16:24
Re: Update API Samp - by Sergei - 19.11.2014, 16:36
Re: Update API Samp - by GWMPT - 19.11.2014, 16:58
Re: Update API Samp - by Clivlend - 19.11.2014, 17:06
Re: Update API Samp - by GWMPT - 19.11.2014, 17:08
Re: Update API Samp - by Clivlend - 19.11.2014, 17:58
Re: Update API Samp - by renegade334 - 19.11.2014, 18:00
Re: Update API Samp - by GWMPT - 19.11.2014, 18:40
Re : Update API Samp - by Nicow - 19.11.2014, 19:31

Forum Jump:


Users browsing this thread: 2 Guest(s)