Skip to content

Add Compression to Blobs Before Submission #2532

@tac0turtle

Description

@tac0turtle

Summary

We should implement blob compression before submission to reduce bandwidth usage, storage costs, and improve overall performance of the EV node network.

##Motivation

Currently, blobs are submitted without compression, which leads to:

  • Higher bandwidth consumption during blob submission
  • Increased storage requirements
  • Slower transmission times, especially for larger blobs
  • Higher operational costs for node operators

Proposed Solution

Implement a compression layer that automatically compresses blobs before submission while maintaining compatibility with the existing blob format.
Key Requirements:

Compression Algorithm: Consider using efficient algorithms like:

  • LZ4 for fast compression/decompression with moderate compression ratios
  • zstd for balanced performance and compression ratio
  • gzip for maximum compatibility

Backward Compatibility: Ensure compressed blobs can be properly handled by existing nodes
Metadata Handling: Include compression metadata in blob headers:

Metadata

Metadata

Assignees

Type

No type

Projects

Status

For Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions