Error-handling and locality
natemeyvis.com·19h
🌐Distributed systems
Preview
Report Post
  • 09 Dec, 2025 *

Here’s a common problem:

One subsystem (a service, a front end, or whatever) calls into another subsystem (another service, the back end, or whatever). There is a happy path, but things can go wrong.

For concreteness, let’s say the first subsystem is a front end for submitting hat specifications, and the second subsystem is a back end for processing the front end’s messages. If the request succeeds, the back end sends a success message. (It would probably also send information about the resulting object, but we don’t need to worry about that here.)

What if something can go wrong? Let’s say the back end needs to make sure that the hat size is between 6 and 8, inclusive. Now the back end sends either the success message or some message indicating the "invali…

Similar Posts

Loading similar posts...