{"id":2056,"date":"2016-08-31T11:16:23","date_gmt":"2016-08-31T05:46:23","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=2056"},"modified":"2022-12-13T16:27:55","modified_gmt":"2022-12-13T10:57:55","slug":"migrate-from-delayed-job-to-sidekiq","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/","title":{"rendered":"Migrate from delayed_job to Sidekiq"},"content":{"rendered":"\n<p>We help our clients to roll-out MVP as earliest as possible using a unique Rapid Prototyping approach of our Canvas to Cloud methodology. For that purpose, we use tools and technologies which are easy to learn and integrate. So&nbsp;<a href=\"https:\/\/github.com\/collectiveidea\/delayed_job\" target=\"_blank\" rel=\"noopener noreferrer\"><i>delayed_job<\/i><\/a>&nbsp;with&nbsp;<a href=\"http:\/\/guides.rubyonrails.org\/active_job_basics.html\" target=\"_blank\" rel=\"noopener noreferrer\"><i>ActiveJob<\/i><\/a>&nbsp;has been our first choice for any MVP being built at&nbsp;<a href=\"https:\/\/www.botreetechnologies.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">BoTree<\/a>&nbsp;for all background processing.<\/p>\n\n\n\n<p>Once clients see traction in the MVP, they want us to build the enterprise solution and scale it. By nature, delayed_job doesn&#8217;t scale well for large number of jobs because of following limitations:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Stores jobs in a database table, it slows down your application if there is a huge backlog of pending\/failed jobs.<\/li><li>Spin off processes instead of thread for each job.<\/li><\/ol>\n\n\n\n<p>To overcome this limitation in terms of scalability, we have a few choices like&nbsp;<a href=\"https:\/\/github.com\/mperham\/sidekiq\" target=\"_blank\" rel=\"noopener noreferrer\"><i>Sidekiq<\/i><\/a>, <a href=\"https:\/\/github.com\/resque\/resque\" target=\"_blank\" rel=\"noopener noreferrer\"><i>Resque<\/i><\/a>, <a href=\"https:\/\/github.com\/brandonhilkert\/sucker_punch\" target=\"_blank\" rel=\"noopener noreferrer\"><i>Sucker Punch<\/i><\/a>&nbsp;etc. for background processing and&nbsp;<i>Sidekiq<\/i>&nbsp;has always been our choice for following reasons:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Stores jobs in&nbsp;<a href=\"http:\/\/redis.io\/\" target=\"_blank\" rel=\"noopener noreferrer\"><i>Redis<\/i><\/a> (in-memory database) which is inherently faster over other databases.<\/li><li>Spin off very lightweight workers for each job to conserve resources.<\/li><li>Provides&nbsp;<a href=\"https:\/\/github.com\/mperham\/sidekiq\/wiki\/Monitoring#web-ui\" target=\"_blank\" rel=\"noopener noreferrer\">Web UI<\/a>&nbsp;to monitor the job processing.<\/li><\/ul>\n\n\n\n<p>Here are a few simple steps to replace&nbsp;<i>delayed_job<\/i>&nbsp;with&nbsp;<i>Sidekiq<\/i>:<\/p>\n\n\n\n<p><b>Step 1: Update the Gemfile<\/b><\/p>\n\n\n\n<p>Replace<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'delayed_job_active_record'<\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'delayed_job_mongoid'<\/pre>\n\n\n\n<p>with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'sidekiq'<\/pre>\n\n\n\n<p>and bundle the application again.<\/p>\n\n\n\n<p><b>Step 2: Change ActiveJob queue adapter in config\/application.rb<\/b><\/p>\n\n\n\n<p>Replace<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">config.active_job.queue_adapter = :delayed_job<\/pre>\n\n\n\n<p>with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">config.active_job.queue_adapter = :sidekiq<\/pre>\n\n\n\n<p><b>Step 3: Create config\/<\/b><a href=\"https:\/\/github.com\/mperham\/sidekiq\/wiki\/Advanced-Options\" target=\"_blank\" rel=\"noopener noreferrer\"><b>sidekiq.yml<\/b><\/a> <b>and configure queues<\/b><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">:queues:\n  - [default, 1]\n<\/pre>\n\n\n\n<p>You can configure as many queues with priority as required here.<\/p>\n\n\n\n<p><b>Step 4: Start&nbsp;<i>Sidekiq<\/i><\/b><\/p>\n\n\n\n<p>We can start&nbsp;<i>delayed_job<\/i>&nbsp;with following command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bin\/delayed_job start<\/pre>\n\n\n\n<p>and&nbsp;<i>Sidekiq<\/i>&nbsp;with following command from the application root<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sidekiq<\/pre>\n\n\n\n<p><b>Step 5. Cleanup<\/b><\/p>\n\n\n\n<p><i>delayed_job<\/i>&nbsp;stores jobs in&nbsp;<i>delayed_jobs<\/i> table which now no longer required. So write a migration to drop this table<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">class DropDelayedJobTable &lt; ActiveRecord::Migration\n  def up\n    drop_table :delayed_jobs\n  end\n\n  def down\n    raise ActiveRecord::IrreversibleMigration\n  end\nend\n<\/pre>\n\n\n\n<p>and run the migration to free up some space.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Additional Changes<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Devise<\/h3>\n\n\n\n<p>If you are using&nbsp;<a href=\"https:\/\/github.com\/plataformatec\/devise\" target=\"_blank\" rel=\"noopener noreferrer\"><i>devise<\/i><\/a>&nbsp;and send notification emails to users in background, then you need to make following changes for&nbsp;<i>Sidekiq<\/i><\/p>\n\n\n\n<p><b>Step 1: Modify config\/initializers\/devise_async.rb<\/b><\/p>\n\n\n\n<p>Replace<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Devise::Async.backend = :delayed_job<\/pre>\n\n\n\n<p>with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Devise::Async.backend = :sidekiq<\/pre>\n\n\n\n<p><b>Step 2: Add mailer queue to config\/sidekiq.yml<\/b><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">:queues:\n  - [mailer, 2]\n  - [default, 1]\n\n<b>Steps 3: Make sure you<\/b> <a href=\"https:\/\/github.com\/plataformatec\/devise#activejob-integration\" target=\"_blank\" rel=\"noopener noreferrer\">override<\/a>&nbsp;following method in&nbsp;<i>User<\/i>&nbsp;model<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">def send_devise_notification(notification, *args)\n  devise_mailer.send(notification, self, *args).deliver_later\nend\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Capistrano<\/h3>\n\n\n\n<p>If you deploy application using&nbsp;<a href=\"http:\/\/capistranorb.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><i>capistrano<\/i><\/a>&nbsp;then you need to do the following steps to replace&nbsp;<i>delayed_job<\/i>&nbsp;with&nbsp;<i>Sidekiq<\/i><\/p>\n\n\n\n<p><b>Step 1: Modify Gemfile<\/b><\/p>\n\n\n\n<p>Replace<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'capistrano3-delayed-job', require: false<\/pre>\n\n\n\n<p>with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'capistrano-sidekiq', require: false<\/pre>\n\n\n\n<p>and bundle the application.<\/p>\n\n\n\n<p><b>Step 2: Modify Capfile<\/b><\/p>\n\n\n\n<p>Replace<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">require 'capistrano\/delayed-job'<\/pre>\n\n\n\n<p>with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">require 'capistrano\/sidekiq'<\/pre>\n\n\n\n<p><b>Step 3: Modify config\/deploy.rb<\/b><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>There is a known bug that prevents sidekiq from starting when pty is true on Capistrano 3.<\/p><\/blockquote>\n\n\n\n<p>Set capistrano environment variable\u00a0<i>pty<\/i> for that reason<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">set :pty, false<\/pre>\n\n\n\n<p>and then deploy the application again.<\/p>\n\n\n\n<p><b>Step 4: Manage remote Sidekiq from local machine<\/b><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cap production sidekiq:start            # Start sidekiq\ncap production sidekiq:stop             # Stop sidekiq\ncap production sidekiq:restart          # Restart sidekiq\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Sidekiq Web<\/h3>\n\n\n\n<p>Let us enable this useful visual interface to monitor the jobs. Add following configuration in\u00a0<i>routes.rb<\/i>\u00a0of your application.<script src=\"https:\/\/gist.github.com\/AmitPatel-BoTreeConsulting\/29b7bde94be4015746ab770840b86c96.js\"><\/p>\n\n\n\n<p>This configuration protects production application via basic authentication. All you need to do is set the username and password in environment with the mentioned environment variables.<\/p>\n\n\n\n<p>Now restart the application and you can access&nbsp;<i>Sidekiq<\/i>&nbsp;web interface at&nbsp;<b><i>\/sidekiq<\/i><\/b>&nbsp;path in any web browser.<\/p>\n\n\n\n<p>Done!<\/p>\n\n\n\n<p><a href=\"https:\/\/www.botreetechnologies.com\/web-application-development\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Click here for more details...<\/strong><\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>At <a href=\"https:\/\/www.botreetechnologies.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">BoTree Technologies<\/a>, we build enterprise apps with our web development team of 30+ engineers.<\/p>\n\n\n\n<p>We also specialize in RPA, AI, Python, Django, JavaScript and ReactJS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\" target=\"_blank\" rel=\"noopener noreferrer\">Consulting is free<\/a> - let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>We help our clients to roll-out MVP as earliest as&#8230;<\/p>\n","protected":false},"author":3,"featured_media":14034,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,57],"tags":[],"class_list":["post-2056","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Migrate from delayed_job to Sidekiq<\/title>\n<meta name=\"description\" content=\"To overcome this limitation in terms of scalability, we have a few choices like Sidekiq, Resque, Sucker Punch etc. for background processing.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Migrate from delayed_job to Sidekiq\" \/>\n<meta property=\"og:description\" content=\"To overcome this limitation in terms of scalability, we have a few choices like Sidekiq, Resque, Sucker Punch etc. for background processing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-31T05:46:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-13T10:57:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1330\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Amit Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amit Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\"},\"author\":{\"name\":\"Amit Patel\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/86645099906a429b0c5ca4de2bf92c46\"},\"headline\":\"Migrate from delayed_job to Sidekiq\",\"datePublished\":\"2016-08-31T05:46:23+00:00\",\"dateModified\":\"2022-12-13T10:57:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\"},\"wordCount\":560,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg\",\"articleSection\":[\"Development\",\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\",\"name\":\"Migrate from delayed_job to Sidekiq\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg\",\"datePublished\":\"2016-08-31T05:46:23+00:00\",\"dateModified\":\"2022-12-13T10:57:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/86645099906a429b0c5ca4de2bf92c46\"},\"description\":\"To overcome this limitation in terms of scalability, we have a few choices like Sidekiq, Resque, Sucker Punch etc. for background processing.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg\",\"width\":2000,\"height\":1330,\"caption\":\"Sidekiq\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Migrate from delayed_job to Sidekiq\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/86645099906a429b0c5ca4de2bf92c46\",\"name\":\"Amit Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/amit-patel-1-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/amit-patel-1-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/amit-patel-1-150x150.png\",\"caption\":\"Amit Patel\"},\"description\":\"Amit is the COO and Co-founder of BoTree Technologies. He is a developer advocate and solution architect at the company. He has helped many SME and Large corporations digitize their business operations. He loves hanging out with friends and meditate.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Migrate from delayed_job to Sidekiq","description":"To overcome this limitation in terms of scalability, we have a few choices like Sidekiq, Resque, Sucker Punch etc. for background processing.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/","og_locale":"en_US","og_type":"article","og_title":"Migrate from delayed_job to Sidekiq","og_description":"To overcome this limitation in terms of scalability, we have a few choices like Sidekiq, Resque, Sucker Punch etc. for background processing.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2016-08-31T05:46:23+00:00","article_modified_time":"2022-12-13T10:57:55+00:00","og_image":[{"width":2000,"height":1330,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg","type":"image\/jpeg"}],"author":"Amit Patel","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Amit Patel","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/"},"author":{"name":"Amit Patel","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/86645099906a429b0c5ca4de2bf92c46"},"headline":"Migrate from delayed_job to Sidekiq","datePublished":"2016-08-31T05:46:23+00:00","dateModified":"2022-12-13T10:57:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/"},"wordCount":560,"commentCount":0,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg","articleSection":["Development","Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/","url":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/","name":"Migrate from delayed_job to Sidekiq","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg","datePublished":"2016-08-31T05:46:23+00:00","dateModified":"2022-12-13T10:57:55+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/86645099906a429b0c5ca4de2bf92c46"},"description":"To overcome this limitation in terms of scalability, we have a few choices like Sidekiq, Resque, Sucker Punch etc. for background processing.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/08\/sidekiq.jpeg","width":2000,"height":1330,"caption":"Sidekiq"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/migrate-from-delayed-job-to-sidekiq\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Migrate from delayed_job to Sidekiq"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/86645099906a429b0c5ca4de2bf92c46","name":"Amit Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/amit-patel-1-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/amit-patel-1-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/amit-patel-1-150x150.png","caption":"Amit Patel"},"description":"Amit is the COO and Co-founder of BoTree Technologies. He is a developer advocate and solution architect at the company. He has helped many SME and Large corporations digitize their business operations. He loves hanging out with friends and meditate."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=2056"}],"version-history":[{"count":5,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2056\/revisions"}],"predecessor-version":[{"id":18266,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2056\/revisions\/18266"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/14034"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=2056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=2056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=2056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}