#Background-Jobs
4 notas · última:
Background jobs with Oban, part 1: stop blocking your LiveView
The post moves preview fetching out of a LiveView into an Oban background job, showing installation, migration, configuration, worker code, and job enqueueing.
How to use Rails Active Job
The article explains how Rails Active Job standardizes queue adapters and shows when to move work off the request cycle for faster responses, steadier load, and background processing.
Ruby Concurrency and Parallelism: A Practical Primer
The article explains the difference between concurrency and parallelism in Ruby and compares forking, threading, thread pools, and background jobs, with performance and resource tradeoffs.
Don’t Fear the Reaper: Detecting Failed Delayed Job Workers
The post explains how to detect failed Delayed Job workers sooner by adding worker heartbeats and a reaper process that unlocks orphaned jobs instead of waiting for max_run_time.
