Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3874

Switch AvroIO sink default codec to Snappy

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.4.0
    • io-java-avro
    • None

    Description

      AvroIO currently uses CodecFactory.deflateCodec(6) as the default codec for writes.

      That compresses well, but is quite expensive.

      Snappy codec offers sparser, but much faster compression, and is typically a better CPU/storage tradeoff except for very long lived files. 

      We should consider switching the default to Snappy.

      Attachments

        Issue Links

          Activity

            People

              mariand Marian Dvorsky
              mariand Marian Dvorsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h