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

Realm: Decouple control and effects for asynchronous execution in realm #1776

Open
apryakhin opened this issue Oct 18, 2024 · 0 comments
Open
Labels
Realm Issues pertaining to Realm
Milestone

Comments

@apryakhin
Copy link
Contributor

apryakhin commented Oct 18, 2024

In the current Realm implementation, the concept of control and effects are conflated. If the execution lifetime of a task or copy is coupled to it actually finishing its execution (as is the case for tasks and copies running on CPUs) this is a reasonable implementation. However, when the execution lifetime of a task or a copy is unrelated to when it finishes running (as can be the case with GPU tasks and copies) then this can potentially expose unnecessary latency in the execution of Realm programs. Original written by @lightsighter

I am filing this for tracking as a possible TODO item on the list. Most likely it won't be worked on until a compelling use case presents itself. However, I do plan to estimate the scope of work and a do a design proposal while fresh on the details of the events state machine.

@apryakhin apryakhin added the Realm Issues pertaining to Realm label Oct 18, 2024
@apryakhin apryakhin added this to the realm-backlog milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Realm Issues pertaining to Realm
Projects
None yet
Development

No branches or pull requests

1 participant