You are viewing a single thread.
View all comments View context
11 points

What’s a token ring?

Also I’m pretty sure I still have a box of 3.5” they can have lol

permalink
report
parent
reply
18 points

permalink
report
parent
reply
5 points

I was all prepared to explain token ring architecture, but this is way better.

permalink
report
parent
reply
71 points

What’s a token ring?

Wait-your-turn Internet

permalink
report
parent
reply
17 points

Until someone forgets the terminator on one end of the network and the token falls out

permalink
report
parent
reply
2 points
*

“That’s why we’ve got a bucket under the wire’s end. Token spillage is a pain in the ass to sweep up. At the end of the day we just collect the bucket and put all the tokens back in the first machine.”

permalink
report
parent
reply
27 points

If it’s stupid and it works, it ain’t stupid.

It comes from a time when wired infra was a shared medium and only one party could talk at a time. To control who talked, they passed around a token. The token would essentially take a lap around the ring before you could speak again.

Because it’s a shared medium, it’s one big collision domain.

Now, collisions are bad, mmmkay.

Modern wired infrastructure is switched. There’s some brains in the operation. The switch learns the hardware ID (unique MAC address) of every device that’s talked to it, because every frame that goes through it has the source and destination hardware ID as part of it.

As such, the switch will only forward out the port where it knows the destination is. It can only know it from one (logical) port (if there’s more than one, that’s a paddlin’). If it doesn’t know it, it’ll forward the frame out all interfaces except the one it rode in on.

Compare this with modern wireless where, aside from 802.11ax, clients just… (essentially) wait for a random amount of time, listen for a break in the signal, and take a leap of faith. It’s amazing anything works on wifi with how much modern homes stress them.

permalink
report
parent
reply
12 points

802.11ax, clients just… (essentially) wait for a random amount of time, listen for a break in the signal, and take a leap of faith.

Ethernet originally worked the same way, back when it competed directly against token ring. Ethernet won by being as reliable in real world scenarios while being cheaper to build out. Gigabit Ethernet was the first standard that insisted on full duplex only.

Half duplex mode with the collision avoidance is still actively supported for 10/100, but it is becoming very hard to find an unswitched hub. So you may have to write up your own twisted pair cables.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
11 points

The idea was one computer on the LAN would hold the “talking stick” (the token) and transmit whatever data it needed to, then pass the token off to the next computer in the ring. If a computer received the token and didn’t have anything to transmit, it’d just pass on the token. The problem would be detecting when one of the computers in the loop had gone offline or crashed and taken the token with it. After some amount of time with no traffic, some system was responsible for generating a new token and an amended turn order. Similar problems existed when a new computer wanted to get added to the rotation.

permalink
report
parent
reply

Technology

!technology@lemmy.world

Create post

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


Community stats

  • 15K

    Monthly active users

  • 6.8K

    Posts

  • 154K

    Comments