Hacker News new | past | comments | ask | show | jobs | submit login
Distributed Coroutines: a new primitive soon in every developer's toolkit (stealthrocket.tech)
9 points by pelletier 10 months ago | hide | past | favorite | 3 comments



  async def mycoroutine():
      await operationA()
      await sleep(24 * 60 * 60) # wait 1 day
      await operationB()

The article lacks an example demonstrating how it can solve a real problem. I felt the authors aren't able to come up with such a concrete example nor does it talk about its overhead and global state atomicity.


The goal of this article was to lay the concepts and give insight into the technical machinery, so you’re right, it didn’t contain a lot of concrete examples.

I invite you to check out part 2 of this series, which focuses more on the Python implementation https://stealthrocket.tech/blog/distributed-coroutines-in-py...

Stay tuned for more content as well, we couldn’t fit everything in one post!


Hi HN,

We've had enough of traditional orchestration frameworks. That's why we created dispatch.run, aiming to streamline coding by integrating resilience more naturally.

The core of our solution? Distributed Coroutines. These aren't your typical tools; they're designed to enhance flexibility and reduce complexity in distributed systems.

We've detailed our approach and the potential of Distributed Coroutines in a new blog post. It's about making development smoother and more intuitive.

Let's discuss the future of distributed computing.




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

Search: