π€ What is Congestion Control? (Basic Idea)
From the previous topic, we learned:
Congestion happens when too many packets overload the network.
π Congestion control is about preventing or reducing congestion before the network collapses.
π§ Simple Definition
π Congestion control refers to techniques used to regulate the flow of data in a network so that traffic load does not exceed network capacity.
π§ Congestion Control vs Flow Control
Aspect | Congestion Control | Flow Control |
|---|---|---|
Controls | Network load | Receiver capacity |
Scope | Entire network | End-to-end |
Example | TCP congestion control | TCP sliding window |
π Congestion control β Flow control
π§ Where is Congestion Control Applied?

Congestion control can be applied at:
Network layer (routers)
Transport layer (TCP)
π― Goals of Congestion Control
Congestion control aims to:
π« Prevent network collapse
π¦ Reduce packet loss
β±οΈ Reduce delay
βοΈ Ensure fairness among users
π Improve throughput
π§© Classification of Congestion Control Techniques
Congestion control techniques are broadly divided into:
1οΈβ£ Open-Loop Congestion Control
2οΈβ£ Closed-Loop Congestion Control
π This classification is VERY IMPORTANTβ
π 1. Open-Loop Congestion Control (Prevention)
π§ What is Open-Loop Congestion Control?
π In open-loop control:
Decisions are made before congestion occurs
No feedback from the network
Focus is on prevention
π βPrevent congestion rather than cure itβ
π§ Real-Life Analogy
π¦ Traffic Rules
Speed limits
Lane discipline
Traffic signals
π These rules prevent traffic jams before they happen.
π§© Open-Loop Congestion Control Techniques
π§ Explanation
Network checks if it can handle new traffic
If overloaded β new connection denied
π Used in:
ATM networks
QoS-based systems
β Advantage
Prevents overload
β Disadvantage
New users may be blocked
π§ Explanation
Traffic shaping controls:
Rate of data transmission
Smooths bursty traffic
Two common algorithms:
π° a) Leaky Bucket Algorithm
Bucket leaks at constant rate
Excess packets are discarded
π Ensures steady traffic flow.
πͺ b) Token Bucket Algorithm
Tokens generated at fixed rate
Packet sent only if token available
π Allows controlled bursts βοΈ
π§ Explanation
Resources (bandwidth, buffer) reserved in advance
Used in multimedia applications
π Example:
Video conferencing π₯
π§ Explanation
Routes selected based on current traffic
Avoids congested paths
π Helps balance load.
π§ Explanation
Determines order of packet transmission
Examples:
FIFO (First In First Out)
Priority scheduling
Weighted Fair Queuing
π Ensures fairness βοΈ
π 2. Closed-Loop Congestion Control (Feedback-Based)
π§ What is Closed-Loop Congestion Control?
π In closed-loop control:
Congestion is detected
Feedback is sent
Action is taken to reduce congestion
π βDetect β Feedback β Adjustβ
π§ Real-Life Analogy
π Traffic Police
Detect traffic jam
Redirect vehicles
Reduce congestion
π§© Closed-Loop Congestion Control Techniques
π§ Explanation
Congested node tells upstream nodes to slow down
Propagates backward
π Used in:
Virtual circuits
π§ Explanation
Router sends special packet to sender
Asks sender to reduce transmission rate
π Rarely used today.
π§ Explanation
Router marks packets instead of dropping them
Receiver informs sender
Sender reduces rate
π Prevents packet loss βοΈ
π§ Explanation
Router deliberately drops packets
Reduces load immediately
π Last-resort technique β
TCP uses multiple mechanisms:
π’ a) Slow Start
Start with small congestion window
Increase exponentially
π Prevents sudden overload.
π b) Congestion Avoidance
Increase window slowly (linear)
Avoids congestion region
π« c) Fast Retransmit
Retransmit lost packet quickly
Based on duplicate ACKs
π d) Fast Recovery
Avoids going back to slow start
Improves performance
βοΈ Open-Loop vs Closed-Loop
Feature | Open-Loop | Closed-Loop |
|---|---|---|
Feedback | β No | β Yes |
Focus | Prevention | Detection & recovery |
Reaction | Proactive | Reactive |
Example | Traffic shaping | TCP congestion control |
π§ Congestion Control Summary Table
Technique | Type |
|---|---|
Admission control | Open-loop |
Traffic shaping | Open-loop |
Choke packet | Closed-loop |
ECN | Closed-loop |
TCP congestion control | Closed-loop |
π§ Memory Tricks
Open-loop = No feedback π
Closed-loop = Feedback π
TCP = Smart congestion control π§
β One-Line Summary
πΉ Congestion control techniques regulate data flow using preventive (open-loop) and feedback-based (closed-loop) methods to maintain network performance.