⚡ Latency क्या है? (What is Latency?)
Latency वह समय (time delay) है जो किसी data को source (भेजने वाले) से destination (प्राप्त करने वाले) तक पहुँचने में लगता है।
इसे simple words में “delay” या “response time” भी कहते हैं।
👉 Latency जितनी कम होगी, system उतना fast काम करेगा।
👉 Latency ज्यादा होने पर system slow और laggy महसूस होता है।
📌 Latency Example (Simple Explanation)
-
आप mobile से एक website खोलते हैं →
server तक request जाने में और वापस आने में जो time लगता है, वह latency है। -
Online game में bullet fire करते हैं और action देर से होता है →
यह high latency है।
🧠 Latency के Main Types (Important for Exam)
नीचे latency के मुख्य प्रकार दिए गए हैं, जो नेटवर्किंग, IoT, कंप्यूटर और mobile communication में पूछे जाते हैं:
1️⃣ Network Latency
Network में data को एक device से दूसरी device तक पहुँचने में जो time लगता है।
कारण:
-
Slow internet
-
Long distance
-
Congestion
-
Router load
Example:
Ping test में 20 ms latency = fast
200 ms latency = slow
2️⃣ Propagation Latency
Signal को medium (wire, fiber, wireless) के अंदर travel करने में समय लगता है।
जितना ज्यादा distance → उतनी ज्यादा propagation latency.
Example:
India → USA fiber connection में delay आता है।
3️⃣ Processing Latency
जब कोई device (server, router, microcontroller) data को process करता है तो जो delay होता है।
Example:
Router packets को check करके आगे भेजता है — उसमें time लगता है।
4️⃣ Queuing Latency
जब packets को आगे भेजने से पहले queue में wait करना पड़े तो उसे queuing latency कहते हैं।
Example:
High traffic network में कई packets कतार में लगते हैं → delay बढ़ता है।
5️⃣ Transmission Latency
Data को channel में भेजने में जो समय लगता है।
यह depend करता है:
-
Packet size
-
Bandwidth
Example:
Large file = more transmission time
Small file = less transmission time
6️⃣ Application Latency
App को load होने में और server से response लेने में जो delay होता है।
Example:
Slow loading website
Slow response API
🎯 Why Latency is important?
Latency बताती है कि system कितना fast या slow respond कर रहा है।
यह fields में बहुत critical है:
-
Online gaming
-
Video conferencing
-
IoT communication
-
Cloud computing
-
Robotics and automation
-
Industrial machines
-
Self driving cars
🚀 Low Latency कैसे हासिल की जाती है?
-
High-speed internet use करके
-
Fiber optic cable
-
Powerful CPU/Router
-
Optimized network design
-
Local servers (CDN)
-
Lightweight protocols (MQTT, CoAP)