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

Document Kar support for actor deadlock detection #3

Open
dgrove-oss opened this issue Jan 21, 2021 · 0 comments
Open

Document Kar support for actor deadlock detection #3

dgrove-oss opened this issue Jan 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dgrove-oss
Copy link
Member

Kar implementation includes features to help avoid and/or debug common actor-actor deadlock scenarios. For example, the synchronous scenario A-calls-B-calls-A is implicitly supported and is described (somewhat abstractly as indirect re-entrancy) in KAR.md in "Actors: Sessions".

However, undocumented are Kar features that help detect and resolve other likely actor deadlock scenarios. For example, given an actor-based backend supporting concurrent asynchronous requests, the deadlock (A-calls-B while B-calls-A) may be likely. Kar's timeout mechanism combined with rich exception messaging significantly help identify the improper designs that cause such problems.

@dgrove-oss dgrove-oss added the enhancement New feature or request label Jan 21, 2021
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