You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (JIRA)" <ji...@apache.org> on 2019/01/29 22:41:00 UTC

[jira] [Created] (BEAM-6541) Consider converting bundle & ptransform ids to ints eagerly.

Robert Burke created BEAM-6541:
----------------------------------

             Summary: Consider converting bundle & ptransform ids to ints eagerly.
                 Key: BEAM-6541
                 URL: https://issues.apache.org/jira/browse/BEAM-6541
             Project: Beam
          Issue Type: Sub-task
          Components: sdk-go
            Reporter: Robert Burke


BundleIDs and PTransformIDs necessary for communicating with the Runner interface in the go SDK are currently strings, and used as is for metrics contexts. We use them for getting bundle & ptransform specific metrics, and transmitting the same. We could instead eagerly assign them a local index that is then converted out when communicating metrics over the FnAPI, this would reduce overhead on metric lookups in the various maps.

Note: the same could be done for the user's metric-name, completing the optimization. Measuring the per-report overhead for tentative/final metric reporting is required before committing to this approach.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)