chavangorakh1999/sde-skills/message-queue-design
Claude Code and agent skill by chavangorakh1999/sde-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Kafka/SQS/RabbitMQ/Bull topology, ordering guarantees, consumer groups, DLQ patterns. Use when decoupling async work from the request path or building event-driven pipelines.
Install
npx vskill@latest install chavangorakh1999/sde-skills/message-queue-designSKILL.md
The same SKILL.md was published earlier as chavangorakh1999/sde-skills/message-queue-design.
Message Queue Design
Queues decouple producers from consumers, absorb traffic spikes, and enable async processing. Choose the right tool for your durability, ordering, and throughput requirements.
Context
Use case or system: $ARGUMENTS
When to Use a Queue
Use a queue when:
- Work takes > 500ms and doesn't need to block the HTTP response (email sending, PDF generation, video transcoding)
- You need to absorb write spikes without dropping requests (order processing at sale time)
- Multiple services need to react to the same event (order placed -> billing, inventory, notification)
- You need retry with backoff for unreliable external calls (third-party API, webhook delivery)
Don't use a queue when:
- The caller needs the result synchronously (use sync RPC/HTTP)
- You only have one consumer and simple retry (HTTP retry with backoff is simpler)
- The processing is fast and failure is acceptable (just do it inline)
Choosing the Right Queue
| Bull/BullMQ | RabbitMQ | SQS | Kafka | ||
|---|---|---|---|---|---|
| Best for | Node.js job queues | Multi-language task routing | AWS-native async jobs | High-throughput event streaming | |
| Throughput | ~10K jobs/sec | ~50K msgs/sec | ~3K msgs/sec per queue | >1M msgs/sec | |
| Ordering | FIFO per queue | Per-queue FIFO | Best-effort (FIFO queue: strict) | Per-partition ordered | |
| Durability | Redis persistence | Disk (durable queues) | S3-backed, 14-day retention | Configurable, up to years | |
| Exactly-once | No | No (at-least-once) | No (SQS FIFO: ~yes) | No (idempotent consumer needed) | |
| Complexity | Low | Medium | Low | High | |
| Use when | Node.js app, Redis already used | Multi-language, complex routing | AWS shop, simple async | Event log, high-throughput, replay |
Bull/BullMQ (Node.js — start here)
SQS (AWS-native)
Kafka (high-throughput event streaming)
DLQ (Dead Letter Queue) Pattern
Ordering Guarantees
Output Format
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsde-system-design/skills/message-queue-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chavangorakh1999/sde-skills/message-queue-design)