Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Oct 21, 2025

Stack from ghstack (oldest at bottom):

Having async messages run in parallel by default is confusing. It used to be the fact that there would be no way to delay a message response without async behaving out of order. We now have the ability, via explicit_response_port=True, to choose to defer when to respond to a message. This lets you just create_task to parallelize message handling. This adds a workaround flag just in case we need to keep someone internally on the old behavior.

Differential Revision: D85172238

NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!

Having async messages run in parallel by default is confusing. It used to be the fact that there would be no way to delay a message response without async behaving out of order. We now have the ability, via explicit_response_port=True, to choose to defer when to respond to a message. This lets you just create_task to parallelize message handling. This adds a workaround flag just in case we need to keep someone internally on the old behavior.

Differential Revision: [D85172238](https://our.internmc.facebook.com/intern/diff/D85172238/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85172238/)!

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Oct 21, 2025
Having async messages run in parallel by default is confusing. It used to be the fact that there would be no way to delay a message response without async behaving out of order. We now have the ability, via explicit_response_port=True, to choose to defer when to respond to a message. This lets you just create_task to parallelize message handling. This adds a workaround flag just in case we need to keep someone internally on the old behavior.

Differential Revision: [D85172238](https://our.internmc.facebook.com/intern/diff/D85172238/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85172238/)!

ghstack-source-id: 317770674
Pull Request resolved: #1636
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants