Guides¶
Step-by-step tutorials and practical guides for common pgqrs use cases.
Available Guides¶
-
Basic Workflow
Set up a complete producer-consumer workflow from scratch.
-
Batch Processing
Efficiently process high volumes of messages.
-
Delayed Messages
Schedule messages for future processing.
-
Worker Management
Scale and manage multiple workers in production.
Quick Reference¶
| Guide | Use Case |
|---|---|
| Basic Workflow | Getting started, understanding the basics |
| Batch Processing | High throughput, many messages |
| Delayed Messages | Scheduled tasks, reminders, deferred work |
| Worker Management | Production deployment, scaling |
Prerequisites¶
Before following these guides, ensure you have:
- pgqrs installed (Installation Guide)
- A running PostgreSQL database
- The pgqrs schema installed (
pgqrs install)
Code Examples¶
All guides include complete, runnable code examples in both Rust and Python. Choose the tab for your preferred language.