Makes your background jobs interruptible and resumable by design.

The job would run fairly quickly when you only have a hundred User records. But as the number of records grows, it will take longer for a job to iterate over all Users. Eventually, there will be millions of records to iterate and the job will end up taking hours or even days.With frequent deploys and worker restarts, it would mean that a job will be either lost or restarted from the beginning. Some records (especially those in the beginning of the relation) will be processed more than once.
Makes your background jobs interruptible and resumable by design. #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/makes-your-background-jobs-interruptible-and-resumable-by-design

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles