Skip to content

Comparison with other tools

This note compares rotari first with the tools it most directly replaces: shell background jobs, GNU Parallel, pueue, task-spooler, submitit, and hand-written scheduler submissions. It then compares it with workflow engines, which are often mentioned alongside it but do a different job, and with experiment trackers, which complement it. The first part is based on clones of pueue (2026-09-09), task-spooler (the GPU fork, 2024-01-19), and submitit (2026-01-14), taken on 2026-09-27, and on the GNU Parallel manual.

Batch job tools

Rotari belongs with these tools, while also offering a small manifest format and a Python client for constructing and inspecting batches. Like them, it runs commands you already have, in the environment you already have. What it adds is a history: each run keeps its commands, every job's status, and its logs, on whichever backend it ran. A batch can be built from shell commands, a YAML/JSON/TOML manifest, or Python, then retried, edited, or reconciled without turning rotari into a workflow engine.

Unit of work Where it runs Rerunning failures Batch history
Shell & + wait a process local by hand none
GNU Parallel one command template over inputs local, SSH --retry-failed reruns the joblog's commands unchanged one joblog per invocation
pueue a task in a daemon's queue one machine restart --all-failed, optionally --edit task list until cleaned
task-spooler a task in a per-user server's queue one machine, GPU-aware add the command again finished-task list, capped
submitit a Python function call Slurm, local resubmit from Python job folders
sbatch --array, queue.pl a script and an index one scheduler resubmit chosen indices scheduler accounting
rotari a job in a queue, run as a batch local, SSH, Slurm, PBS, LSF, SGE run --retry, retry, or manifest/fingerprint matching can reuse or rerun selected work every run, with lineage across related runs

Shell background jobs

cmd & and wait, nohup, xargs -P, and terminal multiplexers are what most batches start with. They need nothing installed and inherit the shell's directory and environment. They keep no status: which jobs failed has to be reconstructed from exit codes and logs the script chose to write, and a rerun means editing the script to skip what already succeeded.

GNU Parallel

GNU Parallel runs one command template over many inputs, locally or on SSH hosts (--sshlogin), and is the most capable of these tools at spreading one kind of task. --joblog records each job's exit status, --retries retries a job, possibly on another host, and --retry-failed reruns the failed jobs using the commands recorded in the joblog, ignoring the command line. --resume-failed reruns them with the arguments from the command line. There are no dependencies between jobs and no cluster scheduler support. Local jobs inherit the shell's environment; remote jobs start in the login directory unless --workdir is given, with variables carried by --env.

Choose it when the batch is one command over a list of inputs and the machines are reachable by SSH.

pueue

pueue keeps a persistent queue of shell commands in a daemon (pueued) on one machine. It has groups with their own parallelism, dependencies (add --after), delays, pause and resume, and restart of failed tasks, optionally editing a task's command or directory first (restart --edit). Each task records the working directory and a copy of the environment at add time, so a restart runs where and with what it was added. Its README states that it is built for human interaction and not for hundreds of tasks.

Choose it for a personal, long-lived queue of heterogeneous commands on one machine. Rotari also provides persistent run history, cross-backend execution, and a web interface, but pueue remains the simpler choice when a daemon queue is the main requirement.

task-spooler

ts queues commands in a per-user server started on demand, runs a set number at once, and in the GPU fork allocates free GPUs (--gpus) and sets CUDA_VISIBLE_DEVICES. Dependencies are -D (after the given jobs end) and -W (after they succeed). A job runs in the process of the ts call that queued it, so it has that call's directory and environment. There is no command to rerun failed jobs, and the server keeps a capped list of finished jobs rather than a persistent history.

Choose it for a GPU workstation shared by a few experiments at a time.

submitit

submitit submits Python functions, not commands, to Slurm (or runs them locally) through a concurrent.futures-style interface, and returns their results and exceptions to the caller. It handles preemption and checkpointing. Commands need wrapping in CommandFunction, and rerunning failures is up to the calling Python code.

Choose it when the experiment driver is a Python program and the jobs are functions in it. Rotari's Python client is different: it controls the rotari executable and submits command argument lists, so it preserves the same command-based model as the CLI rather than serializing Python functions or closures.

Hand-written scheduler submissions

A loop over sbatch, an array job, or Kaldi's queue.pl uses the scheduler directly. The scheduler knows each job's state, but the batch as a whole exists only in the script: finding the failed indices, resubmitting them, and keeping track of what changed between attempts is manual, and the script is tied to one scheduler.

Where rotari differs

  • The run is the unit of history. Every run keeps its commands and each job's status and logs, so show answers what ran and what failed long after the terminal is gone, and lineage follows related runs and their carried-forward results. The other tools track individual tasks or one invocation.
  • Rerunning and reconciling work. Across many hosts, a correct command can still fail because one node misbehaved. run --retry N retries a failed job within the run, and rotari retry starts a new run of only the failed and unfinished jobs. Fingerprint matching can carry successful results into a newly built queue, while exported manifests can accept, edit, remove, or rerun individual jobs. GNU Parallel's --retry-failed is the closest simpler analogue, for one invocation's joblog.
  • Editing in rotari is optional. change, copy, manifests, and the Python client can edit or construct a batch inside rotari, but a shell script remains a natural way to build one.
  • One queue, several backends. The same queue runs locally, over SSH, or on Slurm, PBS, LSF, or SGE, with array and matrix jobs, and status and logs look the same on each.
  • The environment binds at run time. pueue and task-spooler bind a task's directory and environment when it is added; rotari takes the caller's environment at run or retry time by default, while retaining saved job variables and rotari metadata. --env=NONE suppresses caller variables. The setting is mapped to the native mechanisms of SSH, Slurm, PBS, LSF, and SGE; saved --env KEY=VALUE variables work on every executor.
  • Operations beyond the CLI. rotari web provides history, logs, job control, and multiple-basedir monitoring. Failed jobs are diagnosed with local rules, and notifications can deliver webhook or browser alerts.
  • No resident daemon. Each run has its own supervisor process for its lifetime; state is files.

Rotari does less than these tools in places: it has no group-level queues like pueue and no input-driven fan-out as flexible as GNU Parallel's replacement strings. Resource allocation, such as task-spooler's GPU assignment, is out of scope on purpose: it belongs to the scheduler or other middleware below rotari, and rotari only limits how many jobs it runs or submits at once.

Workflow engines

Workflow engines start from a definition of the workflow, written in a DSL, YAML, or Python, and run it the same way each time. Rotari now accepts manifests too, but its manifest describes jobs and their execution settings, not a file-driven pipeline. Most workflow engines also define where and with what each step runs, and several start runs by themselves from schedules or events. This is the right design for pipelines that are shared, reproduced, or operated, and it is what rotari leaves out. They come in two kinds, by who starts a run:

  • Pipeline engines: Snakemake and Nextflow. A person starts each run from the CLI, as with rotari, often on the same HPC schedulers. The pipeline's steps follow from the files or data channels that pass between them, and a rerun reuses what is already done. They are common in bioinformatics and other data analysis, and are the closest to rotari in who uses them and how; the difference is that the pipeline is formalized.
  • Orchestrators: Dagu, Airflow, Prefect, and Dagster. A resident scheduler starts runs by itself, on cron schedules or events as well as on request, and monitors them, for workflows operated day after day, such as data ingestion. Dagu is the lightest, a single binary, but is still a service to keep running. They are the furthest from rotari.

The table lists them in that order.

