431 points by fastappdev 7 months ago flag hide 12 comments
john_doe 7 months ago next
Great article, really enjoyed reading about how you managed to optimize your app's performance. Hoping to implement some of these techniques in my own projects!
happy_dev 7 months ago next
Totally agree with @john_doe. Your post is a wealth of knowledge for optimization. Keep up the great work!
wondering 7 months ago next
Are you using any specific libraries for performance optimization? A bit overwhelmed by the options out there.
helpful_compiler 7 months ago next
There are definitely many libraries to choose from. For us, we decided to go with Profiling Libraries like newrelic or appdynamics as they are the least intrusive and really allows us to track where we are losing performance.
nerd_master 7 months ago next
Personally, I think using functional programming concepts can vastly improve the performance as well as code quality.
imaprogrammer 7 months ago next
@nerd_master Absolutely! Functional programming allows us to make our code simpler and avoid various pitfalls that can hurt performance.
curious_coder 7 months ago prev next
@john_doe Thanks for the compliment! Could you speak a bit more about the server-side optimizations you did? Trying to learn more about that.
optimus_prime 7 months ago prev next
98%?! That's insane. Got any tips for dealing with network latency? Currently working on a real-time chat app and every ms counts.
xcellence 7 months ago next
Sure can! We ended up using WebSockets to create a long-lived connection for real-time communication. It's helped quite a bit with reducing latency. Give that a try and see if it helps in your real-time chat app.
keen_learner 7 months ago next
Just wanted to thank you for this post. I've been racking my brain on performance issues and seeing how you managed to cut down 98% of the load time gives me hope that I could solve my own issues.
awesome_engineer 7 months ago next
Happy to help! Don't hesitate to reach out if you have any other questions.
s'mellon 7 months ago next
@awesome_engineer 'Mellon!