You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/28 01:34:00 UTC
[jira] [Work logged] (BEAM-2810) Consider a faster Avro library in
Python
[ https://issues.apache.org/jira/browse/BEAM-2810?focusedWorklogId=106227&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-106227 ]
ASF GitHub Bot logged work on BEAM-2810:
----------------------------------------
Author: ASF GitHub Bot
Created on: 28/May/18 01:33
Start Date: 28/May/18 01:33
Worklog Time Spent: 10m
Work Description: ryan-williams opened a new pull request #5496: do not merge! [BEAM-2810] use fastavro in Avro IO
URL: https://github.com/apache/beam/pull/5496
Use [fastavro](https://github.com/tebeka/fastavro) for python Avro IO instead of apache/avro; it is seemingly ≈10x faster.
Not ready for merging yet because it uses [a fork of fastavro that I published to test.pypi.org](https://test.pypi.org/project/fastavro-blocks/0.19.5.4/) (see discussion at https://github.com/tebeka/fastavro/pull/208); I'd like to get CI to run on it and allow folks to comment though.
----------------------------------------------------------------
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:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 106227)
Time Spent: 10m
Remaining Estimate: 0h
> Consider a faster Avro library in Python
> ----------------------------------------
>
> Key: BEAM-2810
> URL: https://issues.apache.org/jira/browse/BEAM-2810
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Eugene Kirpichov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> https://stackoverflow.com/questions/45870789/bottleneck-on-data-source
> Seems like this job is reading Avro files (exported by BigQuery) at about 2 MB/s.
> We use the standard Python "avro" library which is apparently known to be very slow (10x+ slower than Java) http://apache-avro.679487.n3.nabble.com/Avro-decode-very-slow-in-Python-td4034422.html, and there are alternatives e.g. https://pypi.python.org/pypi/fastavro/
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)