| id | SKL-rabbitmq-RABBITMQPATTERNS |
| name | Rabbitmq Patterns |
| description | Comprehensive guide to RabbitMQ messaging patterns and best practices for distributed systems. This skill covers exchange types (direct, topic, fanout, headers), message patterns (work queue, pub/sub, |
| version | 1.0.0 |
| status | active |
| owner | @cerebra-team |
| last_updated | 2026-02-22 |
| category | Backend |
| tags | ["api","backend","server","database"] |
| stack | ["Python","Node.js","REST API","GraphQL"] |
| difficulty | Intermediate |
Rabbitmq Patterns
Skill Profile
(Select at least one profile to enable specific modules)
Overview
Comprehensive guide to RabbitMQ messaging patterns and best practices for distributed systems. This skill covers exchange types (direct, topic, fanout, headers), message patterns (work queue, pub/sub, routing, RPC), producer and consumer patterns, dead letter queues, message acknowledgment, persistence, error handling, performance optimization, and production setup.
Why This Matters
RabbitMQ is a powerful message broker that enables flexible, reliable messaging patterns for distributed systems. Understanding RabbitMQ patterns is essential for building scalable, fault-tolerant, and maintainable messaging architectures.
Core Concepts & Rules
1. Core Principles
- Follow established patterns and conventions
- Maintain consistency across codebase
- Document decisions and trade-offs
2. Implementation Guidelines
- Start with the simplest viable solution
- Iterate based on feedback and requirements
- Test thoroughly before deployment
Inputs / Outputs / Contracts
Skill Composition
- Depends on: None
- Compatible with: None
- Conflicts with: None
- Related Skills: None
Quick Start / Implementation Example
- Review requirements and constraints
- Set up development environment
- Implement core functionality following patterns
- Write tests for critical paths
- Run tests and fix issues
- Document any deviations or decisions
def example_function():