Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's impossible to have at least once delivery in an environment with an arbitrary level of network failure.


You can have at-least-once-or-fail though. Just send a message and require an ack. If the ack doesn’t come after a timeout, try n more times, then report an error, crash, or whatever.


Sure you can: keep sending one message per second until you receive a response from the recipient saying "OKAY I HEARD YOU NOW SHUT UP!"




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

Search: