Sidekiq::Oj

Build Status Dependency Status Gem Version

Put oj in your sidekiq for some speed! If you're running Sidekiq at big scale this should save you some precious resources.

Installation

Add this line to your application's Gemfile:

gem 'sidekiq-oj'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sidekiq-oj

Usage

sidekiq-oj requires sidekiq for you and it overrides two methods in Sidekiq module.

Silly benchmarks

$ ruby spec/benchmark.rb

Warming up --------------------------------------
         load - json     6.526k i/100ms
           load - oj    10.010k i/100ms
Calculating -------------------------------------
         load - json     72.797k (

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/positionly/sidekiq-oj.