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

[Feature Request] Extend delay simulation for sync/async mixed graphs and allow delay variation during an episode. #225

Open
1 of 5 tasks
bheijden opened this issue Sep 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bheijden
Copy link
Member

bheijden commented Sep 25, 2022

🚀 Feature

  • Allow users to specify the expected computational delay of a node callback
  • Allow delay variation (both computation and input delays).
  • Relay effective output delay by appending it to output messages
  • Infer effective callback output delay from computational delay, blocking characteristic of all input channels and their delays.

Motivation

The inter-node communication delays within a graph can be modeled as a combination of computational and communication delays. The delay of upstream nodes affect the effective delay of downstream nodes when intermediate connections are blocking. For realistic delay simulation in mixed graphs (graphs with both blocking and non-blocking connections), this should be modeled appropriately.

Moreover, delays are often not fixed but stochastic. Users should be allowed to vary (communication, computation) delays during an episodes. Allow delays to vary may lead to unintended behavior such as message reordering when a message is delayed by so much that it is "overtaken" by the following message. Should reordering be optional, or should we block it all together?

Checklist

  • I have checked that there is no similar issue in the repo (required)
@bheijden bheijden added the enhancement New feature or request label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant