Live data from Hacker News

Genesis of a New Programming Model

stealthrocket.tech

11–18 of 18 posts

Re: Genesis of a New Programming Model

#14
post #13

Sorry, but what does this actually do? I normally solve the problem described here by wrapping the fetch function with a resolving while and a timeout.

To summarize, our scheduler maintains state to allow retries to happen even if the application moves between compute instances, which is quite common when running in the cloud (e.g., deploying on autoscaling containers, or serverless functions).

Re: Genesis of a New Programming Model

#17

> the operation is now guaranteed to run to completion. unless the backend breaks somehow (server changed ip/ssl/imap password...) in which case it will result in an endless useless retry loop?

We can run it forever but it’s rarely useful. Usually, all operations have an associated expiration time so if it’s impossible to succeed it will eventually abort.
Post reply on HN