AI Engineer - Learn how to integrate AI into software applications
40% Off Career-Building Certificates
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a distributed message queue system using Redis/Valkey streams in Rust through this comprehensive 34-minute tutorial. Start with fundamental concepts and basic Valkey/Redis connections before progressing through simple set/get operations and exploring stream-specific commands like XADD and XREAD. Master asynchronous programming patterns for stream handling, then advance to implementing consumer groups and multiple consumers for distributed message processing. Discover how Valkey streams provide efficient message queue infrastructure comparable to systems like NATS/JetStream while maintaining simplicity and scalability. Follow along with practical code examples from the accompanying GitHub repository as you build from basic stream operations to production-ready distributed messaging patterns. Gain insights into when to choose Valkey streams over more complex solutions like Kafka or RabbitMQ, and understand why this approach scales effectively for most message queue requirements in modern distributed systems.
Syllabus
- 00:00 - Intro
- 00:20 - Concepts
- 01:15 - Setup
- 02:05 - C01 - Simple Set/Get
- 05:10 - C02 - XADD / XREAD
- 12:21 - C03 - Async
- 21:01 - C04 - xgroups
- 29:00 - C05 - groups & consumers
Taught by
Jeremy Chone