stankiewicz commented on code in PR #41394: URL: https://github.com/apache/beam/pull/41394#discussion_r4667626217
########## sdks/python/apache_beam/runners/worker/bundle_processor.py: ########## @@ -560,6 +560,9 @@ def commit(self) -> None: class CombiningValueRuntimeState(userstate.CombiningValueRuntimeState): + # Probability of compacting persisted bag accumulators on blind-write commits. + _BLIND_WRITE_COMPACT_PROBABILITY = 0.02 Review Comment: Evaluated CombiningValueRuntimeState._BLIND_WRITE_COMPACT_PROBABILITY across 0.0, 0.01, 0.02, 0.1, 0.2, 0.5 and 0.1 was actually better than 0.02 for benchmark I've created. I've looked at e2e time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
