Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use xz for server topic compression #25

Open
532910 opened this issue Jul 23, 2019 · 3 comments
Open

use xz for server topic compression #25

532910 opened this issue Jul 23, 2019 · 3 comments

Comments

@532910
Copy link

532910 commented Jul 23, 2019

  1. xz has higher compression ratio than zip
  2. xz procession is simpler and native on the linux (server side)
@heX16
Copy link
Contributor

heX16 commented Jul 25, 2019

Compression is not described in the standard MQTT 3.1.1.
If you need to transfer volume data then use another protocol, for example HTTP with enabled GZ compression.

@532910
Copy link
Author

532910 commented Jul 25, 2019

What are you talking about?
server topic is zip compressed.

@532910
Copy link
Author

532910 commented Jul 25, 2019

ZipOutputStream os = new ZipOutputStream(new BufferedOutputStream(bo));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants