TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Microservices at Snapchat

7 点作者 chadd将近 4 年前

2 条评论

js3990将近 4 年前
Some answer from here: <a href="https:&#x2F;&#x2F;community.temporal.io&#x2F;t&#x2F;temporal-vs-akka-and-lagom&#x2F;2589&#x2F;2" rel="nofollow">https:&#x2F;&#x2F;community.temporal.io&#x2F;t&#x2F;temporal-vs-akka-and-lagom&#x2F;2...</a><p>&quot; I think the most fundamental difference is that Temporal provides an abstraction of a persistent call stack. Every step of a business process is transparently persisted by the server, so that it can continue its execution after a failure, an unavailability of a dependency it is trying to call, or after a sleep. The server drives execution of workflows to completion, not application code. Actor systems typically employ the fail-fast approach, where instead of retrying after an error, they return such error or fail the actor altogether, and leave the decision to retry to the caller.<p>While one can implement a bespoke workflow framework on top of actors (by using storage and persistent timers), it’s a lot of work to build a general purpose workflow system that would be powerful enough, have a clean programming model, support all the edge cases, and be polyglot. Temporal provides a mature out-of-the-box implementation that focused on the workflow scenarios from the start, covers all those mainstream and edge cases well, scales horizontally, and has been battle tested by some of the most demanding workloads.&quot;
vmesel将近 4 年前
How Temporal differs to Akka and Lagom? Im looking forward on building more microservices but I&#x27;m still stuck on which stack to use
评论 #27901120 未加载