Oban Background Jobs for Elixir
Manages reliable background job processing and task scheduling for Elixir and Phoenix applications using Oban and Oban Pro.
This skill equips Claude with specialized knowledge for implementing and maintaining background job processing within Elixir and Phoenix environments. It enforces industry-standard 'Iron Laws,' such as ensuring job idempotency, avoiding struct serialization in favor of IDs, and utilizing string-key map matching for arguments. Whether working with standard Oban or the advanced Oban Pro, the skill provides patterns for worker creation, queue configuration, cron scheduling, and robust testing strategies to ensure high-performance asynchronous execution.
Key Features
01Provides optimized queue configuration for I/O, CPU, and API-bound tasks.
02Generates worker templates with built-in retry logic and unique constraints.
03Standardizes testing patterns using Oban.Testing and Oban.Pro.Testing.
04Enforces 'Iron Laws' for reliable, idempotent background job processing.
0562 GitHub stars
06Automatically detects and integrates Oban Pro features like Workflows and Batches.
Use Cases
01Implementing complex multi-step background workflows with Oban Pro Batches.
02Processing heavy data migrations and periodic maintenance tasks via cron scheduling.
03Building scalable email and notification systems with automatic retries and backoffs.