Use Valkey — the Apache-2.0 fork of Redis maintained by the Linux Foundation — as the cache, stream, and coordination primitive at the heart of a Rust service. This course is the most direct path from `cargo add redis` to a real-time data pipeline that survives partitions and operator changes.
You begin with the license rift and what wire compatibility means in practice, then dive into the four data shapes that drive every Valkey workload — strings with TTL, hashes with per-field expiry, lists as queues, and sorted sets as the leaderboard primitive. From there the course turns to streams + consumer groups (the data-engineering core), XADD and XREADGROUP for exactly-once delivery, plus XPENDING + XCLAIM for failure handling.
The back half covers the patterns that make Valkey production-grade in Rust: pipelining for round-trip math, MULTI/EXEC with WATCH for multi-key atomicity, EVAL and the script cache for server-side atomicity, connection-pool sizing under load, and criterion for honest p50/p99 benchmarking. The course closes with the operational story — RDB vs AOF, replication, Sentinel failover, cluster sharding, and the split-brain accounting that "highly available" actually buys you.
Connect Rust to Valkey through redis-rs and master the four data shapes that drive every workload — strings with TTL, hashes with per-field expiry, and the keyspace trait pattern for type-safe keys.
What's included
5 videos5 readings
Show info about module content
5 videos•Total 8 minutes
1.1.1 What Valkey Is•1 minute
1.1.2 RESP3 & Cmd Builder•2 minutes
1.1.3 Strings, Expiry & Counters•2 minutes
1.2.1 Hashes & Per-Field TTL•2 minutes
1.2.2 Key Namespacing•2 minutes
5 readings•Total 5 minutes
About This Course•1 minute
Key Terms: What Valkey Is•1 minute
Reflection: What Valkey Is•1 minute
Key Terms: Hashes & Per-Field TTL•1 minute
Reflection: Hashes & Per-Field TTL•1 minute
Lists, Sets, Sorted Sets & Leaderboards
Module 2•12 minutes to complete
Module details
Pick the right collection for every workload — lists as durable FIFO queues, sets for uniqueness and membership, and sorted sets as the leaderboard primitive that also powers rate limiting with sliding windows and geospatial lookups.
What's included
5 videos4 readings
Show info about module content
5 videos•Total 8 minutes
2.1.1 Lists as Queues•2 minutes
2.1.2 Sets & Uniqueness•2 minutes
2.1.3 Sorted Sets & Leaderboards•1 minute
2.2.1 Rate Limiting with ZSETs•2 minutes
2.2.2 Geospatial Indexes•1 minute
4 readings•Total 4 minutes
Key Terms: Lists as Bounded Queues•1 minute
Reflection: Lists as Bounded Queues•1 minute
Key Terms: Rate Limiting with Sorted-Set Windows•1 minute
Reflection: Rate Limiting with Sorted-Set Windows•1 minute
Streams, Consumer Groups & XREADGROUP
Module 3•14 minutes to complete
Module details
Build real-time data pipelines on Valkey streams — XADD and XREADGROUP for exactly-once delivery, consumer groups for parallel processing, and XPENDING + XCLAIM for failure recovery when workers crash mid-message.
Make Valkey production-grade in Rust — batch commands with pipelining for round-trip math, write atomic multi-key updates with MULTI/EXEC + WATCH, and run server-side Lua scripts via EVAL and the script cache.
What's included
5 videos4 readings
Show info about module content
5 videos•Total 9 minutes
4.1.1 Pipelining•2 minutes
4.1.2 MULTI / EXEC & WATCH•2 minutes
4.1.3 EVAL & Script Cache•2 minutes
4.2.1 Connection Pooling•2 minutes
4.2.2 Benchmarking with Criterion•2 minutes
4 readings•Total 4 minutes
Key Terms: Pipelining•1 minute
Reflection: Pipelining•1 minute
Key Terms: Connection Pooling Under Load•1 minute
Reflection: Connection Pooling Under Load•1 minute
End-to-End Demo
Module 5•2 hours to complete
Module details
See every pattern in action in a working Rust service. Walk through the companion repository — Docker Compose, valkey-core, valkey-streams, and valkey-cli — and connect the data shapes, streams, and transactions you've learned into one cohesive production-shaped demo.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.