You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buffer plugins have data as raw String object.
This way consumes many memory resource and bandwidth of the network.
To reduce this wasteful consumption, I propose that support a data compression in buffer plugins.
Tasks
Add compress true in buffer plugin configuration.
Compress a chunk by using zlib in concat
Decompress a chunk in write_to
The text was updated successfully, but these errors were encountered:
It looks better to do decompression in #open with optional argument not to do it forcedly (to get compressed binary for any purpose, including compressed data transferring over network).
But let me see how your implementation goes.
I think implementing decompression code in #open doesn't work well in MemoryChunk class.
Becuase MemoryChunk class overrides #write_to to avoid calling #open for optimization.
What do you think?
Buffer plugins have data as raw
String
object.This way consumes many memory resource and bandwidth of the network.
To reduce this wasteful consumption, I propose that support a data compression in buffer plugins.
Tasks
compress true
in buffer plugin configuration.chunk
by using zlib inconcat
chunk
inwrite_to
The text was updated successfully, but these errors were encountered: