Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Coerce – Actor runtime for Rust using async/await and tokio channels. Parent comment
Networks are much less reliable or predictable than a PCI or SATA bus. You have to honesty handle timeouts, unavailability, retries at the very least.
Hiding this from the user is usually a bad idea. An intelligent handling layer does help, but it cannot e.g. entirely mask unavailability.
So the common interface would have to be the handling-it-all interface, likely as a number if separate traits.
There are no comments on this comment yet.
Networks are much less reliable or predictable than a PCI or SATA bus. You have to honesty handle timeouts, unavailability, retries at the very least.
Hiding this from the user is usually a bad idea. An intelligent handling layer does help, but it cannot e.g. entirely mask unavailability.
So the common interface would have to be the handling-it-all interface, likely as a number if separate traits.