Skip to content
This repository was archived by the owner on May 22, 2018. It is now read-only.

raivil/sidekiq_issue_3312

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO

  • Update Gemfile with user/pass for sidekiq-ent
  • Run bundle to update gems

How to Run

  • Run Redis

  • Run sidekiqswarm with 4 workers. COUNT=4 bundle exec sidekiqswarm -q critical -q default -q medium -q low

  • Run Rails console and rails server

bundle exec rake db:create
bundle exec rails s
bundle exec rails c
  • Enqueue jobs specifying how many subjobs should exist.
Jobs::Temp::ExampleBatchJob.perform_async(1)
Jobs::Temp::ExampleBatchJob.perform_async(10)
Jobs::Temp::ExampleBatchJob.perform_async(100)
Jobs::Temp::ExampleBatchJob.perform_async(1_000)
Jobs::Temp::ExampleBatchJob.perform_async(10_000)
Jobs::Temp::ExampleBatchJob.perform_async(100_000)
Jobs::Temp::ExampleBatchJob.perform_async(1_000_000)


Jobs::Temp::ExampleLongBatchJob.perform_async(1)
Jobs::Temp::ExampleLongBatchJob.perform_async(10)
Jobs::Temp::ExampleLongBatchJob.perform_async(100)
Jobs::Temp::ExampleLongBatchJob.perform_async(1_000)
Jobs::Temp::ExampleLongBatchJob.perform_async(10_000)
Jobs::Temp::ExampleLongBatchJob.perform_async(100_000)
Jobs::Temp::ExampleLongBatchJob.perform_async(1_000_000)

About

Sidekiq issue https://github.com/mperham/sidekiq/issues/3312

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published