ServerSync

ServerSync

48.5k Downloads

Implement configurable client queue

P3rf3ctXZer0 opened this issue ยท 9 comments

commented

Serversync Version: 2.6.22

Minecraft Version: 1.12.2 and up

Issue:

The file transfer speed was actually so slow it was less than 512kb and some of the bigger mods like Pixelmon reforged could take 22mins.

This may relate to #134

commented

Duplicates #75

commented

Pretty sure SS has not configured a max speed on socket transfer.

Shall look into it though, might be some Java default that needs to be exposed.

commented

This might be more related to optimized file transfer than transfer speed. Dosen't seem like java is limiting transfer rate anywhere.

commented

Well that is some good news I think. Error can you break that down? I am confused cause my upload is 250mb and 500mb download

commented

I am awake if you want to do some hands on testing.

commented

Limited speed could be one of two things:

  • Network hardware is limiting transfer rate
  • ServerSync is inefficiently buffering files when transferring through the socket

TBH I have not heavily tested how SS performs when transferring outside of a local network, it was not intentionally designed with super speed in mind so I would not be surprised if it is a bit inefficient at transferring.

commented

Inefficiency only takes place when 3 or more users attempts at once otherwise everything is around 1 to 2 mb

commented

Interesting, if the issue is load balancing then implementing a queue with a configurable size would probably work.

I would imagine at the moment that SS is just even splitting bandwidth between all connected clients.

commented

Not sure but I have not had time to test the alpha yet - I will keep informed but in the mean time feel free to make a per-alpha with experimental changes and I will test it at some-point.