Trigger.dev Background Jobs

Trigger.dev Background Jobs

trigger.dev

1

About this website

Trigger dot dev is an open-source background jobs platform for TypeScript and JavaScript created by Matt Aitken and Eric Allam in 2022, providing durable execution, automatic retries, scheduling, queues, and real-time status tracking for long-running tasks, designed to replace traditional task queues like Celery, Sidekiq, and BullMQ with a developer-first, TypeScript-native approach that integrates directly with existing codebases, adopted by over three thousand organizations including Resend and Parkrunner for their background job processing. The durable execution model ensures that long-running tasks complete even if the server crashes or restarts, with the execution state persisted to a database after each step, enabling automatic recovery and resume from the exact point of failure without re-running completed steps, making it suitable for tasks that cannot be interrupted including multi-step workflows, data processing pipelines, and integration sequences. The task definition uses TypeScript functions decorated with a task decorator, with the function body containing the task logic, and the framework handling serialization, execution, retry, and logging automatically, with parameters and return values fully type-safe through TypeScript generics, enabling compile-time checking of task inputs and outputs. The scheduling system supports cron expressions for recurring tasks, delayed execution for future-scheduled tasks, and event-triggered execution through webhooks and API calls. The dashboard provides real-time task status including running, completed, failed, and queued states, with execution logs, duration tracking, retry history, and error details. The versioning for code updates. The concurrency limits. The queue priorities. Designed for TypeScript backend developers.

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!