ebind: Go library runs durable task queues and DAG workflows on NATS JetStream

A new open-source Go library called ebind offers persistent task queues and durable DAG-based workflow execution using a single dependency — NATS JetStream — which can be embedded directly inside an application process. Unlike popular alternatives such as Asynq or River that require Redis or Postgres, ebind eliminates external infrastructure by running NATS as an in-process node suitable for both development and high-availability deployments. The library uses a function-first API where developers pass actual Go functions to the queue, with argument types validated at enqueue time rather than failing silently on workers later. Workflow state, including step results and dependencies, is stored in a NATS key-value bucket, meaning workflows survive process restarts and can be resumed by any node in the cluster. The library also introduces step breakpoints with debugger-style semantics, a feature its author says is not found in comparable workflow tools.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in