Remote Ruby

Concurrency Problems Bro

02.10.2023 - By Jason Charnes, Chris Oliver, Andrew MasonPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

[00:01:52] There’s a Remote Uber Eats Food Review going on here.

[00:07:20] Andrew explains the new Stimulus Outlets API and what it does.

[00:12:58] Jason talks about this week and dealing with isolated things that are decoupled and battling race conditions with events firing. Chris mentions it has concurrency problems and makes things much harder.   

[00:16:14] Speaking of webhooks, Jason shifts gears and tells us about a Tweet from Wes Bos that ruined his morning. Also, he explains that he’s only been doing connected webhooks on Job Boardly, what he did with stripe event, and wonders if Chris encountered what he did with stripe event.

[00:20:04] When Jason looked into Stripe event, he noticed you can give multiple signing secrets since there’s a separate secret for each connect and regular and we find out how it’s used.

[00:22:30] In case you didn’t know, Stripe event isn’t a Stripe package, it’s a third-party gem for processing stripe webhooks and the guys explain how it works. Also, Chris talks about the friendly id history feature and Jason tells us about using routing constraints. 

[00:26:05] Chris feels like not enough people use the routing constraints and Jason details what routing constraints does and how he uses it with a board constraint.

[00:31:48] What’s the downside to current attributes and we’ve got concurrency problems, bro! 

[00:34:55] Chris gives a shoutout to Carlos Antonio who’s working on fixing up Responders and Devise, which is so needed. Also, he shares one of the Jumpstart customers talking about integrating with an API that doesn’t have a Ruby gem, and Chris tells us he had a trick up his sleeve and what he did. 

[00:43:17] Andrew shares a pro tip of creating class methods, and we hear about a new little gem Chris started working on called, ReviseAuth, and he’s looking for contributors. Panelists: Jason Charnes Chris Oliver Andrew Mason

Sponsor: Honeybadger

Links: Jason Charnes Twitter Chris Oliver Twitter Andrew Mason Twitter Viral review of Olive Garden makes 85 year old grandma internet star (yahoo! news) Stimulus Outlets  Stripe_event 2.7.0 Wes Bos Tweet Friendly_id 5.5.0 Carlos Antonio Twitter Rails adds ‘authenticate_by’ method when using ‘has_secure_password’ ReviseAuth Ruby Radar Twitter Ruby for All Podcast

More episodes from Remote Ruby