Posts: 5
Threads: 2
Joined: Jul 2017
Reputation:
0
Hey. I'm from the Russian segment of the players, and I use an interpreter. I have a question: when downloading files by the player, uses one thread or multithreading? I'm interested in the following, what will happen if at the same time the files of ~ 50 players are downloaded (or when at the opening of a new server, online 1000, what will be in that case)?
Posts: 457
Threads: 7
Joined: Jul 2017
since the download is too fast then 'multithreading"
Posts: 637
Threads: 25
Joined: Dec 2010
Reputation:
0
same port as serv
raknet thread
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
It's not important at this stage. Every download could have its own thread if needed. If the sa-mp server struggles to deal with downloads, it could return a URL instead of a file and the files could be fetched over http.
I can't see situtations where 1000 people download at the same time. Players only download files once. When they reconnect, the files are still in the 'cache' folder. So assuming most players already have the files, there may only be 1-2 players downloading at a given time.
Posts: 1,605
Threads: 61
Joined: Jul 2012
Reputation:
0
On the launch day of a specific model, or several models, as soon as players connect (imagine on a large server), more than 500 players will download the same content, and on the day, it will be several mega bytes of data being transmitted for players to download the required content. I think even if it is not necessary because this will not be all the time, there is a way in which it can download through another server (site, ftp, etc), not to weigh the broadband of the server where the players are connecting.