gpt4 book ai didi

azure - 每个 Durable 函数实例之间的数据交换是否使用任务中心?

转载 作者:行者123 更新时间:2023-12-03 06:08:02 25 4
gpt4 key购买 nike

我正在尝试使用耐用功能进行编程。

程序的结构是客户端函数->编排函数->事件函数->...。程序结构如下。

这样的话,各个函数中的数据传输情况如何呢?return 语句的值是否存储在任务中心中并且下一个函数使用它来继续?还是通过网络通信将数据发送到各个函数和实例?

最佳答案

编排功能和事件功能之间的通信使用 the docs 中所述的消息进行。 :

While a function app is running, the progress of orchestration, activity, and entity functions is continually stored in the task hub.

[..]

Internally, each storage provider may use a different organization to represent instance states and messages. For example, messages are stored in Azure Storage Queues by the Azure Storage provider, but in relational tables by the MSSQL provider.

详细引用请参见 this example

关于azure - 每个 Durable 函数实例之间的数据交换是否使用任务中心?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/77121693/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com