Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Performance regression in Python pipelines using side inputs in 2.52.0-2.54.0 SDKs #30360

Closed
1 of 16 tasks
tvalentyn opened this issue Feb 21, 2024 · 0 comments
Closed
1 of 16 tasks
Assignees

Comments

@tvalentyn
Copy link
Contributor

What happened?

In #28770 we have enabled caching for state api, which improves performance of iterable side inputs. Unfortunately, this change can result in a performance regression for certain pipelines that use fully materialized side inputs, such as side inputs that use AsDict, AsList views.

As a precaution, we recommend users of 2.52.0, 2.53.0 and 2.54.0 Beam SDK to supply an additional pipeline option --max_cache_memory_usage_mb=0 to restore the prior behavior, particularly if the pipelines use large materialized side inputs.

Issue Priority

Priority: 2 (default / most bugs 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: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 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
Projects
None yet
Development

No branches or pull requests

1 participant