Hacker Newsnew | past | comments | ask | show | jobs | submit | cammil's commentslogin

Its not clear to me why youd need a tool to do this. Arent transactions and queue (say with celery) easy to write?


Not necessarily easy to do performantly, scalably and well. Oban has been doing this in Elixir at real scale for a decent while now.

Why do you need a tool? Well. You say celery. I am inclined to say Oban. And I'd say both are tools.


I don't see how the frameworks solve anything more than organising some tasks in a sequence. The underlying tasks still have to be idempotent.

Please do refute. I'm genuinely interested in this problem as I deal with it daily.


Sure, I'll bite. Task-level idempotency is not the problem that durable execution platforms are solving. The core problem is the complexity that arises when one part of your async job becomes distributed: the two common ones are distributed runtime (compute) and distributed application state.

Let's just take the application state side. If your entire async job can be modeled as a single database transaction, you don't need a durable execution platform, you need a task queue with retries - our argument at Hatchet is that this is many (perhaps most) async workloads, which is why the durable task queue is the primary entrypoint to Hatchet, and durable execution is only a feature for more complex workloads.

But once you start to distribute your application state - for example, different teams building microservices which don't share the same database - you have a new set of problems. The most difficult edge case here is not the happy path with multiple successful writes, it's distributed rollbacks: a downstream step fails and you need to undo the upstream step in a different system. In these systems, you usually introduce an "orchestrator" task which catches failures and figures out how to undo the system in the right way.

It turns out these orchestrator functions are hard to build, because the number of failure scenarios are many. So this is why durable execution platforms place some constraints on the orchestrator function, like determinism, to reduce the number of failure scenarios to an amount easy to reason about.

There are other scenarios other than distributed rollbacks that lead to durable execution, it turns out to be a useful and flexible model for program state. But this is a common one.


It bothered me that you called your self promotion nasty. Not sure why. You made something, i see no harm in sharing it.


I was being sarcastic, but I get your point


Just thought this as i glanced your post. See you later!


Tanha is about wholesome and unwholesome desires, ie those that lead to or dont lead to liberation. Its not about desires that do or do not change you, as this article is categorizing it.


Do wholesome desires, like practicing the dharma, not change you? Do unwholesome desires, like staying stuck in your addictions, not trap you?

My point is that desire is something that is deeply explored in all three major schools of Buddhism. In the Vajrayana to the point that we take the most difficult of our base desires as paths of practice, like seen in karmamudra.


One could argue that staying in one place unchanged, in a space barred with thin desires, is akin to being imprisoned. And that following newly cultivated thick desires out of one’s thin prison sounds just like liberation to me.


Screenshots preserve exactly what the user sees, and for this reason i believe they are the best format for evidence. They also preserve their look when your messaging software starts doing funny things with it. They are immune to accidental edits. They are reliable in the sense that if the original source ever changed, no one would argue that you didnt see what you saw with a screenshot. They wont degrade when the content of a url changes.

We do use screenshots extensively, but alongside links and copied text when necessary


Why cant we hash libraries and trusted parties publish security checked hashes?


I assume this is at the browser "session" level? In another browser, or private-session, would the locks be distinct?


You hold the vision, so tell people whatever you want. That's my interpretation.


This reminds me of dependent origination from Buddhism.


Very, very much so. And she is literally describing her existence before language as a state of pure craving, aversion, ignorance.


Wikipedia as usual has a nice write up - https://en.wikipedia.org/wiki/Prat%C4%ABtyasamutp%C4%81da


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: