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

reference counted tokens for use with async messages #61

Closed
guruofquality opened this issue Aug 1, 2014 · 2 comments
Closed

reference counted tokens for use with async messages #61

guruofquality opened this issue Aug 1, 2014 · 2 comments
Assignees

Comments

@guruofquality
Copy link
Contributor

To create a back-pressure mechanism for messages that do not associated with a limited resource pool based on output buffers:

Whenever a message is sent, a reference counted token from the output port is sent along with that message. The reference counted token stays with the message until the message is consumed by the downstream, then the token is returned to the upstream output port. Work will not be called on a block until it has at least one token available.

@guruofquality
Copy link
Contributor Author

related #33

@guruofquality
Copy link
Contributor Author

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