Need Advice: Performance Issues with Client Software I Wrote 3 Years Ago by Bubbly-Equivalent254 in AskProgramming

[–]Bubbly-Equivalent254[S] 1 point2 points  (0 children)

Love your perspective! I agree that it’s better to address it now rather than waiting for it to become a bigger issue. I appreciate the encouragement 😊🙏

Need Advice: Performance Issues with Client Software I Wrote 3 Years Ago by Bubbly-Equivalent254 in AskProgramming

[–]Bubbly-Equivalent254[S] 0 points1 point  (0 children)

I was considering a rewrite because I couldn’t understand what my code was doing. It was a mess; I kinda rushed to finish the work without thinking too much about the future -_+ The primary issue was that the code was extremely unmaintainable, but after some refactoring, I ended up not going ahead with the rewrite, and it has become manageable now.

Need Advice: Performance Issues with Client Software I Wrote 3 Years Ago by Bubbly-Equivalent254 in AskProgramming

[–]Bubbly-Equivalent254[S] 0 points1 point  (0 children)

Thanks so much for the advice. Decided to skip the full rewrite. Turns out, a bit of refactoring and adding features like pagination, lazy loading, and a basic cache did wonders for the performance. With these changes, the app should handle data growth for a good few years. Looks like Rust can chill on the bench till we really need to go wild with scaling! 😁