question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for actor reentrancy

See original GitHub issue

Describe the feature

The dapr core runtime is planning on supporting actor reentrancy. The bulk of this logic will be handled in dapr’s runtime but the SDK will be responsible for:

  • Preserving the header dapr-reentrant-id
  • Providing the new config fields required by dapr/config

For more context on actor reentrancy, the design proposal can be found here: actor reentrancy

Release Note

RELEASE NOTE: ADD Support for actor reentrancy

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
halspangcommented, Sep 1, 2021

Yes, you have to use the host options which means all actor types registered with those options are reentrant. We do not have the fine-grained settings for individual actor reentrancy. @sregdorr - What is your use case for having an individual actor be reentrant instead of the entire type?

0reactions
ardaliscommented, Feb 14, 2023

Is it still preview in 2023?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Actor Reentrancy Problem in Swift
According to Apple, actor reentrancy prevents deadlocks and guarantees forward progress. However, it does not guarantee that the actor's mutable ...
Read more >
Actor Reentrancy - Using Swift
When an actor-isolated function suspends, reentrancy allows other work to execute on the actor before the original actor-isolated function ...
Read more >
Reliable Actors reentrancy - Service Fabric
Introduction to reentrancy for Service Fabric Reliable Actors, a way to logically avoid blocking based on call context.
Read more >
How-to: Enable and use actor reentrancy in Dapr | Dapr Docs
Configure the actor runtime to enable reentrancy ... The reentrant actor must provide the appropriate configuration. This is done by the actor's endpoint...
Read more >
Swift Actor Reentrancy Model Explained | by Mark Moeykens
The Swift actor reentrancy model allows an actor to make calls to other actors while it is isolated, as long as those calls...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found