Workflow defined as Runs start from Where steps run Environment Rerunning failures
Snakemake rules with input and output files (Python-based DSL) the CLI local; Slurm, LSF, SGE, Kubernetes, and cloud batch services through executor plugins per-rule conda environments or containers, or the calling shell reruns jobs whose outputs are missing or out of date
Nextflow processes and channels (Groovy-based DSL) the CLI local, Slurm, PBS, LSF, SGE, and other HPC schedulers, Kubernetes, and cloud batch services per-process containers or conda environments -resume reuses cached task results
Dagu a YAML DAG the CLI, Web UI, API, cron, and event triggers local, SSH, containers, Kubernetes, distributed workers the working directory, variables, and container in the YAML step retry policies and dagu retry of a run
Airflow, Prefect, Dagster Python code a scheduler, sensors, the UI, or the API workers on the configured infrastructure each task's operator or deployment settings task retries and rerunning from the failed task
rotari shell commands, YAML/JSON/TOML manifests, or Python command lists the user, from the CLI, Python, or API local, SSH, Slurm, PBS, LSF, SGE the shell that runs rotari run, or explicit job/run settings run --retry, retry, fingerprint matching, and manifest reconciliation

What separates rotari from all of them:

  • A batch definition, not a pipeline engine (the difference from Snakemake and Nextflow). A shell script, manifest, or Python program can build the batch. Rotari supports job dependencies, arrays, matrices, retries, and reconciliation, but it does not provide file-based dependency discovery, conditional workflow logic, or general output passing between jobs.
  • No workflow triggers (the difference from the orchestrators). There is no built-in scheduler, cron, or sensor; every run is started by a person or an agent through the CLI, Python client, or API. The Web UI can inspect and control runs, but does not turn rotari into an event-driven workflow engine.
  • No adaptive search. Grid and random sweeps are a fixed set of jobs, which rotari's matrix and array jobs run. Searches such as Bayesian optimization, Hyperband, or early stopping decide the next trials from earlier results, the same kind of decision a workflow engine makes; rotari leaves it to the caller or to a tool such as W&B Sweeps or Polyaxon, which also has DAGs and cron schedules on Kubernetes (see Experiment trackers).
  • No service to operate (also the difference from the orchestrators). There is no resident server or database, and on a cluster the site's scheduler does the placement and resource allocation.

Choose a workflow engine when the pipeline itself is the product: shared with others, rerun on new data, or operated on a schedule. Rotari is not a step toward one; it is for batches that people run themselves from scripts.

A pipeline engine, when people still start the runs but the pipeline should be formalized:

  • Snakemake when the pipeline is driven by files and its structure is worth formalizing.
  • Nextflow for pipelines that are shared, reproduced, and run at scale, with containers, clusters, or cloud.

An orchestrator, when runs should start by themselves and be monitored:

  • Dagu for a lightweight, single-binary workflow engine with a Web UI, cron, and event triggers.
  • Airflow, Prefect, or Dagster for production pipelines that run on a schedule and need monitoring.

Experiment trackers

Experiment trackers record what a training job measured: its parameters, metrics over time, and outputs such as models. They answer "which settings gave the best result"; rotari answers "what ran, where, and what failed". Rotari does not read metrics, so they are used alongside it. They come in three kinds, by how much they do:

  • A viewer of files the job writes: TensorBoard. The job writes event files, for example with PyTorch's SummaryWriter or tf.summary, and TensorBoard draws the curves from a directory of them. There is no database, no server to keep, and no record of runs beyond the files: comparing runs means pointing it at their directories. Nothing to set up, which is why it is everywhere, and nothing to search either.
  • Trackers: MLflow, Aim, and Weights & Biases. The job's code logs each run through the tracker's library to a store, and the tracker's UI searches and compares runs across projects, keeps models, and shares results. MLflow and Aim can keep the store in local files; W&B sends it to a hosted service or a self-hosted server, so on compute nodes without internet access it logs offline and is synced later.
  • Trackers that also dispatch runs: ClearML, W&B Sweeps, and Polyaxon. Besides recording, they decide what to run and start it on their own workers: ClearML Agent runs queued tasks, wandb agent runs the sweep trials the W&B server chooses, and Polyaxon runs jobs, DAGs, and searches on Kubernetes. Only this kind overlaps with rotari; see the Polyaxon notes and the Sweeps item below.

