How To Use Active Job In Rails
17-Sep-2018 2945
Active Job is introduced in Rails 4.2 version, Active Job in Rails is a framework for creating, scheduling and executing background Jobs.For example, your business requirement includes sending a notification email to all your registered users, let us say there are thousand registered users, let us consider it takes 1 second to send an email to the single user, so for sending 1000 users it will take 1000 seconds which is equal to 17 minutes approximately. So you need to wait for 17 minutes to complete the task, this 17 minutes you cannot access any web page of your application since it stops the execution of the task.
How To Use Active Job In Rails #ruby #rubydeveloper #rubyonrails #Active #Rails #active https://www.rubyonrails.ba/link/how-to-use-active-job-in-rails