Makes your background jobs interruptible and resumable by design.
02-May-2019 1868
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 #Makes #background #interruptible #resumable #design. https://rubyonrails.ba/link/makes-your-background-jobs-interruptible-and-resumable-by-design