Looks like the publisher may have taken this series offline or changed its URL. Please contact support if you believe it should be working, the feed URL is invalid, or you have any other concerns about it.
با برنامه Player FM !
پادکست هایی که ارزش شنیدن دارند
حمایت شده


Fixing a Thread-Safety Bug with Nate Berkopec
بایگانی مجموعه ها ("فیدهای غیر فعال" status)
When? This feed was archived on July 18, 2025 14:09 (
Why? فیدهای غیر فعال status. سرورهای ما، برای یک دوره پایدار، قادر به بازیابی یک فید پادکست معتبر نبوده اند.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 359828805 series 2552731
Can you tell if a Ruby gem is really thread-safe or not? And how do you fix a seemingly thread-safety issue that can be something else entirely?
We had no idea. So we asked Nate Berkopec to help us. Nate is an expert in Ruby performance.
The verdict: nuking all shared global mutable state in your Ruby code is a bad idea if you don't know what you're doing!
Listen to this episode to learn:
- How and why faker-ruby became thread-unsafe, especially for Puma users
- Questions to ask yourself when trying to debug thread-safety issues
- Shared global mutable state is not always the villain, and is not the source of all thread-safety issues
- Nate's "watch-out" list of things that can cause undesired behavior when running multi-threaded Ruby applications: Constants, Class Variables, and Rack Middleware.
Episode Notes
🔗 Full transcript and links
-----
A special thanks to Valentino Stoll, nfstern02, and Gregg P for sponsoring hexdevs!
Enjoy!
37 قسمت
بایگانی مجموعه ها ("فیدهای غیر فعال" status)
When?
This feed was archived on July 18, 2025 14:09 (
Why? فیدهای غیر فعال status. سرورهای ما، برای یک دوره پایدار، قادر به بازیابی یک فید پادکست معتبر نبوده اند.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 359828805 series 2552731
Can you tell if a Ruby gem is really thread-safe or not? And how do you fix a seemingly thread-safety issue that can be something else entirely?
We had no idea. So we asked Nate Berkopec to help us. Nate is an expert in Ruby performance.
The verdict: nuking all shared global mutable state in your Ruby code is a bad idea if you don't know what you're doing!
Listen to this episode to learn:
- How and why faker-ruby became thread-unsafe, especially for Puma users
- Questions to ask yourself when trying to debug thread-safety issues
- Shared global mutable state is not always the villain, and is not the source of all thread-safety issues
- Nate's "watch-out" list of things that can cause undesired behavior when running multi-threaded Ruby applications: Constants, Class Variables, and Rack Middleware.
Episode Notes
🔗 Full transcript and links
-----
A special thanks to Valentino Stoll, nfstern02, and Gregg P for sponsoring hexdevs!
Enjoy!
37 قسمت
همه قسمت ها
×
1 Fixing a Thread-Safety Bug with Nate Berkopec 45:38

1 Building Technical Wealth and Improving Legacy Code with M. Scott Ford 54:06

1 How to Open Source with Richard Schneeman (schneems) 57:47

1 How to Beat Impostor Syndrome and Be a Happy Developer with Amor Muto 1:13:00

1 How to Be a Faster Coder? 25:52

1 The Surprising Way to Become a Senior Software Developer with Caroline Salib 45:45

1 How to Find Your Ruby Software Career Path with Mina Slater 42:03

1 Unhappy as a Developer? How Not To Be Miserable with Dr. Randy Paterson 1:11:34

1 Ruby Code Quality with Ernesto Tagwerker 56:10

1 #25 The Unstuck Guide for Developers 17:47

1 #24 Why no one reads your tech blog and how to fix that 25:57

1 #23 Taking the Leap into Entrepreneurship with Monica Lent 51:17

1 #22 Unusual Tech Jobs with Brian David Hall 39:14

1 #21 Why Michael Lynch Quit Google to Work for Himself as a Solo Founder 43:17

1 #20 Growing a micro-SaaS to $30k MRR with Preetam Nath and Sankalp Jonna from DelightChat 1:08:29

1 #19 Learning in Public with Chris Bongers from Daily Dev Tips 49:41

1 #18 Ask hexdevs: How can Dmitrii move to Canada? 55:40

1 #17 Adopting Shape Up: How Raymond Huang is running Shape Up at Unbounce 54:58

1 #16 Finding Product-Market Fit with Kenny MacKenzie 1:30:25

1 #15 Getting a Job in Germany with Fabiano Beselga 24:21

1 #14 The Work of a CTO: Building a Great Engineering Culture with Fabiano Beselga 1:24:58


1 #13 Building Software for Startups in San Francisco and Leading Development Teams with Amed Rodriguez 1:08:53

1 #12 Sharpening Your Coding Skills by Contributing to Open-source with Gui Vieira 56:46

1 #11 Code-Inspired Music and Open Source Projects with Linda Peng 46:59

1 #10 Mastering your Financial Life and Living Healthy with Andrea Bernal 56:24

1 #9 From Self-Taught Photographer to Principal Engineer with Keith Bingman from Unbounce 50:10

1 #8 Growing the Women in Web Dev International Community with Jenny Chan 1:05:03

1 #7 Human-Computer Interaction Research and front-end development with Antoine Ponsard from Asana 1:01:04

1 #6 Elixir and Functional Programming with Ulisses Almeida 1:14:08

1 #5 The Business of Hiring International Developers with Ilya Brotzky of VanHack 1:20:47

1 #4 Talking about Erlang with Brian St. Amand 1:19:42

1 #3 Front-End Development and UX with Gleidy Mendoza 49:38

1 #2 Stella Miranda - From Colombia to Vancouver 42:29

1 #1 Meet the hexdevs team 5:47
به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.