Rails 4 apps backed by Sidekiq + Clever Cloud.

At Clever Cloud, we want developers to be happy. To achieve that we try to adapt as quickly as we can to users needs. The other day, someone asked for Sidekiq support for their Rails applications.

What's Sidekiq

Sidekiq is a solution to run long background tasks in ruby. It works by running a background server and treating jobs stored in a Redis. It's helpful to delay tasks, take a long API call to the background while still be able to answer to a request in a timely manner.

How do I use Sidekiq on Clever Cloud?

First, you need a Redis instance. Start by provisioning a redis addon on Clever Cloud. Remember to link the redis add-on to your application in the Console.

The redis addon provides a REDIS_URL environment variable which will be used by sidekiq to connect to the redis addon.

  • The next and only step is to add/modify the clevercloud/ruby.json file to add the
    "sidekiq" flag:
{
   "deploy": {
      "sidekiq": true
   }
}

Then commit and push your application, and you should be all set!

Blog

À lire également

Clever Cloud presents its latest innovations at ACCES 2025

Clever Cloud – ACCES Conference, Paris, 11 December 2025
Company Press

Critical Vulnerability in React Server Components and Next.js: What Clever Cloud Customers Must Do


On December 3rd, a critical vulnerability (CVE-2025-55182) affecting React Server Components (RSC) was disclosed by the React team. This…

Company

Otoroshi 17.9 is here: discover mailer, Swagger UI, zip site, llms.txt, workflows

Since last year, we have been offering our customers a simplified deployment of Otoroshi, an API Gateway that meets these needs and many more. Now that version 17.9 is available, let’s explore some of its lesser-known features and new additions.
Company