Fixing React-Admin Perf Issues + Enhancing Task Management | Glowing-Telegram Project - Ep 104
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 Â