- Report this article
Pratima Upadhyay
Pratima Upadhyay
Engineering at Airbnb | Women in Tech Mentor | Distributed Systems | Cloud Computing | System design | Data structures | Algorithms
Published Oct 14, 2022
+ Follow
Latency Vs Response Time
Many of us have been guilty of using the above two terms synonymously although they are a whole lot different.
Latency refers to the delay in the system, while the response time includes both the delays and the actual processing time.
Latencyis the time duration in which a request is waiting to be handled. Until the request is handled, it is latent which means it's inactive. A high latency indicates issues in the network or probably an overloaded server. Latency consists of only the delays- i.e the time the request is waiting to be handled. There are different types of latency like network and storage latency. It can be encountered over the web or while querying the database.
Response time is the time between a client sending a request and receiving a response.
Response time = Processing Time + Round trip Latency
Processing timeis the time taken by the server from receivingthe last byteof the request and returningthe first byteof the response. It does not include the time it takes the request to get from the client to the server or the time it takes to get from the server back to the client.
Response timeis the total time it takes for the web service to respond to the sent request, including all networking latencies. It is the sum of processing time and encountered latencies.
Like
Celebrate
Support
Love
Insightful
Funny
70
2 Comments
Mandeep Singh Shekhawat
Author of O'Reilly book "System Design on AWS" ★ Software Engineer ★ Work @{Jupiter, Amazon} ★ Distributed Systems ★ Cloud Architecture & DevOps ★ YouTuber @{MsDeepSingh}
1y
- Report this comment
Is it incorrect to say that latency for x API from client perspective equals (network delay + server processing = 2d + r) ? or should we always call it Response time?Is this standard terminology?
1Reaction
See more comments
To view or add a comment, sign in
More articles by Pratima Upadhyay
-
The Rise of Indian SaaS Startups : Comparing SaaS with IaaS and PaaS
Jan 31, 2023
The Rise of Indian SaaS Startups : Comparing SaaS with IaaS and PaaS
Did you know, despite the tight macroeconomic pressure and funding crunch, Indian SaaS startups have raised more than…
44
2 Comments
-
Master the Art of System Design: Enroll in My Live Course and Strengthen Your Fundamentals
Jan 28, 2023
Master the Art of System Design: Enroll in My Live Course and Strengthen Your Fundamentals
Register for the course Are you ready to take your technical skills to the next level? Look no further than my live…
44
1 Comment
-
Properties of Pub Sub Architecture
Jan 19, 2023
Properties of Pub Sub Architecture
Topics in a publish-subscribe system not only act as intermediaries between publishers and subscribers, but they also…
75
5 Comments
-
What are coroutines and how are they different from threads?
Jan 11, 2023
What are coroutines and how are they different from threads?
Coroutines are a programming construct that can be thought of as a lightweight version of threads. While threads are…
79
2 Comments
-
How are user passwords managed and validated in databases?
Jan 5, 2023
How are user passwords managed and validated in databases?
Did you know, back in 2005, Reddit developers confirmed that a hacker had stolen backup copies of their database that…
97
3 Comments
-
Pub/Sub Messaging Model
Nov 28, 2022
Pub/Sub Messaging Model
Pub-Sub messaging is an asynchronous communication method used in microservice architecture. The Pub-Sub model consists…
145
4 Comments
-
An introduction to Kubernetes
Nov 20, 2022
An introduction to Kubernetes
What is Kubernetes and why is it so popular? Kubernetes is an open source container orchestration tool developed by…
162
2 Comments
-
An introduction to Containers
Nov 12, 2022
An introduction to Containers
Have you ever wondered what is the buzz around containers and why is everyone moving towards containerizing their…
157
2 Comments
-
The birth and rise of NoSQL
Nov 4, 2022
The birth and rise of NoSQL
The acronym NoSQL was first used in 1998 by Carlo Strozzi while naming his lightweight, open-source “relational”…
139
3 Comments
-
Replication and Sharding
Oct 28, 2022
Replication and Sharding
Replication refers to having several copies of the same dataset hosted on separate machines in order to maintain…
199
12 Comments
See all articles
Sign in
Stay updated on your professional world
Sign in
By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.
New to LinkedIn? Join now
Insights from the community
- System Development Your system performance is suffering during peak usage times. How will you troubleshoot the sudden drop?
- Networking What are some common network API standards and formats that you use or recommend?
- RAID What are the benefits and risks of RAID hot swap?
- Computer Networking What are the steps to create a MIB file?
- Data Management How can you ensure data safety when changing your SATA mode to AHCI?
- Information Technology How can you use disk I/O metrics to monitor storage issues?
- Internet Protocol Suite (TCP/IP) How do you compare and contrast TCP/IP state transition diagram with other transport layer protocols?
- Operating Systems What is the best way to prioritize disk I/O performance tuning tasks?
- Algorithms What is the best way to ensure your algorithm design pattern is fault-tolerant?
- Systems Design How do you evaluate your system's performance?
Others also viewed
- The Basic Concepts Of Performance Test - Capacity Saigon Technology - Global Software Development Company 7mo
- Understanding and Analyzing Db2 Statistics, CPU Times, and DBAT Activity in a z/OS Production Environment... Fidel .V 2mo
- Exploring HTTP2 over HTTP1 protocol. Sufyan Khan 8mo
- Galleon XSR and G1 Applications Galleon Embedded Computing 2y
- Storage Pool vs. RAID Groups Aruun Shetty 1y
- Maxava for PowerHA Maxava 5mo
- Block Storage vs. File Storage Vivian Chionuma 5y
- Terabyte Dipti Goyal 3w
- Storware vProtect Stardust takes Open VM Data Protection on a next level ... Paweł Mączka 6y
- Make your performance tests more relevant with Think Time Bharti Garg 5y
Explore topics
- Sales
- Marketing
- IT Services
- Business Administration
- HR Management
- Engineering
- Soft Skills
- See All