How To Use Active Job In Rails

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 https://rubyonrails.ba/single/how-to-use-active-job-in-rails

Nezir Zahirovic

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

related articles