Skip to content

Backends

Adriano Caloiaro edited this page Sep 12, 2023 · 4 revisions

Backends

Backends are the core of neoq. Anything that implements the neoq.Neoq interface is a "backend".

Neoq provides three native backends -- memory, postgres, and redis -- but users may implement neoq.Neoq to create their own backends for preferred queue technology. Contributors to the neoq project are encouraged to open an issue or pull request to add any queue technologies that they would like supported.

What makes a backend?

Each backend provides the same core functionality.

Core Functionality

  • Jobs may be added to arbitrary queues to be processed by handlers
  • Job handler errors are retried with exponential backoff
  • Periodic jobs can be registered to run as frequently as every second
Clone this wiki locally