async-queue-temporal-expert

Solid

Expert guide for Durable Workflow Engines (Temporal.io, Trigger.dev v3, Inngest, BullMQ v5) and fault-tolerant background sagas / Panduan ahli workflow engine tahan-gagal (Temporal, Trigger.dev, Inngest, BullMQ).

AI & Automation 46 stars 9 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Async Queue & Durable Workflow Expert [English](#english) | [Bahasa Indonesia](#bahasa-indonesia) --- <a name="english"></a> ## English ### Purpose & Overview Production-grade guidance for designing durable, fault-tolerant background execution pipelines and distributed state machines using Temporal.io, Trigger.dev v3, Inngest, and BullMQ v5. Guarantees execution completion across long-running background tasks, API rate limits, and server crashes. ### Key Capabilities - **Durable Execution**: Automatic retry, state persistence, and resume after server restarts or network partitions. - **Saga Pattern Orchestration**: Multi-step distributed transactions with compensation logic for rollback on failure. - **Rate Limiting & Concurrency**: Controlled worker concurrency, backoff jitter, and per-tenant queue isolation. ```typescript import { task } from "@trigger.dev/sdk/v3"; export const generateSaaSReport = task({ id: "generate-saas-report", run: async (payload: { tenantId: string }) => { // Durable step execution with automatic retries const data = await fetchTenantData(payload.tenantId); const pdfUrl = await generatePDF(data); await sendEmailReport(payload.tenantId, pdfUrl); return { success: true, pdfUrl }; }, }); ``` ### Implementation Checklist - [ ] Define background tasks idempotently so they can be safely retried without side effects. - [ ] Offload heavy payloads to cloud storage (S3) and pass only reference IDs/URLs through the queue. - [...

Details

Author
roedyrustam
Repository
roedyrustam/vibes-plug
Created
3 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category