Skip to content

What Bullship needs from Redis

Bullship works with Redis and Redis-compatible servers such as Valkey, the same ones BullMQ runs on.

Reads use SCAN, EVALSHA, XREAD and the usual key commands. Writes go through BullMQ’s own scripts. Two commands are optional:

  • INFO shows memory and version on the Connections page and powers the Redis memory alert.
  • CLIENT LIST counts workers.

With an ACL user that lacks them, Bullship works and shows workers as unknown. A user that can do everything else:

ACL SETUSER bullship on >password ~bull:* ~bullship:* &* +@all -@dangerous +info +client|list

Change ~bull:* if your queues use another prefix.

Besides the jobs and queues you act on, Bullship keeps two small hashes per queue in your Redis, shared by everyone on that connection:

  • bullship:errors:<prefix>:<queue>: error types marked resolved or muted on the Errors tab.
  • bullship:settings:<prefix>:<queue>: who set a global limit from Bullship, and when.

Everything else it keeps, including metrics history, is in its own data directory.

Some Redis services bill every command. Bullship asks Redis which queues have new BullMQ events with one XREAD per 100 queues and reads only those, plus each queue in full every 5 minutes. In the benchmark, 300 queues with no new jobs and nobody looking cost 46 commands a minute.

Redis Cluster isn’t supported yet. Bullship talks to the one node in the URL, so it would miss queues stored on other nodes. The Connections page and the Add connection test say so when INFO reports redis_mode:cluster (server_mode:cluster on Valkey).