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

Imperative transaction ordering #47

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

DRobinson4105
Copy link

@WimBast
Copy link
Contributor

WimBast commented Jul 22, 2024

Can we move the cycle check out off the commit? It is a expensive method (including 2 java,util.HashSet inits) to run each time when a commit happens.

@WimBast
Copy link
Contributor

WimBast commented Jul 22, 2024

Why is 'imperativeTransactions = imperativeTransactions.putEdge(SOURCE, TARGET, Void.class);' in commit()?

@WimBast
Copy link
Contributor

WimBast commented Jul 22, 2024

I think I rather have one atomic Reference per Imperative transaction. You can then set it status for a certain commit run (number). You can avoid to initialize 3 atomic references per commit and keep track of the inCync in a relative manner. Hope this makes sence.

@DRobinson4105 DRobinson4105 marked this pull request as draft July 31, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants