Fixing React-Admin Perf Issues + Enhancing Task Management | Glowing-Telegram Project - Ep 104

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



Duration: 0:00
47 views
2


In this video, I dive into some critical updates and fixes for our project, particularly around React-Admin and the task management system using Rust. Recently, I faced an issue where forms with large entries were causing performance bottlenecks and even browser crashes due to how React-Admin handled array inputs. Thankfully, updating React-Admin to the latest version resolved these issues, making it much more efficient.

We begin by recapping the tasks from last week, focusing on the implementation of a background task management system that cues follow-up tasks once the primary ones complete. This involves significant changes to how we manage and process tasks, including the introduction of task templates and refining our queue system to handle these efficiently.

Throughout this session, I discuss the restructuring necessary to optimize how tasks are queued, processed, and serialized, both on the backend with Redis and within the Rust codebase. I explore different ways of handling recursive task templates, ensuring that next tasks seamlessly integrate into our current task workflow without causing bottlenecks or crashes.

After resolving the main issues, I delve into some specific code modifications, like removing unnecessary unwraps to prevent panics and refining type safety within our task handling functions. I also touch upon updating the Docker compose files, chasing down some type issues in the frontend, and making slight adjustments to improve error handling and logging.

To ensure the system's robustness, I discuss the challenges and solutions around serializing and deserializing tasks, implementing adequate tracing for errors, and preparing the frontend to utilize these backend enhancements effectively.

Join me as I navigate through these intricate updates, and don't forget to check out my other streams and resources:


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




Other Videos By saebynVODs


2024-09-20Enhancing Rust API with React-Admin for Better Video Management | glowing-telegram - Episode 114
2024-09-19Enhancing YouTube Integration with Rust APIs and React-Admin | glowing-telegram - Episode 113
2024-09-18Fixing Upload Issues & Error Handling in Rust APIs | glowing-telegram project - Episode 112
2024-09-17More debugging Rust APIs with React-Admin Integration | glowing-telegram project - Episode 111
2024-09-16Debugging Integration for Automated YouTube Playlists | glowing-telegram project - Episode 110
2024-09-15Solving API Quota Issues for YouTube Uploads with Rust APIs | Glowing-Telegram Project - Episode 109
2024-09-14Improving Rust APIs Integration with React-Admin | Glowing-Telegram Project - Episode 108
2024-09-13Optimizing YouTube Uploads with Rust and React-Admin | Glowing-Telegram Project - Episode 107
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