Communication Networks · Visualized

ALOHA & Slotted ALOHA

Media Access

Sharing one wire or radio channel fairly: ALOHA, CSMA/CD and collision handling.

3 interactive subtopics — each one animated, step-through and explained.

ALOHA & Slotted ALOHA

Media Access

ALOHA is the ancestor of all shared-medium protocols: stations transmit whenever they have data, and collisions are detected afterwards (missing ACK), triggering random backoff retries. Slotted ALOHA synchronises everyone to time slots, so overlaps either fully coincide or don’t happen at all — doubling throughput from 18% to 37%.

How ALOHA & Slotted ALOHA Works

  1. Pure ALOHA: transmit immediately; if two signals overlap even slightly, both collide.
  2. Collision discovered by missing acknowledgement after the round trip.
  3. Back off by a random time and try again — randomness spreads the retries apart.
  4. Slotted ALOHA: transmissions may only start on slot boundaries.
  5. Partial overlaps become impossible; a slot is a success, idle, or a total collision.

ALOHA & Slotted ALOHA Worked Example

Try it: Switch Pure ⇄ Slotted and play — identical traffic, visibly fewer collisions once slotted.

In pure mode B starts halfway through A’s burst → both destroyed. Slotted forces them into the same full slot: still a collision, but retry slots separate cleanly and the channel wastes half as much airtime.

free-running time — starts anywherestation Astation Btime →
collided burst successful burst
Stage 1 / 6
PURE ALOHA — transmit the instant data arrives… and hope nobody else is mid-burst.

ALOHA & Slotted ALOHA: Key Facts to Remember

Max throughputpure 18.4% · slotted 36.8% of channel capacity
HistoricUniversity of Hawaii 1970 — the seed Ethernet grew from
Still relevantRFID tag reading and satellite uplink reservations use ALOHA variants

Recommended resourcesAffiliate links · may earn us a commission

Recommended for learners

Cloud hosting for side projectsShip the portfolio project that gets you hired — free credits for new accounts.Claim credits Pro code editor & AI assistantWrite, debug and explain code faster while you practice the patterns here.Try it free Structured coding coursesVideo courses that pair well with visual practice — pick one language and go deep.Browse courses

See how packets really travel

Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.