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

What is native cloud?

The world of software development is changing at breakneck speed. In an economic environment where digital technology plays an increasingly central role, companies are looking to create applications that are ever more responsive, scalable and resilient.
Company

Clever Cloud partners with QazCloud to create a sovereign AI ecosystem and strengthen R&D capabilities in Kazakhstan

Astana, 28 May 2025 - Clever Cloud, a European provider of Platform-as-a-Service (PaaS) solutions, announces the signing of a Memorandum of Understanding (MoU) with QazCloud, a major player in cloud infrastructure in Kazakhstan.
Press

How Madietenligne simplified its HDS compliance with a certified PaaS

HDS compliance is not just a token of seriousness; it's an essential prerequisite for all companies handling healthcare data.
Event Guests Testimonial