logo
episode-header-image
Oct 28
31m 54s

Episode 558: Background Batches with JP ...

DAVID HILL

About this episode

JP Camara joins the show to explore background job coordination, real-time collaboration, and the opportunities he sees for Ruby and Rails as AI changes how developers work.

First, JP shares the story behind bringing batches to Solid Queue, from an early proposal to the conference conversations and community interest that helped move the feature forward. He explains how batches let developers treat a group of jobs as a unit, track success and failure, and trigger callbacks when processing finishes—making it easier to coordinate workflows that span many background jobs.

JP also discusses the implementation challenges behind the feature, including database transactions, jobs deferred until a transaction commits, and reducing the performance overhead of tracking batches. He describes his related work on Mission Control Jobs, which gives developers a visual way to inspect batch progress, investigate failures, and find the jobs involved.

The conversation then turns to YRBY, JP’s project for adding real-time collaborative editing to Rails applications. He explains how conflict-free replicated data types, or CRDTs, support Google Docs-style collaboration, and how Ruby bindings to a Rust library let him integrate with Action Cable or AnyCable without requiring a separate Node.js server. He also discusses editor integration, encrypted collaborative text, and his work on allowing AI agents to participate alongside people in shared documents.

Finally, JP reflects on how AI helps him maintain momentum on open source projects while balancing a full-time job and family responsibilities. He shares how his team at Wealthbox uses RubyLLM, why its expressive interface makes working with different AI providers more approachable, and why he believes there is still plenty of valuable work ahead for the Ruby and Rails ecosystem.

YRBY - https://yrby.dev
lexxy-realtime - https://github.com/jpcamara/lexxy-realtime/tree/main
RubyLLM - https://rubyllm.com/

Sponsor
AppSignal: https://appsignal.com/rubyonrailspodcast

Up next

Nov 18
Episode 561: Building Tools & Community with Adrian Marin
What makes a Ruby conference memorable—and what does it take to organize one? Adrian Marin joins David Hill to share lessons from creating Friendly.rb as David prepares to launch Ruby Magic in Orlando. They discuss finding sponsors, choosing a venue, balancing invited speakers wi ... 
40m 10s
Nov 11
Episode 560: Do It While Crying with Rachael Wright-Munn
What does it take to make an open source project welcoming to contributors—and manageable for its maintainers—in the age of AI? Rachael Wright-Munn joins David Hill to share what she’s learning through her work on Ruby Events, where supporting new contributors and reviewing AI-as ... 
41m 16s

Recommended Episodes

Jan 2019
Gary Vaynerchuk - Land Your Dream Client. Use the Same Strategy that got Gary V on Path To Mastery Podcast to Land Your Dream Client.
<p>Gary Vaynerchuk is the chairman of <a href= "http://vaynerx.com/">VaynerX</a>, a modern-day media and communications holding company, and the active CEO of <a href= "http://vaynermedia.com/">VaynerMedia</a>, a full-service advertising agency servicing Fortune 100 clients acros ... 
37m 25s
Mar 2025
Stand Out By Telling The Truth | Ep 825
Wanna scale your business? Click here. Welcome to The Game w/Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep them l ... 
36m 9s
Mar 2025
15 Brutally Honest Truths You Have To Understand To Succeed | Ep 831
Wanna scale your business? Click here. Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep them ... 
37m 3s
Jul 2016
Chad Hyams, Keller Williams Realty productivity and growth director, One Thing trainer and Maps coach, discusses what it takes to achieve massive results in life and business
tail spinning
39m 15s
Feb 2025
Helping A Chiro Scale Past 6 Locations | Ep 818
Want to scale your business? Click here. Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep the ... 
38m 52s
Apr 2025
My Framework For Knowing When To Quit (on DOAC with Steven Bartlett Pt. 1) | Ep 837
Wanna scale your business? Click here. Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep them ... 
1h 32m
Mar 2025
Demonstrate, Don't Describe | Ep 827
Wanna scale your business? Click here. Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep them ... 
48m 23s
Mar 2025
STOP Following Your Passion | 830
Wanna scale your business? Click here. Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep them ... 
27m 37s
Jan 2025
Helping a Personal Stylist Scale Past $3M | Ep 811
Want to scale your business? Click here. Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep the ... 
43m 2s
Dec 2024
These 3 Things Will Make Your Business Unstoppable | Ep 797
Welcome to The Game w/ Alex Hormozi, hosted by entrepreneur, founder, investor, author, public speaker, and content creator Alex Hormozi. On this podcast you’ll hear how to get more customers, make more profit per customer, how to keep them longer, and the many failures and lesso ... 
33m 22s