文件名称:sidekiq-superworker:Sidekiq作业的有向无环图
文件大小:65KB
文件格式:ZIP
更新时间:2024-02-22 22:24:37
ruby sidekiq background-jobs dependency-graph directed-graph
Sidekiq超级工人 定义Sidekiq作业的依赖图 总览 Sidekiq Superworker可让您创建超级工人,超级工人是Sidekiq工人的简单或复杂图形。 例如,您可以定义工作程序的复杂图,并使用串行和并行工作程序配置: (Worker10将在Worker5,Worker7,Worker8和Worker9全部完成之后运行。) Superworker . define ( :MySuperworker , :user_id , :comment_id ) do Worker1 :user_id Worker2 :user_id do parallel do Worker3 :comment_id do Worker4 :comment_id Worker5 :comment_id end Worker6 :user_id do parallel do Worker7 :user_id Worker8 :user_id
【文件预览】:
sidekiq-superworker-master
----.gitignore(46B)
----README.md(8KB)
----gemfiles()
--------default.gemfile(94B)
--------rails_4.gemfile(134B)
--------default.gemfile.lock(1KB)
--------rails_3.gemfile.lock(3KB)
--------rails_4.gemfile.lock(3KB)
--------rails_3.gemfile(135B)
----Gemfile(39B)
----MIT-LICENSE(1KB)
----Appraisals(157B)
----app()
--------views()
----sidekiq-superworker.gemspec(826B)
----spec()
--------dsl_hash_spec.rb(15KB)
--------subjob_spec.rb(3KB)
--------support()
--------dsl_parser_spec.rb(7KB)
--------worker_perform_async_spec.rb(19KB)
--------worker_spec.rb(1KB)
--------spec_helper.rb(772B)
----doc()
--------diagram-simple.png(9KB)
--------diagram-complex.png(24KB)
----lib()
--------sidekiq-superworker.rb(81B)
--------sidekiq()
----Rakefile(139B)