Remote Ruby cover image

Concurrency Problems Bro

Remote Ruby

00:00

JavaScript Webhooks - You're on a Roll.

We were running into this problem where like we were sending two of the same event over and they ended up in a race with each other. So the data was actually bad because the second one landed before the first one. And then the first one didn't have all the correct data. Yeah, that's like your standard webhook arriving out of order stuff. It's just a giant pain to deal with. At least with webhooks, you can say, okay, this happened. Give me the latest data,. But in a JavaScript event, it's like, how are you going to pull the latest data? We're not using full react or whatever with all the state there.

Play episode from 14:54
Transcript

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