• 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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help