Achyuth Chowdary D A’s Post

View profile for Achyuth Chowdary D A, graphic

SDE @Amazon | Ex-SDE @OpenText | NIT | Leetcode

𝐄𝐯𝐞𝐫 𝐖𝐨𝐧𝐝𝐞𝐫𝐞𝐝 𝐰𝐡𝐲 𝐬𝐚𝐦𝐞 𝐫𝐞𝐪𝐮𝐞𝐬𝐭 𝐭𝐚𝐤𝐞𝐬 𝐝𝐢𝐟𝐟𝐞𝐫𝐞𝐧𝐭 𝐫𝐞𝐬𝐩𝐨𝐧𝐬𝐞 𝐭𝐢𝐦𝐞 🤔? ➡️𝑪𝒐𝒏𝒕𝒆𝒙𝒕 𝑺𝒘𝒊𝒕𝒄𝒉 𝒐𝒓 𝑩𝒂𝒄𝒌𝒈𝒓𝒐𝒖𝒏𝒅 𝑷𝒓𝒐𝒄𝒆𝒔𝒔 🔄: The request time may contain more data or random additional latency introduced by a context switch to a background process. ➡️𝑵𝒆𝒕𝒘𝒐𝒓𝒌 𝑷𝒂𝒄𝒌𝒆𝒕 𝑳𝒐𝒔𝒔 𝒂𝒏𝒅 𝑹𝒆𝒕𝒓𝒂𝒏𝒔𝒎𝒊𝒔𝒔𝒊𝒐𝒏 📦: =>Loss of a network packet and TCP retransmission can contribute to additional latency. ➡️𝑮𝒂𝒓𝒃𝒂𝒈𝒆 𝑪𝒐𝒍𝒍𝒆𝒄𝒕𝒊𝒐𝒏 𝑷𝒂𝒖𝒔𝒆 🗑️: =>Latency might be introduced by garbage collection pauses in the server's memory management. ➡️𝑷𝒂𝒈𝒆 𝑭𝒂𝒖𝒍𝒕 𝒂𝒏𝒅 𝑫𝒊𝒔𝒌 𝑹𝒆𝒂𝒅 📀: =>A page fault forcing a read from disk can result in additional latency. ➡️𝑴𝒆𝒄𝒉𝒂𝒏𝒊𝒄𝒂𝒍 𝑽𝒊𝒃𝒓𝒂𝒕𝒊𝒐𝒏𝒔 𝒊𝒏 𝑺𝒆𝒓𝒗𝒆𝒓 𝑹𝒂𝒄𝐤 🔄: =>External factors like mechanical vibrations in the server rack can impact performance. ➡️𝑽𝒂𝒓𝒊𝒐𝒖𝒔 𝑶𝒕𝒉𝒆𝒓 𝑪𝒂𝒖𝒔𝒆𝒔 💼: =>There could be numerous other factors causing random additional latency. 𝐖𝐡𝐞𝐧 𝐬𝐞𝐯𝐞𝐫𝐚𝐥 𝐛𝐚𝐜𝐤𝐞𝐧𝐝 𝐜𝐚𝐥𝐥𝐬 𝐚𝐫𝐞 𝐧𝐞𝐞𝐝𝐞𝐧 𝐭𝐨 𝐬𝐞𝐫𝐯𝐞 𝐚 𝐫𝐞𝐪𝐮𝐞𝐬𝐭? 🌟 ➡️𝑩𝒂𝒄𝒌𝒆𝒏𝒅 𝑪𝒂𝒍𝒍 𝑫𝒖𝒓𝒂𝒕𝒊𝒐𝒏𝒔 ⏱️: =>Backend Calls: 92ms, 100ms, 150ms. =>Each backend call has a specific duration. ➡️𝑺𝒆𝒓𝒗𝒊𝒄𝒆 𝑪𝒐𝒎𝒑𝒍𝒆𝒕𝒊𝒐𝒏 ✅: =>The response will be served after the completion of all backend calls. Specifically, it will be delayed until the slowest backend call is finished (150ms). 🚀 ➡️Thanks for reading 😀 , Don't Like if you find it's not useful 🤣 . ➡️I am open to work, DM me for any referral or any openings. ➡️Credit to: "Designing Data-Intensive Applications." by Martin Kleppmann #tech #technotes #interview #systemdesign #backend #servers #apis #technology #creativity #Future #bettersoftwareengineer #softwareengineer #bettereveryday #networking

  • No alternative text description for this image

To view or add a comment, sign in

Explore topics