Hi guys !
Would it be possible to transfer the map (in multiplayer) in TCP maybe ?
I guess that would increase the speed of it.
What do you think of this idea ?
Thanks !
MP Map transfer with TCP
Moderator: ickputzdirwech
-
- Inserter
- Posts: 46
- Joined: Tue Mar 29, 2016 10:31 am
- Contact:
-
- Filter Inserter
- Posts: 952
- Joined: Sat May 23, 2015 12:10 pm
- Contact:
Re: MP Map transfer with TCP
TCP and UDP don't have any real speed difference.
In fact it's possible to get higher speeds on UDP because there isn't any built in throttling. Though that may cause your ISP to throttle your network.
In fact it's possible to get higher speeds on UDP because there isn't any built in throttling. Though that may cause your ISP to throttle your network.
Re: MP Map transfer with TCP
TCP is 2-3 times slower than UDP on a good connection. But the current map download is clearly bugged, so a working TCP implementation would be better.
Re: MP Map transfer with TCP
How is map transfer "clearly bugged"? I had no trouble with it so far.
-
- Inserter
- Posts: 46
- Joined: Tue Mar 29, 2016 10:31 am
- Contact:
Re: MP Map transfer with TCP
It's very slow. Sometimes it seems that the more we are on the server, the slower it is for a new guy to join.Senshi wrote:How is map transfer "clearly bugged"? I had no trouble with it so far.
Not sure why, but because the game 'stops' I would except the transfer to cap out my upload speed, no ?
Re: MP Map transfer with TCP
i wonder if it would be possible to use a "torrent" like Distribution algorithm of the map. I know that the "peer to peer" stuff is already a start in this direction, but i think there are torrent like libs available which could increase the download Speed a lot especially on "private" hosted games. Our save is actually about 50 MB which is quite a pain to download with a slow Connection. Apart from that those Connections are more likely to drop, the Client has to reconnect making the fact even worse.
Re: MP Map transfer with TCP
Related discussion: viewtopic.php?f=49&t=20643
Re: MP Map transfer with TCP
It randomly slows down for a lot of people.Senshi wrote:How is map transfer "clearly bugged"? I had no trouble with it so far.
For example, I have 10mbit upload, they have over 10mbit download, and factorio sends the map at... 0.5mbit.
Re: MP Map transfer with TCP
I don't know how you manage to get over 50% overhead on TCP. Clearly something else is screwing up.TCP is 2-3 times slower than UDP on a good connection.
Anyway it is much easier to reduce transfer time by running the map through a compression algorithm.
Re: MP Map transfer with TCP
Pretty sure it's the saved game file that is sent, in which case it is already compressed (zip).bobucles wrote:I don't know how you manage to get over 50% overhead on TCP. Clearly something else is screwing up.TCP is 2-3 times slower than UDP on a good connection.
Anyway it is much easier to reduce transfer time by running the map through a compression algorithm.