Last active
December 12, 2015 06:19
-
-
Save jsanders/4727987 to your computer and use it in GitHub Desktop.
Sidekiq profiling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'sidekiq' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sidekiq' | |
class MyWorker | |
include Sidekiq::Worker | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle install && bundle exec sidekiq -c 1000 -r ./my_worker.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
87MB steady state - looks like 1000 real threads to me.