The table lists them in that order; W&B is a tracker whose sweep agent also dispatches runs. The Polyaxon entries are based on a clone of polyaxon (2026-11-10, v2.20.1), taken on 2026-11-11.

Records How data gets there Where data lives Runs jobs itself
TensorBoard scalars, images, graphs, and other summaries the job writes event files event files on disk no
MLflow parameters, metrics, artifacts, models the job's code calls its API, or autologging a local file store or SQLite database, or a tracking server mlflow run runs an MLflow Project; it has no queue of shell commands
Aim parameters, metrics, images, and other objects the job's code calls its SDK or a framework integration a local repository, optionally behind a tracking server no
Weights & Biases parameters, metrics, artifacts, models the job's code calls its SDK a hosted service or a self-hosted server wandb agent runs sweep trials the server hands out
ClearML experiments, metrics, artifacts, models, datasets the job's code calls its SDK, with automatic logging a ClearML server, hosted or self-hosted ClearML Agent runs queued tasks on workers
Polyaxon parameters, metrics, artifacts, logs, lineage the job's code calls its tracking client a Polyaxon server: PostgreSQL, with artifacts in object storage or NFS on Kubernetes: Polyaxonfile jobs, DAGs, schedules, and hyperparameter searches; a pip or Docker Compose install tracks only
rotari each job's command, status, attempts, logs, and artifact paths rotari runs the job; no code changes files in the basedir yes: local, SSH, Slurm, PBS, LSF, SGE

Polyaxon is the one tracker here whose relation to rotari depends on where the jobs run:

  • On Kubernetes, choose one or the other. Kubernetes is the container platform of most cloud and company ML infrastructure: a job is a container image described in YAML, not a script submitted to a batch scheduler, and users work through its API rather than by logging in to a cluster. There Polyaxon runs the jobs as well as recording them, with Polyaxonfile jobs, DAGs, schedules, and searches, so it covers rotari's part too; rotari has no Kubernetes executor.
  • On Slurm, PBS, LSF, SGE, or SSH hosts, use both. This is where rotari is meant to run: batch clusters, typically at universities and computing centers, and machines reached over SSH. Polyaxon cannot run jobs there: installed with pip or Docker Compose instead of on Kubernetes, it only tracks. Rotari runs the jobs, and their code logs to the Polyaxon server, as with MLflow.

How they fit together:

  • Rotari runs, the tracker records. A job started by rotari logs to the tracker as it would anywhere else. Jobs receive ROTARI_RUN_ID, ROTARI_JOB_ID, and ROTARI_ATTEMPT_ID; logging them as tracker tags, for example mlflow.set_tag("rotari_job", os.environ["ROTARI_JOB_ID"]), links a tracker run back to the job, its logs, and its other attempts.
  • Open the tracker from rotari's Web UI. With rotari web --allow-exec, TensorBoard, MLflow, Aim, and Jupyter Lab are built-in launchers for a job's artifacts, served through the Web UI's own port (see Built-in services). The Artifacts view also offers the job's working directory as ., so stores created there implicitly—such as MLflow's default mlflow.db and Aim's .aim repository—can be browsed and opened without declaring them as candidates. See Experiment trackers for the default locations, run tags, and storage trade-offs.
  • Sweeps. Rotari's matrix and array jobs run parameter sweeps on any backend and keep each trial's logs and status; the tracker compares their results. W&B Sweeps, ClearML's agents, and Polyaxon's matrix searches instead decide trials themselves and run them on their own workers, which suits search strategies such as Bayesian optimization that choose the next trial from earlier results.
  • Shared storage. Many parallel jobs writing one SQLite database over a network file system risk lock errors, since SQLite's locking is unreliable there. Consider a file store, per-job stores, or a tracking server, and test the choice under the expected concurrency.

Choose a tracker for comparing metrics and managing models; keep rotari for running the jobs that produce them. Consider ClearML's agents, W&B Sweeps, or, on Kubernetes, Polyaxon instead of rotari when the tracker should also decide and dispatch the runs.