Nutomic/ensichat

Data compression?

deavmi opened this issue · 5 comments

I was wondering if zipping all the data that gets sent over the network would be a good idea. There will probably be more overhead, but of which is not bad. Because of compressing and decompressing.

The protocol is already efficient regarding size, as it's binary (not json or so). Text messages are usually short (and take less space than the protocol headers). And images, video etc would already be compressed.

So I don't think this would be worth the effort.

Just saying. I know what you are saying but there would be even smaller network traffic then. Another point is that the protocol is using flooding, which means a large message will ternpirarily clog up the neteorj

  • network

Compression really won't make a noticable difference, so I'm closing this for now.

Okay. :)

Sent from my iPod

On Jul 28, 2015, at 12:44 AM, Felix Ableitner notifications@github.com wrote:

Compression really won't make a noticable difference, so I'm closing this for now.


Reply to this email directly or view it on GitHub.