Skip to content

[Go SDK] runnerlib.Execute always dials a new job service connection #41745

Backlog

Description

@igor-dv

What would you like to happen?

runnerlib.Execute dials the job service (and Stage dials the artifact service) for every job and closes both when the job ends. A process that submits many jobs in a row, especially to a local job server, can leave a lot of sockets in TIME_WAIT and run out of ephemeral ports.

I'd like an optional Dial on JobOptions so a caller can reuse a connection. If Dial is not set, behavior stays as it is: dial and close.

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Prism Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions