Backend
A breakdown of the core parts of how backends work
Introduction
Learn how the Apalis Backend and BackendExt traits work — covering task polling, heartbeats, middleware layers, and codec-based serialization for async Rust job queues.
Read more
Pushing Tasks
Learn how to enqueue jobs in Apalis using the TaskSink trait — supporting single tasks, bulk batches, backpressure-aware streams, and pre-built task objects. Built on top of futures::Sink.
Read more
Expose
The `Expose` trait marks a backend as fully observable — enabling queue introspection, worker listing, task filtering, and metrics collection for monitoring and management tooling.
Read more
Shared Connections
Learn how to share a single backend connection across multiple Apalis workers using the MakeShared trait — reducing resource overhead and improving performance in multi-queue Rust applications.
Read more
Codecs
Learn how Apalis codecs work — encoding and decoding task payloads for storage and transmission using JSON, MessagePack, or Bincode, and how to implement a custom Codec for your own format.
Read more