-
Notifications
You must be signed in to change notification settings - Fork 13
rpc calls with compressed payload
Fanda Vacek edited this page Apr 18, 2022
·
2 revisions
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
- zlib
- C zlib https://zlib.net/
- C++ gzstream https://www.cs.unc.edu/Research/compgeom/gzstream/
- miniz
- Who will make compression if client will ask for compressed payload, but device will not support the payload compression? Broker?
- What if device compress payload without client request?
- Should the client advertise, if it can received compressed data or not?
- It might be better to keep the result compression on application side, like 'getFileContent(copressed=zlib)'. In other case, the ShvBroker must be able to convert compressed payload between CPON and CHAINPACK, possibly JSON