8 comments

  • a_c1 hour ago
    Can someone shed some lights on what temporal does? Their blog says [1]<p>Durable Execution offers three key benefits:<p><pre><code> It improves application reliability by providing fault tolerance. It simplifies code by allowing it to focus on the goal instead of potential problems. It accelerates development by eliminating the need to write complex error-handling logic. </code></pre> So... like exception handling? or something like erlang&#x27;s let it crash mantra?<p>Why is it such a big deal? Genuine question, not trying to be snarky<p>[1] <a href="https:&#x2F;&#x2F;temporal.io&#x2F;blog&#x2F;what-is-durable-execution" rel="nofollow">https:&#x2F;&#x2F;temporal.io&#x2F;blog&#x2F;what-is-durable-execution</a>
    • binlog1 hour ago
      It’s an async job runner that scales well. Yeah they advertise a lot of fancy features, but really what they are selling is solid failure-resistant infra. Companies could set the same thing up with an in-house team, but it’s pretty great to be able to click a button and start running workloads at tens or hundreds of thousands of RPS without needing to figure out the internals.
      • a_c53 minutes ago
        Can I understand it as a performant celery with a UI?
        • binlog37 minutes ago
          Not the same thing, because celery and the like are sdk-level abstractions that need you to plug in your own queue (usually Redis, Kafka) and all other components. The Temporal server deployment includes the full control plane, queue, persistent database, UI and everything else. So you only need to manage your worker boxes.
          • kolanos5 minutes ago
            A Rust equivalent to Celery would be something like Apalis [0]. Where every job is just an async function, similar to a Celery task.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;apalis-dev&#x2F;apalis" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;apalis-dev&#x2F;apalis</a>
        • datadrivenangel44 minutes ago
          With better ergonomics around handling failures.
      • kolanos17 minutes ago
        Durable execution comes with overhead that you&#x27;ll need to determine whether or not fits your use case. If you&#x27;re looking for raw speed then durable workflows are going to be a steep trade off. Most workflows should be durable by default, though, so it is more the rule than the exception.
    • penciltwirler52 minutes ago
      I think it&#x27;s useful for implementing Sagas <a href="https:&#x2F;&#x2F;temporal.io&#x2F;blog&#x2F;saga-pattern-made-easy" rel="nofollow">https:&#x2F;&#x2F;temporal.io&#x2F;blog&#x2F;saga-pattern-made-easy</a><p>Basically, a multi-step event handling system, where the data could be spread across multiple databases&#x2F;systems, so there&#x27;s no way to rollback a transaction atomically across all the databases. Instead, you explicitly codify &quot;compensations&quot; to undo your previous commits so that you eventually end up in a consistent state.<p>Temporal is the orchestrator&#x2F;framework&#x2F;library to implement the above in an easier way.
      • tomp37 minutes ago
        Does it actually work?<p>In a past job, they tried to implement a similar thing on much lower scale with bidirectional database migrations.<p>Fortunately, they were mostly ran in one direction.
        • sanderjd1 minute ago
          IME, it works, but at the cost of a pretty large amount of overhead, both in performance and (I think more importantly) cognitive.<p>Honestly I never did come to a satisfying conclusion on whether I thought it was worth it. The teams I worked on that used it found it neither simple nor easy to use, and I was never sure whether we were really reaping the benefits of correctness in the face of failure at the scale we were running. We eventually migrated everything off of it, and everyone was happier, but perhaps (probably) we had more lurking bugs in distributed failure cases. But to my knowledge we never tracked down an incident to the kind of problem that temporal solves.<p>I guess I&#x27;d say that I like durable execution (or at least temporal specifically, it&#x27;s the only system like this that I&#x27;ve used) in theory, but not really in practice.
    • fxtentacle2 minutes ago
      &quot;Why is it such a big deal?&quot;<p>It&#x27;s used by OpenAI.
    • adamgordonbell50 minutes ago
      Say you&#x27;ve got a process that spans a bunch of services and touches the real world. Some ecommerce check out for example.<p>You need to reserve some inventory, charge a card, eventually email a customer and steps can go wrong. So you have queues, and retries and ways to back things out, undo changes.<p>To my understanding, Temporal&#x27;s idea is to factor that part out, the queues and retries, and offsetting actions, so you write the logic and not the workflow orchestration.
    • t2r312154 minutes ago
      When you write traditional distributed systems&#x2F;cloud native code you have to handle all the failures and retries somewhere. Anyone who&#x27;s run an Ansible playbook or similar and had a failure halfway through leave the state of the systems in a weird half-state is familiar. Or dealt with spot preemptions or nodes failing or getting unlucky with OOM killer or hardware failures or a myriad of other failure modes.<p>In Temporal, you use their SDK to mark which code is either:<p>- Deterministic without external dependencies on network, disk, clock, etc.<p>- Non-deterministic (e.g. accesses a filesystem, dependent on clock time, talks over the network)<p>You can write the code without handling flakiness or retries and the Temporal control plane handles all the progress tracking and retries for you. Progress is tracked at the individual line of code for deterministic code, or for non-deterministic code, tracked at function boundaries defined by the programmer. You buy into more complexity upfront, but it makes the application code way simpler and easier to manage overall.<p>They do a lot of other cool stuff on top of all this, and their Temporal Worker Controller architecture is particularly well suited to running massive scale processing&#x2F;AI workloads on Kubernetes (handles a lot of stuff like autoscaling without interrupting work, rainbow version rollout, etc.)
    • zachncst36 minutes ago
      Asking what temporal is? The founders (Maxim Fateev and Samar Abbas) originally made Amazon Simple Workflow Service (SWF), Azure Durable Task Framework (DTF), and Uber Cadence. Temporal is the latest in the long line of workflow systems they&#x27;ve built. It&#x27;s a task engine with state, recovery and highly scalable. It&#x27;s cool stuff, and it simplifies many business workflows when it comes to recovery and scaling. There are many similar systems on the market today that mimic durable functions but Temporal is arguably the best.
    • paulddraper2 minutes ago
      &gt; So... like exception handling?<p>Yes...with eventual consistency.<p>If your process OOMs, if the machine restarts, etc.<p>Plus some other distributed execution advantages.
    • a_c32 minutes ago
      Thank you for all the explanations. I think I have better understanding now. Another question, at what scale (in terms of number of services, and maybe throughput? what other dimensions?) should we start considering using temporal?
      • staticautomatic11 minutes ago
        I think scale is less important than other considerations. For me the biggest motivator is when the use case prefers doing something exactly-once, the downside risk of failure is high, and robust failure handling is moderately complex. The canonical example I use is healthcare communications; others use payment&#x2F;fulfillment.<p>Also having a unified control plane is handy even at a pretty small scale if your alternative is going full “cloud native” on hyperscaler microservices. The ability to see what’s happening when and where across a single workflow run is a dream compared to all the traditional logging approaches I’ve seen.
    • trgn58 minutes ago
      temporal makes you split up your async tasks explicitly into a message (a request to fulfill a task, thrown up to a temporal server), and a task handler (pulling a tasks-request from a queue, from the temporal server), rather than both wrapped in a vanilla request&#x2F;response cycle.<p>temporal centralizes all the error handling, retry handling, ... some web pages to manage failed, pending tasks.<p>it&#x27;s been good for us, but a real step function in complexity of the app.
    • horsawlarway52 minutes ago
      This is a rough explanation, but generally it does a couple of things that are helpful.<p>Functionally, it&#x27;s a &quot;workflow&quot; runner (ex - you can mostly treat it like a queue, where you&#x27;ve got workers that are picking up work to do).<p>But it wraps a couple of pretty handy features on top like:<p>- It preserves most arguments to actions, and it makes system details deterministic for retries (ex you can re-run a workflow at a later time, and temporal will make sure the code sees details like date and time as though it were the original run, and will yell at you if you try to write code that won&#x27;t be deterministic on retries)<p>- It supports very long waits easily. (ex - very easy to have a workflow do a couple things, wait a week, then do some more things).<p>- It has decent profiling and UI tools<p>- It can &quot;restart&quot; a failed workflow deterministically from the step at which it failed (using details from the original point)<p>---<p>Basically - it&#x27;s a background worker service that&#x27;s put a lot of time and thought into ways to handle failures better.<p>It absolutely still has some considerable pain points though, and I find it difficult to use for larger tasks (ex - their message gRPC size limit of 4mb is a b*&amp;^% to work around, since it often breaks a lot of the utility they provide, and the history cap at 50mb is also really painful in certain situations.)<p>Really - I think it was just the right tool at the right time to make calling LLMs with long waits relatively easy and somewhat foolproof.
      • t2r312149 minutes ago
        Another cool thing is it handles version rollouts. Say a customer started some kind of business process on v1.1 of your code, and then you deploy v1.2. You can configure whether that customer should continue that process on v1.1 - even if it&#x27;s something that takes a long time in the real world - or whether they should be upgraded to 1.2. And it&#x27;s not just one version but you can do this with an entire rainbow of versions across your business (think A&#x2F;B testing, custom workflows for different use cases, lots of dev and staging environments, etc.)
  • ninininino1 minute ago
    Why isn&#x27;t there more love for dbos.dev ?
  • Syntaf14 minutes ago
    Absolutely love temporal, but pretty shocked to see they have a $12.55B valuation.... feels nuts?<p>We&#x27;re using temporal as the foundation for agents running on our platform doing accounting work for clients, it&#x27;s proven extremely effective and I love how durable workflows are within temporal.<p>+100 on the technology, but realizing they are also VC funded makes me a little more cautious when it comes to vendor lock in.
  • wxw1 hour ago
    &gt; Our annualized revenue run rate is up more than 200% year over year, and net dollar retention&#x27;s stayed above 200% since February. In August alone, the platform processed 1.9 trillion billable actions, up more than 350% year over year, while open source installs passed 43 million, up 134% since December 2025. We&#x27;re now working with more than 4,300 paying customers, up 139% year over year, including OpenAI, Snap, NVIDIA, and JPMorgan Chase.<p>Congrats to Temporal! They&#x27;d just previously raised in February, <a href="https:&#x2F;&#x2F;temporal.io&#x2F;blog&#x2F;temporal-raises-usd300m-series-d-at-a-usd5b-valuation" rel="nofollow">https:&#x2F;&#x2F;temporal.io&#x2F;blog&#x2F;temporal-raises-usd300m-series-d-at...</a>
    • bix61 hour ago
      Any absolute rev numbers?
  • fmajid25 minutes ago
    That’s 1&#x2F;3 what IBM paid for Red Hat, simply insane.
  • dzonga1 hour ago
    in the age of agents, surely durable execution is a must.<p>but the money being raised - what is it for ? go to market ? sponsorship &amp; I like that temporal sponsored Crystal Palace.<p>we&#x27;ve so many good durable execution engines.<p>this is the type of VC pollution that will cause companies to end up being acquired by an Italian silverware company (bending spoons).
    • uncletaco1 hour ago
      I’m in an interview loop with them. Hopefully that money is for building my wealth.
    • amelius1 hour ago
      &gt; but the money being raised - what is it for ?<p>Buying DRAM?
      • t2r312147 minutes ago
        Temporal doesn&#x27;t run your AI compute for you, you bring your own hardware on prem or in your cloud account or whereever. Their SaaS is a control plane to coordinate and orchestrate the workers.
  • pksunkara1 hour ago
    Can someone tell me why people prefer temporal over something like <a href="https:&#x2F;&#x2F;restate.dev" rel="nofollow">https:&#x2F;&#x2F;restate.dev</a>?
    • gvdongen36 minutes ago
      Hi! I work for Restate<p>A few key differences. Restate has a more flexible programming model. You don&#x27;t write workflows with activitities, but just durable processes&#x2F;handlers. Durable steps execute inline and get persisted over an open streaming connection in Restate (low latency, lower overhead per durable step, sharing resources like sandboxes) instead of working with a pull-model where each activity executes remotely on a worker. Restate has a lean deployment model with a single binary that can be deployed multiple times to have a highly-available cluster (potentially spread across multiple regions). It is used for large-scale production clusters, and so lightweight here does not mean less reliable than Temporal.<p>You can do the same things with Temporal like sleep for months etc. You can learn more here: <a href="https:&#x2F;&#x2F;restate.dev&#x2F;vs&#x2F;temporal" rel="nofollow">https:&#x2F;&#x2F;restate.dev&#x2F;vs&#x2F;temporal</a>
      • skrtskrt21 minutes ago
        How do “stream over an open connection” and things like “sleep for months” play together?<p>Naively without digging into the code I would look at a “streaming over an open connection” as likely to strictly more brittle.
    • bilalq22 minutes ago
      The responses to this thread seem to be from people who are familiar with Temporal but haven&#x27;t ever actually used Restate. They&#x27;re both durable execution platforms, with differences mostly around how abstractions are organized and how orchestration of work happens (Temporal has you setup worker pools that pull from a queue while Restate pushes to service handlers). If some of your infra runs on serverless providers, Restate will often be a more natural fit.<p>Sure, Temporal is more mature and battle-tested, but Restate is quite nice and I honestly prefer it in most cases.<p>EDIT:<p>I started drafting this reply before seeing someone from the Restate team chimed in.
    • nosequel1 hour ago
      Those two don&#x27;t really compare. Temporal has been around 3 years longer and is a much more heavyweight system. Temporal can support workflows that sleep for months at a time and still reliably finish.<p>I&#x27;m sure there is a place for restate.dev, but it isn&#x27;t in the same place as Temporal.
      • stsffap19 minutes ago
        Disclaimer: I am a co-founder of Restate.<p>Like Temporal, Restate supports workflows that sleep for months at a time and let&#x27;s them reliably finish.<p>It actually does many more useful things. For example, you can have services that remember state across invocations and there is no need for continue-as-new.<p>Since Restate allows inlining durable steps into your workflow, it is very easy to co-locate your workflows with expensive resources such as sandboxes or other per-node resources. And the nice thing is that each durable step is really cheap and adds only minimal overhead.
    • slaughtr1 hour ago
      AI workflows are a convenient fit for temporal, their platform is great for much more than just those. It’s an elegant and easy to use solution for a lot of workflow needs.
    • bpicolo1 hour ago
      Restate is directly inspired by Temporal.
      • stsffap4 minutes ago
        Disclaimer: I am a co-founder of Restate and might be biased.<p>Restate&#x27;s spiritual father is Stateful Functions (<a href="https:&#x2F;&#x2F;nightlies.apache.org&#x2F;flink&#x2F;flink-statefun-docs-master&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nightlies.apache.org&#x2F;flink&#x2F;flink-statefun-docs-maste...</a>) a library for event driven applications built on top of Apache Flink. If you want to learn more about why we started building Restate, I recommend this excellent blog post <a href="https:&#x2F;&#x2F;restate.dev&#x2F;blog&#x2F;why-we-built-restate" rel="nofollow">https:&#x2F;&#x2F;restate.dev&#x2F;blog&#x2F;why-we-built-restate</a>.<p>I understand that Restate and Temporal look similar from a superficial perspective but Restate is not only a durable execution engine but a durable runtime that also provides consistent state and reliable communication. These are the building blocks to build reliable agents and applications w&#x2F;o having to fit them into a workflow-activity like model. If you want to learn more about how Temporal differs from Restate, check out <a href="https:&#x2F;&#x2F;restate.dev&#x2F;vs&#x2F;temporal" rel="nofollow">https:&#x2F;&#x2F;restate.dev&#x2F;vs&#x2F;temporal</a>.
  • jakozaur1 hour ago
    [dead]