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

Add DRef migration support #80

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Add DRef migration support #80

merged 2 commits into from
Apr 1, 2024

Conversation

jpsamaroo
Copy link
Collaborator

This PR allows DRefs to be migrated from their current worker to another worker, and have future accesses to the DRef be seamlessly redirected to the new owner. Multiple migrations of the same DRef may occur, and a caching layer will ensure that redirects only add overhead on the first access from each worker after a migration has occurred.

Todo:

  • Add docstring
  • Add tests

This commit allows DRefs to be migrated from their current worker to
another worker, and have future accesses to the DRef be seamlessly
redirected to the new owner. Multiple migrations of the same DRef may
occur, and a caching layer will ensure that redirects only add overhead
on the first access from each worker after a migration has occurred.
@jpsamaroo jpsamaroo merged commit 40100f3 into master Apr 1, 2024
4 of 6 checks passed
@jpsamaroo jpsamaroo deleted the jps/mobility branch April 1, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant