Hacker News new | past | comments | ask | show | jobs | submit login

  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!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: