ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyacheslav Daradur <daradu...@gmail.com>
Subject ignite-3592 is ready fo review (Provide some kind of pluggable compression SPI support)
Date Wed, 29 Mar 2017 08:32:05 GMT
Hello everyone.

https://issues.apache.org/jira/browse/IGNITE-3592 is ready for review.
ci.tests [1] look good.
Upsource review was created.[2]

Solution provides 2 way to use compression.
1. Full compression mode.
Switches in the IgniteConfiguration#fullCompressionMode field.
Full compression means all data (metadata+value) of whole object will be
compress at the end of marshalling.

2. Annotated fields compression.
Values of fields annotated by @BinaryCompression annotation will be
compress at marshalling.
Only value, header of whole object will not be compress.

There is an opportunity to use user compressor.
It configures in the IgniteConfiguration#compressor field.
There is the Compressor interface which user can implement.

Default implementation is using GZIP lib.
There is one more implementation which use ZLIB  compression library

Also there is the more flexible version [3] with parameterized annotations,
when we have several compressors and can choose them at runtime.
But such freedom can provides many problems.

Feel free to contact me for fixes and improvements.

[1] http://ci.ignite.apache.org/viewLog.html?buildId=520503
[2] http://reviews.ignite.apache.org/ignite/review/IGNT-CR-143

Best Regards, Vyacheslav

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message