[
https://issues.apache.org/jira/browse/BEAM-3874?focusedWorklogId=82287&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-82287
]
ASF GitHub Bot logged work on BEAM-3874:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Mar/18 14:45
Start Date: 20/Mar/18 14:45
Worklog Time Spent: 10m
Work Description: mdvorsky opened a new pull request #4904: [BEAM-3874]
Switched AvroIO default codec to snappyCodec.
URL: https://github.com/apache/beam/pull/4904
Snappy is much faster than deflate, although it generally compresses worse.
In many cases, the CPU savings from Snappy are worth the worse compression
ratio except for very long lived files or files transferred across expensive
networks.
Snappy is also the default avro codec in Spark.
R: @jkff
CC: @ravwojdyla
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 82287)
Time Spent: 10m
Remaining Estimate: 0h
> Switch AvroIO sink default codec to Snappy
> ------------------------------------------
>
> Key: BEAM-3874
> URL: https://issues.apache.org/jira/browse/BEAM-3874
> Project: Beam
> Issue Type: Improvement
> Components: io-java-avro
> Reporter: Marian Dvorsky
> Assignee: Eugene Kirpichov
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)