Skip to content

Flows Queueing and Tasks Distribution

Overview

flow8 is designed to efficiently run multiple flows in parallel while queuing and distributing tasks across external islets. It ensures optimal resource utilization, scalability, and seamless task execution in highly distributed environments.

Key Features

  1. Parallel Flow Execution:

    • Supports executing multiple workflows simultaneously.
    • Maximizes throughput by leveraging parallelism.
  2. Queueing System:

    • Tracks and queues tasks dynamically based on priority and islets availability.
    • Prevents bottlenecks or overload by systematically managing task distribution.
  3. Distributed Worker Nodes:

    • External worker nodes handle queuing and execution of tasks.
    • Tasks are dispatched to available nodes dynamically for efficient processing.
  4. Scalability:

    • Expandable architecture to add more islets as needed.
    • Ensures high performance even with increased workflow demands.
  5. Fault Tolerance:

    • Implements retry mechanisms and node failover to ensure task completion.
    • Ensures system robustness and high availability.

Workflow

  1. A flow is initiated and scheduled for execution.
  2. The queueing system evaluates task priority and islets resource availability.
  3. Tasks are dispatched to islet for execution.
  4. Completed tasks are removed from the queue, and results are collected.
  5. Uncompleted or failed tasks are re-queued and handled according to retry policies.