beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-5404) Inefficient Serialization of Spanner MutationGroup in pipeline
Date Thu, 20 Sep 2018 05:17:00 GMT


ASF GitHub Bot logged work on BEAM-5404:

                Author: ASF GitHub Bot
            Created on: 20/Sep/18 05:16
            Start Date: 20/Sep/18 05:16
    Worklog Time Spent: 10m 
      Work Description: nielm commented on issue #6407: [BEAM-5404] Use Java serialization
for MutationGroup objects.
   Hi Chamikaramj
   From my tests on a 1TiB dataset, with GCP dataflow, this increases performance by about
10x, and reduces the amount of dataflow worker disk space required by about 10x (from 40TiB
to 4TiB). Overall there is a 40x reduction in cost (dataflow worker and PD)

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:

Issue Time Tracking

    Worklog Id:     (was: 145925)
    Time Spent: 0.5h  (was: 20m)

> Inefficient Serialization of Spanner MutationGroup in pipeline
> --------------------------------------------------------------
>                 Key: BEAM-5404
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>    Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0
>            Reporter: Niel Markwick
>            Assignee: Chamikara Jayalath
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> The Cloud Spanner connector uses a custom serialization mechanism to convert MutationGroup
objects into a byte array. 
> This mechanism is very inefficient producing byte arrays approx 10x larger than simple
Java Serialization of the MutationGroup objects, which increases the resources needed by the
connector to ~40x the size of the original mutations.
> There are no obvious benefits to using this custom serialization system, as the objects
are deserialized within the pipeline itself. 

This message was sent by Atlassian JIRA

View raw message