The Bike Shed cover image

313: Forty-Seven Percent

The Bike Shed

00:00

Is It Possible to Incue a Data Base Transaction?

The idea is, within some processing logic that we have in our system, we find a record and then we ned to opdate that record. And then we also want to inform the user. So were gon to incue a job to send the email notification. But for all of the data base work, we are wrapping it in a transaction because we want it to either succeed or fail atomically. We're doing all the record up dates, and then the last piece of work that we want to think about is incuing the job to sent the email. The problem is, if we're still within that data base transaction, if it's yet to be committed, then when side

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app