CommunityCodierung & Entwicklunggithub.com

sickn33/bullmq-specialist

BullMQ-Experte für Redis-gestützte Job-Warteschlangen, Hintergrundverarbeitung und zuverlässige asynchrone Ausführung in Node.js/TypeScript-Anwendungen.

Was ist bullmq-specialist?

Dieser Skill ist ein Spezialist für BullMQ, eine leistungsstarke Bibliothek zur Verwaltung von Redis-basierten Job-Warteschlangen in Node.js/ und TypeScript-Anwendungen. Er unterstützt Entwickler bei der Implementierung zuverlässiger Hintergrundverarbeitung, asynchroner Aufgabenausführung und skalierbarer Warteschlangenverwaltung. Der Skill deckt die Konfiguration von Warteschlangen, Workern, Verarbeitern, Job-Wiederholungen, Prioritäten, Verzögerungen und das Scheduling ab. Er ist ideal für Anwendungen, die entkoppelte, ausfallsichere und verteilte Aufgabenverarbeitung benötigen, wie E-Mail-Versand, Datenverarbeitung oder Cron-Jobs. Die Plattformunterstützung umfasst Node.js- und TypeScript-Ökosysteme mit Redis als Backend, wobei bewährte Verfahren wie Job-Aliase, Pausen- und Beschleunigungsmechanismen sowie präzise Fehlerbehandlung hervorgehoben werden.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/bullmq-specialist

Installed? Explore more Codierung & Entwicklung skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht bullmq-specialist?

BullMQ-Experte für Redis-gestützte Job-Warteschlangen, Hintergrundverarbeitung und zuverlässige asynchrone Ausführung in Node.js/TypeScript-Anwendungen.

Übersicht

Dieser Skill bietet tiefgehendes Wissen zu BullMQ, einer Bibliothek zur Verwaltung von Job-Warteschlangen mit Redis. Er hilft bei der Erstellung und Konfiguration von Warteschlangen, Workern und Verarbeitern für Hintergrundjobs.

Hauptfunktionen

  • Job-Warteschlangen: Erstellen und Verwalten von Warteschlangen für verschiedene Aufgaben.
  • Worker: Implementierung von Workern, die Jobs aus Warteschlangen verarbeiten.
  • Job-Wiederholungen: Konfiguration von Wiederholungsversuchen bei Fehlern.
  • Prioritäten und Verzögerungen: Festlegen von Job-Prioritäten und Verzögerungen.
  • Scheduling: Planung von wiederkehrenden Jobs mit QueueScheduler.
  • Job-Aliase: Verwaltung eindeutiger Job-IDs zur Vermeidung von Duplikaten.
  • Pause und Fortsetzung: Steuerung der Warteschlangenausführung.

Verwendung

Installation

npm install bullmq ioredis

Grundlegende Konfiguration

import { Queue, Worker } from 'bullmq';

const myQueue = new Queue('my-queue', {
  connection: {
    host: 'localhost',
    port: 6379,
  },
});

const worker = new Worker('my-queue', async (job) => {
  console.log(job.data);
}, {
  connection: {
    host: 'localhost',
    port: 6379,
  },
});

Job hinzufügen

await myQueue.add('my-job', { foo: 'bar' });

Wiederholungsversuche

await myQueue.add('my-job', { foo: 'bar' }, {
  attempts: 3,
  backoff: {
    type: 'exponential',
    delay: 2000,
  },
});

Best Practices

  • Verwenden Sie immer eine Redis-Cluster-Konfiguration für Produktionsumgebungen.
  • Setzen Sie Job-Aliase (jobId) ein, um doppelte Jobs zu vermeiden.
  • Konfigurieren Sie sinnvolle Wiederholungsversuche und Backoff-Strategien.
  • Überwachen Sie Warteschlangengrößen und Job-Status.
  • Nutzen Sie QueueScheduler für wiederkehrende Aufgaben.

Fehlerbehandlung

worker.on('failed', (job, err) => {
  console.error(`Job ${job.id} fehlgeschlagen:`, err.message);
});

Weitere Informationen

Siehe offizielle BullMQ-Dokumentation unter https://docs.bullmq.io.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

sickn33/3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

sickn33/agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

sickn33/agent-memory-systems

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them.

sickn33/ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

sickn33/api-documentation-generator

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

sickn33/api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

sickn33/api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

sickn33/app-store-optimization

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

sickn33/architecture

Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.

sickn33/audio-transcriber

Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration

sickn33/aws-serverless

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

sickn33/backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.

sickn33/backend-dev-guidelines

You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.

sickn33/bash-linux

Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

sickn33/bash-scripting

Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

sickn33/brainstorming

Use before creative or constructive work (features, architecture, behavior). Transforms vague ideas into validated designs through disciplined reasoning and collaboration.

sickn33/browser-automation

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns.

sickn33/browser-extension-builder

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing.

sickn33/bun-development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun).

sickn33/cc-skill-security-review

This skill ensures all code follows security best practices and identifies potential vulnerabilities. Use when implementing authentication or authorization, handling user input or file uploads, or creating new API endpoints.

Verwandte Skills