Background Processing with Rails, Redis and Sidekiq
06-Sep-2018 2497
In any non-trivial web application you will get to a point where certain requests take so long to answer that your application will break if you try to respond with a synchronous HTTP response.In this case you need to offload the work into a background process and start to build out a slightly more distributed workflow for your backend architecture.This screencast is a quick overview of how to build background processes in Rails apps using Redis and Sidekiq, and then deploy the proper infrastructure onto Heroku.This is a pattern that is necessary to understand to do any kind of serious web development.
Background Processing with Rails, Redis and Sidekiq #ruby #rubydeveloper #rubyonrails #Background #Processing #Rails, #Redis #Sidekiq #redis #sidekiq https://rubyonrails.ba/link/background-processing-with-rails-redis-and-sidekiq