简体   繁体   中英

Azure Service Fabric Actors Reentrancy with Services

When using stateful services and actors in service fabric, the documentation states that actors have an reentrancy policy allowing actors to go from ActorA to AcotrB and back to ActorA in one call context chain. As described here here

But how does this interact with services? Eg. can i do something like: Service1 > Actor1 > Service2 > Actor2 > Service1 > Actor1 ...? Or will the call context be lost when contacting a service?

Re-entrancy only applies between actors. In your example, the second invocation from Service1 to Actor1 will block and eventually time out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM