Temporal Blog 09月30日
Temporal平台新功能与计费调整
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Temporal开源平台近期宣布多项新功能,包括调度和工作流更新等抽象,简化实现并降低后端服务延迟。Temporal Cloud作为有状态无服务器服务,遵循价值付费原则。新功能需调整计费模式,涉及调度、工作流更新、子工作流和本地活动的计费方式。调度触发计为2个操作,工作流更新计为1个操作,子工作流启动和执行各计为1个操作,本地活动关联一个工作流任务时计为1个操作。这些调整于11月1日生效,不改变价格或特殊条款,大部分应用影响小于15%,整体成本影响净中性。

📅 调度功能:Temporal平台新增调度功能,Temporal Cloud计费将调度触发计为2个操作,与手动实现的调度操作数相同,确保计费一致性。

🔄 工作流更新:新增工作流更新功能,计费将其计为1个操作,较原等效实现的2个操作有所节省,优化应用成本。

👧 子工作流:子工作流计费调整,父工作流启动子工作流计为1个操作,子工作流执行计为1个操作,与活动启动新工作流的计费方式保持一致。

🏭 本地活动:本地活动计费优化,关联一个工作流任务时计为1个操作,显著减少重复计费,更符合实际使用场景。

A few weeks ago at the Replay developer conference we announced a number of new features that are coming to Temporal’s open source platform for durable execution. Some of these new features such as schedules and workflow update are new abstractions for Temporal’s programming model that simplify the implementation and lower the latency for backend services.

Temporal Cloud is a stateful serverless service where customers only pay for what their application uses. Temporal Cloud’s usage model is based on three core principles:

    Customers should only pay for the value they consume - i.e. Temporal only succeeds when our customers succeed. Customers should have full control over their costs based on the transparency we provide and their own implementation decisions. Customers should not be tempted to make sub-optimal implementation decisions in order to manage costs.

To stay consistent with these principles, the new additions to our SDK's functionality require an update to Temporal Cloud's metering. We’re making two additional metering corrections at the same time. Our updates will change how Temporal cloud meters the usage of:

    Schedules Workflow updates Child workflows Local activities

Schedules are new to the Temporal platform. Temporal Cloud metering will count the triggering of a Schedule as 2 actions, not including the start of the Workflow itself which is already counted as an action. This is essentially the same number of actions if a user manually implemented the equivalent of a Schedule.

Workflow Updates are new to the Temporal platform. Temporal Cloud metering will count a workflow update as 1 action. This is a potential savings for applications as today the equivalent implementation would count as 2 actions for a Query and a Signal.

Child Workflows are currently metered so that every child workflow execution from StartChildWorkflowInitiated to WorkflowExecutionStarted to WorkflowExecutionCompleted is metered as 1 action. This is inconsistent with the way Temporal Cloud meters an equivalent implementation where an Activity starts a new Workflow (2 actions). With this metering update we will count the parent workflow spawning a child workflow as 1 action and the execution of the child workflow as 1 action.

Local Activities are currently metered so that every Local Activity execution is metered as 1 action. This can result in over-counting of Local Activities and unsustainable costs for these implementations. Local Activities also have weaker guarantees than regular Activities (less value-added). With this metering update, all Local Activities associated with one Workflow Task will count as 1 action, significantly reducing the number of Local Activities metered when used as appropriately. Each additional workflow task heartbeat after that is counted as an additional action. Also, Local Activities retried following a Workflow Task heartbeat will count as 1 action. I.e. the more a Local Activity gets used like a regular Activity, the more it will get counted that way too.

These updates to our metering are staged to take effect November 1st, midnight UTC. They do not alter Temporal Cloud’s pricing, credits or any special terms a customer might have today. They also do not affect how Temporal Cloud rate limits namespaces. We’ve analyzed the cost implications of these metering updates for our customers and they are effectively net-neutral across the hundreds of services and applications backed by Temporal Cloud. Most applications will be completely unaffected and the applications that are affected should not see their action count increase or decrease by more than 15%.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Temporal 开源平台 无服务器服务 计费调整 调度功能
相关文章