Skip to content

Conversation

@Anubhab2003
Copy link

@Anubhab2003 Anubhab2003 commented Jan 23, 2025

feat(java): Implement Zstd-based MetaCompressor

This module provides core functionalities for the FURY project.

Zstd Compression Integration

This module now includes support for compressing and decompressing type metadata using the Zstd compression library.

Features:

  • Improved Compression: Zstd generally offers better compression ratios than the previous Deflater-based implementation.
  • ZstdMetaCompressor: A new ZstdMetaCompressor class has been implemented to handle Zstd compression and decompression.
  • Unit Tests: Unit tests have been added to verify the functionality and correctness of the ZstdMetaCompressor.

Usage:

  • To use the ZstdMetaCompressor, inject it into your service classes:

    @Autowired
    private MetaCompressor metaCompressor; 
    
    public void processMetadata(byte[] metadata) {
        byte[] compressedMetadata = metaCompressor.compress(metadata);
        // ... use compressedMetadata ...
    }

@chaokunyang chaokunyang changed the title Anubhab/1664 feat(java): Implement Zstd-based MetaCompressor Jan 30, 2025
@chaokunyang chaokunyang closed this Apr 1, 2025
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

Successfully merging this pull request may close these issues.

2 participants