ALOHA Protocol Study Guide

A comprehensive guide to understanding the ALOHA random access protocol, its variants, and how it shaped modern networking

Pure ALOHA

The original ALOHA protocol developed at the University of Hawaii in the 1970s. It allows stations to transmit whenever they have data to send.

  • Frames transmitted at completely arbitrary times
  • Collisions can occur if two stations transmit simultaneously
  • Maximum throughput of only 18.4%
  • Simple but inefficient for high traffic

Slotted ALOHA

An improved version that divides time into discrete slots, requiring stations to transmit only at the beginning of time slots.

  • Time divided into fixed-length slots
  • Transmissions synchronized to slot boundaries
  • Reduces collision window by half
  • Maximum throughput of 36.8% (double Pure ALOHA)

Introduction to ALOHA Protocol

The ALOHA protocol is a simple communication scheme developed in the 1970s at the University of Hawaii to connect computers across the Hawaiian Islands. Named after the Hawaiian greeting "Aloha," it was one of the earliest random access protocols and forms the basis for many modern networking technologies like Ethernet and WiFi.

ALOHA operates on a "transmit now, apologize later" principle where stations send data whenever they have it, without checking if the channel is busy. If a collision occurs, the station waits a random time and retransmits.

How ALOHA Works

  1. Transmission: Any station with data to send transmits immediately (Pure ALOHA) or at the next time slot boundary (Slotted ALOHA).
  2. Collision Detection: If two or more stations transmit simultaneously, their signals collide and become corrupted.
  3. Acknowledgment: The sender waits for an acknowledgment from the receiver. If not received within a timeout period, it assumes a collision occurred.
  4. Retransmission: After a collision, stations wait a random period before retrying to avoid repeated collisions.

Key Concepts

  • Vulnerable Period: The time during which a frame can suffer a collision (2×frame time for Pure ALOHA, 1×frame time for Slotted ALOHA)
  • Throughput: The successful transmission rate (Pure ALOHA: 18.4%, Slotted ALOHA: 36.8% at optimal load)
  • Backoff Algorithm: After a collision, stations wait a random time before retransmitting
  • Channel Load (G): The total offered traffic including retransmissions

ALOHA Protocol Visualization

Click the buttons below to see how Pure ALOHA and Slotted ALOHA handle transmissions and collisions. Stations transmit packets at different times, and collisions occur when packets overlap.

Click a button to start the visualization

Pure ALOHA vs Slotted ALOHA Comparison

Feature Pure ALOHA Slotted ALOHA
Time Structure Continuous time Discrete time slots
Transmission Time Anytime Only at slot beginnings
Vulnerable Period 2 × T (frame time) 1 × T (frame time)
Maximum Throughput 18.4% (1/2e) 36.8% (1/e)
Maximum Efficiency Low Double of Pure ALOHA
Implementation Complexity Simple Requires synchronization
Optimal Load (G) 0.5 1.0

ALOHA Protocol Quiz

Test your knowledge with these questions about ALOHA protocols.

1. What is the maximum throughput of Pure ALOHA?

25%
18.4%
50%
36.8%

2. How does Slotted ALOHA improve upon Pure ALOHA?

By using error correction codes
By dividing time into discrete slots
By using frequency division multiplexing
By implementing encryption

3. What is the vulnerable period for a frame in Pure ALOHA?

Equal to the frame transmission time
Twice the frame transmission time
Half the frame transmission time
Unlimited

4. Which modern technology is based on ALOHA principles?

Ethernet
WiFi (CSMA/CA)
Both A and B
Neither A nor B

Quiz Result

Your score: 0/4