-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Worker tools with tons (millions) of actions queued up will have millions of async tasks consuming memory. This can reach the order of gigabytes. To avoid this, workers who's execution model is inherently async can opt to use streaming execution. This keeps a single async stack for the all actions. See next diff for an example. I made this opt in because writing workers in this way is complicated and usually not desirable. Reviewed By: christolliday Differential Revision: D67939003 fbshipit-source-id: eb179718221370c0d8e4ebfbf2d0e1b38a38e8a7
- Loading branch information
1 parent
05a4a94
commit a47d304
Showing
4 changed files
with
137 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters