View Source Tarearbol

dynamic-workers-management

Dynamic Workers Management

features

Features

  • Scaffold for the supervised DynamicSupervisor
  • No code for managing processes required
  • Implementation is as easy as 4 callbacks
  • Behaviour-driven consumers
  • Consistent state and callbacks on state changes (like restarting)

dynamic-workers-management-examples

Dynamic Workers Management Examples

task-management

Task Management

features-1

Features

  • Task supervision tree for granted
  • Infinite retries until succeeded
  • Async execution of a single task with retries
  • Async execution of many tasks with retries
  • Limited amount of retries
  • Delay between retries
  • Callbacks on on_retry, on_success, on_fail
  • Configurable “success” treatment
  • Task scheduling and draining, cron-like execution

task-management-examples

Task Management Examples

job-management

Job Management

features-2

Features

  • Fully supported cron syntax
  • Job callback with an ability to cancel and reschedule jobs
  • Easy configuration via project, config, or external file
  • No persistent storage required
  • Stream with all the upcoming cron events by cron record
  • Tarearbol.Calendar.{beginning_of,end_of}/2 with full Calendar support

job-management-examples

Job Management Examples