Temporal Blog 09月30日 19:13
Temporal Replay 2024:提升工作流构建、扩展与管理效率
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

在Replay 2024大会上,Temporal发布了一系列重要更新,旨在帮助开发者更高效地构建、扩展和管理工作流。此次更新聚焦于优化开发者体验,通过Worker Auto-Tuning和Worker Scaling等功能,实现性能自动化和智能化的资源管理。同时,新推出的Temporal Nexus将持久化执行能力扩展至跨团队、命名空间、区域和云的边界,促进模块化架构和跨团队协作。Workflow Update功能则为应用带来了实时反馈和响应能力,提升用户交互体验。此外,Temporal Cloud现已支持Google Cloud,并提供了更灵活的成本和计费管理选项,同时推出了新的参考应用以帮助开发者掌握Temporal的最佳实践。

🚀 **开发者体验优化:** Temporal推出了Worker Auto-Tuning和Worker Scaling功能,前者能根据CPU和内存使用情况自动调整Worker槽位,最大化效率并防止内存溢出,无需手动干预;后者则允许基于实时数据做出明智的Worker集群扩展决策,平衡执行速度与成本。这些工具旨在让开发者专注于业务逻辑,而非基础设施管理。

🤝 **跨团队协作与模块化:** Temporal Nexus是一项新功能,它能够连接跨团队、命名空间、区域和云的持久化执行,促进一种更模块化的架构。通过定义良好的服务API契约,团队可以共享部分能力,并抽象底层的Temporal原语(如Workflows)或执行任意代码,同时每个团队拥有独立的命名空间,增强了安全性、故障排查和影响范围隔离。

⚡ **实时交互与响应能力:** Workflow Update是一项强大的新功能,允许同步发送更新并接收结果,为用户提供即时的反馈和响应。这使得构建高度交互式应用(如购物车、实时仪表板)成为可能,确保低延迟更新,即使在高流量下也能保持应用的速度和可靠性,并通过内置验证和并发管理防止竞态条件等问题。

☁️ **多云部署与成本管理:** Temporal Cloud现已支持Google Cloud(处于Public Preview阶段),为用户提供了更多部署选项。用户可以轻松在Google Cloud上启动完全托管的Temporal服务,并享受企业级支持和SLA。结合现有的AWS支持,Temporal Cloud成为一个真正的多云平台。此外,Temporal Cloud还引入了Pay-as-you-go定价、新的计费中心以及更精细的角色权限管理,以实现更高效的成本和计费管理。

📚 **学习资源与最佳实践:** Temporal发布了一个新的Order Management System (OMS) 参考应用,旨在帮助开发者学习如何解决常见的开发挑战,并设计和构建更有效的Temporal应用。该应用涵盖了补偿、定时器、人工干预等真实场景,并展示了Workflows、Activities、Signals等关键功能的用法,帮助开发者快速理解并应用Temporal的最佳实践。

This morning, at Replay 2024, we rolled out key updates to help you build, scale, and manage Workflows more efficiently. Here’s a summary of everything we’ve launched.

Elevate Your Developer Experience#

    Optimize performance automatically with the much-anticipated Worker Auto-Tuning. It automatically adjusts worker slots based on CPU and memory usage, maximizing efficiency and preventing out-of-memory errors with no manual tuning required. Make informed scaling decisions for your worker fleet based on real-time data with the Worker Scaling feature, and optimize the balance between speeding up workflow executions and managing the size and cost of your worker fleet. These tools help you to focus on what matters most: building the business logic, without the distraction of managing complex infrastructure.

Boost Productivity Across Your Teams#

Introducing Temporal Nexus: Durable Execution Across Teams, Namespaces, Regions, and Clouds

Temporal Nexus is a new feature of the Temporal platform designed to connect durable executions across team, namespace, region, and cloud boundaries. It promotes a more modular architecture for sharing a subset of your team’s capabilities via well-defined service API contracts for other teams to use, that abstract underlying Temporal primitives, like Workflows, or execute arbitrary code.

Temporal Nexus provides an integrated Temporal SDK experience, built-in Nexus Machinery, first-class observability, and enables each team to have their own namespace for improved security, troubleshooting, and blast radius isolation.

Transform Real-Time Interactions#

We are announcing Workflow Update - a powerful new feature that enables you to send updates and receive results synchronously - delivering real-time feedback and responsiveness that your users expect.

With Workflow Update, you can:

    Build highly interactive applications, like shopping carts or live dashboards, where users instantly see the impact of their actions. Ensure low-latency, real-time updates, even during heavy traffic, keeping your applications fast and reliable. Prevent issues like race conditions with built-in validation and concurrency management, ensuring smooth, secure workflows.

It’s designed for developers who want to create seamless, interactive experiences without sacrificing performance or reliability.

Adopt Temporal Cloud on Google Cloud#

Temporal Cloud on Google Cloud is now available in Public Preview, to give you more options for deploying Temporal Cloud. Based on growing demand, we’ve partnered with Google to bring this option to our customers. You can now launch a fully-managed Temporal Service on Google Cloud with a few clicks.

With Temporal Cloud on Google Cloud, you can:

    Deploy production applications on Google Cloud today with enterprise support, white-glove services, and uptime SLAs. Keep your workload traffic securely inside Google Cloud. Deploy in two regions worldwide, with more regions coming soon. Please reach out to us if you don’t see the region you prefer.

This release makes Temporal Cloud a multi-cloud platform, letting you choose to deploy on GCP or AWS depending on your preferences. You can manage and view your AWS and GCP Namespaces side by side, ensuring a seamless experience across both platforms.

Efficiently manage costs and billing in Temporal Cloud#

We’ve launched new capabilities to manage your costs and billing more easily in Temporal Cloud:

    Adopt Temporal Cloud with pay-as-you-go pricing through the AWS Marketplace. This is the most efficient way to get started with Temporal Cloud and provides simplified billing through AWS, so your Temporal Cloud usage appears alongside your other AWS services. View and manage billing information with the new Billing Center in the Temporal Cloud UI. Understand and monitor current and historical costs, download invoices, and adjust credits cards. Manage finances more effectively and securely with new roles. FinOps teams can now view and modify information in the Billing Center with the new RBAC role Finance Admin. The recently-added Account Owner role can access all resources within Temporal, including the Billing Center.

These tools give you the flexibility to deploy Temporal Cloud where you want and the transparency to manage your costs effectively.

Learn how to build more effective Temporal applications#

We’ve launched a new Order Management System (OMS) reference application to help you learn how to solve common development challenges with Temporal, and design and build more effective Temporal applications.

It can help you at every stage of your Temporal journey:

    Learn how Temporal simplifies common development tasks with real-life scenarios for compensations, timers, human-in-the-loop and more. Quickly understand how to use key features in Temporal like Workflows, Activities, Child Workflows, Local Activities, Signals, Queries, and more. Incorporate vetted best practices into your applications by repurposing code from the reference application.

Check out the instructional videos here.

Experience the Future with Temporal#

These updates are designed to help you achieve your goals faster, with greater efficiency and control. We’re excited for you to explore these updates and see how they can transform your workflows and operations.

Fish AI Reader

Fish AI Reader

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

FishAI

FishAI

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

联系邮箱 441953276@qq.com

相关标签

Temporal Replay 2024 Workflow Developer Experience Scalability Cloud Real-time
相关文章