Rails Installation

Guided Install

When you launch Judoscale for the first time, you'll be prompted to install the appropriate gems:

Screenshot: Judoscale package installation instructions

You can follow these instructions within the app, or you can follow the same instructions below.

Manual Install

Rails Web Process

Installing Judoscale for the Rails web process is as simple as running bundle add judoscale-rails! Or if you'd like to manually add to your Gemfile:

gem "judoscale-rails"

Background Jobs

If we're using a background-job processing framework in this project, the next step is to install the corresponding Judoscale adapter for that system. Feel free to skip this step if this project isn't using a background job system. Judoscale currently supports the following frameworks:

gem "judoscale-sidekiq"
gem "judoscale-resque"
gem "judoscale-delayed_job"
gem "judoscale-que"

But you'll just need to install the one that's right for your project.

Finally, we'll run a bundle install and commit/ship the changes to both our Gemfile and Gemfile.lock. That's it! The Judoscale gems will automatically start reporting request and job metrics in the background once the new code fires up in your production environment.

Advanced Rails Adapter Configuration

Code-level hooks for custom configs

Schedules and Pre-Scaling