Priority Queues in Redis for Rust API Tasks Cont'd - Glowing Telegram project - Episode 96

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=qqxZM7nXQGM



Duration: 0:00
40 views
3


In this video, I continue working on the priority queue system in Rust for task management. We delve into the integration with Redis to manage task scheduling and retries more effectively. Here are the main points I cover in the video:

- Converting floating point numbers for timestamp management.
- Handling different cases for task scheduling.
- Using Redis commands like ZADD, BZPOPMIN, and ZRANGE for managing sorted sets.
- Implementing a retry mechanism by defining constants and reading environment variables.
- Discussing the implications of thread sleep and task delays due to API limits.
- Ensuring data consistency during task processing by considering Redis transactions.
- Adjusting task status updates and queue management.
- Examining the serialization of tasks and addressing related errors in the build process.
- Final steps include testing the task creation and ensuring the system works as expected.

🔗 Check out my Twitch channel for more streams:   / saebyn  
GitHub: https://github.com/saebyn/glowing-tel...
Discord:   / discord  




Other Videos By saebynVODs


2024-09-12Enhancing Backend Support and Task Handling | Glowing-Telegram Project - Episode 106
2024-09-11Automating YouTube Video Uploads with Rust and React-Admin | Glowing-Telegram Project - Episode 105
2024-09-10Fixing React-Admin Perf Issues + Enhancing Task Management | Glowing-Telegram Project - Ep 104
2024-09-09Debugging Rust APIs and Task Chaining in React-Admin | Glowing-Telegram Project - Episode 103
2024-09-08Solving Complex Querying and Asynchronous Tasks | Glowing Telegram Project - Episode 102
2024-09-07Fixing Stream Date Sorting in Rust APIs for React Admin | Glowing Telegram Project - Episode 101
2024-09-06Consolidated Rust-based API service part 3 | Glowing Telegram - Episode 100
2024-09-05Consolidating Rust APIs part 2 | Glowing Telegram - Episode 99
2024-09-04Consolidating Microservices in Rust | Optimizing Glowing Telegram Project - Episode 98
2024-09-03Improving YouTube Upload API with Rust for Glowing-Telegram Project - Episode 97
2024-09-02Priority Queues in Redis for Rust API Tasks Cont'd - Glowing Telegram project - Episode 96
2024-09-01Implementing Priority Queues in Redis for Rust API Tasks - Glowing Telegram project - Episode 95
2024-08-31Handling 503 Errors and Priority Queues in Rust | Glowing Telegram project - Episode 94
2024-08-30Handling API Quotas and Task Status in Rust - Glowing Telegram project - Episode 93
2024-08-29Handling API Quotas & Notifications in Rust and React-Admin | Glowing Telegram project - Episode 92
2024-08-28Debugging Notification Issues in React-Admin with Rust APIs | Glowing Telegram - Episode 91
2024-08-27Debugging Rust APIs w/ React-Admin Task Status Updates | Glowing Telegram project - Episode 90
2024-08-26Handling Task Status Updates in Rust APIs with React-Admin | Glowing-Telegram Project - Episode 89
2024-08-25More Real-time Notifications with Rust APIs and React-Admin | Glowing-Telegram Project - Episode 88
2024-08-24WebSockets for Real-Time Updates in Rust and React Admin | Glowing-Telegram Project - Episode 87
2024-08-23Building Real-Time Notifications w/ Rust & WebSockets | Glowing-Telegram Project - Episode 86