ID:1519904
 
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
For some reason, DD will compress big packets that get sent (packet id 228 is the ID of a compressed bundle of messages), while this may lower the network usage, deflate is slow and a massive resource hog
I should also be able to accomplish this by modifying ClientSocket::SendBuf to never pass a check, but it would be nicer if I didnt have to resort to editing binaries to get reasonable performance

E: Success
You make a good point that the zipping might be a little aggressive. I'll add a setting to optionally tone it down.
Out of curiosity, what was the intention of the compressed packets in the first place?
In response to Tobba
Bandwidth conservation. Hosting a server can use a lot of upload bandwidth. There's probably a lot to be said for skipping over this process when sending resource batches though, since those are already zipped.
These days around, there's quite a lot of bandwidth available per user, and even more so for servers (Small VPS's starting with 4 TB of it), A friend of mine's capped to 300 GB, which isn't that little, At least in my opinion.

Would there be any speed improvement to skipping the packing and compressing?
For bulk data, there is definitely a speed improvement. Bandwidth is measured two ways; there is total bandwidth, and available bandwidth. One is a finite resource, and is the amount of data total you can move before having to pay extra.

Instantaneous bandwidth (aka downstream, upstream, download speed, etc) is a measure of how much data you can push through in a given period of time (generally, measured in bits per second or bytes per second). This is where reducing the amount of data being sent is most helpful.

There is a third measurement, ping, which is a measure of the time it takes a packet to travel from one computer, to the other, and then back to the first. All three are very important in networking.
In response to Laser50
Laser50 wrote:
and even more so for servers (Small VPS's starting with 4 TB of it)

Only when you base these servers in cheap places like America or France.. not in "Exotic" places like Australia, New Zealand, parts of Asia and others, you will not get an abundance of bandwidth or a cheap price.

Some Americans like to think the worlds population lives with their standards of pricing and availability when infact it obviously doesn't..
I actually don't live in America, but my European ISP allows for "Fair Use" unlimited bandwidth.

Any way, I didn't mean any insult by it, just that there are people with the capability to run without compressing.
In response to Laser50
Laser50 wrote:
Any way, I didn't mean any insult by it, just that there are people with the capability to run without compressing.

No insult taken! could have worded that a bit better so I didn't seem so .. harsh.

You guys are so lucky up there, I pay $88 AUD for 200GB on a crappy 1.4mb/s line that fails when it rains..
In Estonia you could get 200 Mbit/s for 38,18 AUD, which of course is unlimited bandwidth and for 14,69 AUD you could go for a 2 Mbit/s unlimited bandwidth connection.