leandrosardi / pampa

Ruby library for async & distributed computing, supporting dynamic reconfiguration, distribution of the computation jobs, error handling, job-retry and fault tolerance, and fast (non-direct) communication to ensure real-time capabilities.
https://ConnectionSphere.com
1 stars 0 forks source link

Define which nodes and wich workers are allowed for a specific job. #10

Closed leandrosardi closed 1 year ago

leandrosardi commented 1 year ago
# defining Pampa jobs
BlackStack::Pampa.add_job({
  :name => 'dfy-leads.page.parse',
  ...
  # specify the nodes or workers that will be assigned to this job.
  # default: /.*/
  :filter_worker_name => /\.1$/,
  ...
}) # end of job descriptor
leandrosardi commented 1 year ago

Done.