You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Henning Rohde (JIRA)" <ji...@apache.org> on 2018/08/09 20:06:00 UTC
[jira] [Commented] (BEAM-4636) Make beam.Run() (and/or friends)
thread-safe.
[ https://issues.apache.org/jira/browse/BEAM-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16575337#comment-16575337 ]
Henning Rohde commented on BEAM-4636:
-------------------------------------
[~exm] I think this should be fixed. I also refactored the Go Dataflow runner into a dataflowlib and a driver (similarly to the universal runner), so that you can use the lib directly without flags.
> Make beam.Run() (and/or friends) thread-safe.
> ---------------------------------------------
>
> Key: BEAM-4636
> URL: https://issues.apache.org/jira/browse/BEAM-4636
> Project: Beam
> Issue Type: Improvement
> Components: sdk-go
> Reporter: Eduardo Morales
> Assignee: Henning Rohde
> Priority: Minor
>
> It would be nice to be able to launch dataflow pipelines in parallel.
> For example, here is my use case:
> * I consume data produced by my clients/customers.
> * I need to launch a pipeline on an event dispatch.
> * I may receive multiple events, from multiple customers at the same time.
> * Go code could be simpler if synchronization/cooperation wouldn't be needed from goroutines handling each customer. In particular, setting options through flags is cumbersome.
> * Launching dataflow pipelines serially may not scale if I am able to sign up many customers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)