Beyond Time Complexity: Unlocking Application Performance Secrets

MD Jamil Kashem Porosh
2 min readMar 30, 2024

--

Beyond Time Complexity: Unlocking Application Performance Secrets

Performance is a crucial factor for the success of any business or startup. To enhance the performance of an application, it is essential to consider various aspects beyond time complexity.

Every part of the process, from the client device to every component of the server and database, plays a role in the overall performance of your application.

Imagine you are baking a cake. The cake is the final product, but many steps are involved in making it. You need to gather the ingredients, mix them together, bake the cake, and let it cool. Each step takes time, and if you want to make the cake faster, you need to optimize each step.

𝐈𝐟 𝐲𝐨𝐮 𝐜𝐨𝐮𝐥𝐝 𝐬𝐚𝐯𝐞 𝐚𝐧 𝐚𝐯𝐞𝐫𝐚𝐠𝐞 𝐨𝐟 𝟐𝟎 𝐦𝐢𝐥𝐥𝐢𝐬𝐞𝐜𝐨𝐧𝐝𝐬 𝐢𝐧 𝟓 𝐨𝐩𝐞𝐫𝐚𝐭𝐢𝐨𝐧𝐚𝐥 𝐩𝐚𝐫𝐭𝐬 𝐨𝐟 𝐲𝐨𝐮𝐫 𝐬𝐲𝐬𝐭𝐞𝐦, 𝐲𝐨𝐮 𝐰𝐨𝐮𝐥𝐝 𝐬𝐚𝐯𝐞 𝟏𝟎𝟎 𝐦𝐢𝐥𝐥𝐢𝐬𝐞𝐜𝐨𝐧𝐝𝐬 𝐢𝐧 𝐭𝐨𝐭𝐚𝐥. 𝐓𝐡𝐢𝐬 𝐦𝐞𝐚𝐧𝐬 𝐭𝐡𝐚𝐭 𝐲𝐨𝐮 𝐰𝐨𝐮𝐥𝐝 𝐬𝐚𝐯𝐞 𝟏 𝐬𝐞𝐜𝐨𝐧𝐝 𝐢𝐧 𝐞𝐯𝐞𝐫𝐲 𝟏𝟎 𝐨𝐩𝐞𝐫𝐚𝐭𝐢𝐨𝐧𝐬.

While 20 milliseconds might seem very low, when multiple instances of these savings are added together, they have a significant cumulative effect.

Here are some parts that can significantly improve application performance::

✅ Persistent Connections
✅ Response Compression
✅ Efficient Encoding
✅ Web Content Caching
✅ SSL Session Caching
✅ Session Caching
✅ Thread Pool
✅ DB Connection Pool
✅ Efficient Locking
✅ Query Optimization
✅ Asynchronous Logging
✅ Sequential & Batch IO
✅ Data Caching
✅ Denormalization
✅ Normalization
✅ Indexing
✅ Buffer/Page Cache
✅ Time and space complexity
More…

Conclusion:

👋 Hey there! If you have any burning questions or just want to say hi, don’t be shy — I’m only a message away. 💬 You can reach me at jamilkashem@zoho.com.

🤝 By the way, I think we share the same interest in software engineering — let’s connect on LinkedIn! 💻

Stay tuned for more detailed blogs on each topic.

--

--

MD Jamil Kashem Porosh

Software Engineer | 📝 Tech Blogger | React.js, React Native, JavaScript, Go, Python. (✉️ jamilkashem@zoho.com)