mperham/sidekiq — pull request #300 by clemensgruber (2012-07-19 16:13:42+00:00)
Title: Add option to specify redis driver

Hi!

I added an option to specify which redis driver to use. redis-rb supports ruby (default), hiredis and synchrony. We have hiredis in production, because the performance is significantly better. I benchmarked sidekiq's test suite with hiredis and measured a 9 - 10 % increase of tests/s and asserts/s.
I did not add additional tests because this would introduce new development dependencies for hiredis and em-synchrony which would be overkill for an optional setting, which may not be used very often. Besides that, there should be no difference in the behaviour of sidekiq. I can confirm that the test suite runs successfully with the :driver => 'hiredis' option. And as expected, also a little bit faster.. ;-)

Clemens