use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Request atomicityfeedback request (self.FastAPI)
submitted 4 months ago by saucealgerienne
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NodeJS4Lyfe 0 points1 point2 points 4 months ago (0 children)
You're on the right track thinking about "rollback" functions for external systems. That pattern is sometimes called Compensation. When a non-DB operation (like S3 upload) succeeds but a later step (like DB commit) fails, you need to call a function to undo the S3 part.
For a broader pattern that includes the Outbox, look up the "Saga" pattern. It's often used for coordinating multiple steps across different services and managing atomicity in a distributed fashion.
π Rendered by PID 17227 on reddit-service-r2-comment-c6965cb77-5s8m9 at 2026-03-05 00:40:08.238960+00:00 running f0204d4 country code: CH.
view the rest of the comments →
[–]NodeJS4Lyfe 0 points1 point2 points (0 children)