Jan Peterka<p>I'm adding background jobs to my new app (Rails7.2 + SolidQueue), and not sure how things should be designed.<br>I need to run daily job to generate notifications on user-created task due/reminder date.</p><p>Should I:</p><p>1) create one job that iterates all relevant tasks and generates notifications? (might get slow with more users)</p><p>2) have one job that iterates tasks, and creates separate job for every relevant task?</p><p>3) something else?</p><p><a href="https://ruby.social/tags/rubyonrails" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubyonrails</span></a> <a href="https://ruby.social/tags/activejob" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>activejob</span></a> <a href="https://ruby.social/tags/SolidQueue" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SolidQueue</span></a></p>