【问题标题】:Azure Service Fabric Actors Reentrancy with ServicesAzure Service Fabric Actors 与服务的重入
【发布时间】:2016-06-23 19:31:23
【问题描述】:

在服务结构中使用有状态服务和参与者时,文档指出参与者有一个重入策略,允许参与者在一个调用上下文链中从 ActorA 转到 AcotrB 并返回到 ActorA。 As described here here

但这如何与服务交互?例如。我可以这样做:Service1 > Actor1 > Service2 > Actor2 > Service1 > Actor1 ...?或者联系服务时调用上下文会丢失吗?

【问题讨论】:

    标签: azure azure-service-fabric


    【解决方案1】:

    重入仅适用于演员之间。在您的示例中,从 Service1 到 Actor1 的第二次调用将阻塞并最终超时。

    【讨论】:

      猜你喜欢
      • 2018-03-14
      • 2016-04-30
      • 2017-06-09
      • 2016-09-08
      • 2017-12-17
      • 2016-04-07
      • 2019-11-30
      • 2018-09-06
      • 1970-01-01
      相关资源
      最近更新 更多