Home / Companies / Trigger.dev / Blog / Post Details
Content Deep Dive

Trigger.dev v3: Durable Serverless functions. No timeouts.

Blog post from Trigger.dev

Post Details
Company
Date Published
Author
Matt Aitken
Word Count
2,361
Language
English
Hacker News Points
-
Summary

Trigger.dev v3 introduces a significant evolution from its predecessor by enabling the execution of durable, long-running tasks without serverless timeouts, leveraging Checkpoint/Restore In Userspace (CRIU) technology to pause and resume code execution efficiently. This version eliminates the need for awkward syntax and allows developers to write regular async code with no time restrictions, thus simplifying the management of tasks that require waiting for specific events or time periods. The system runs in containers supporting CRIU, automatically scaling workloads and offering a seamless development experience through local development tools and various deployment options. Integrations and webhooks have been streamlined to remove the need for additional wrappers, while OAuth support and Trigger.dev Connect facilitate secure API interactions. Despite the complexity of self-hosting due to CRIU requirements, the platform maintains its commitment to open-source, allowing users to choose between v2 and v3 based on their project needs.