Skip to content
0:00 / 0:00

#twogeneralsproblem#idempotency#distributedsystems

The Two Generals’ Problem

Tom Scott

6.7M subscribers • 29 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Tom Scott

Beginner. No background in the topic needed.

8.2M views7 years ago1 recommendation

Distributed systemsComputer scienceConsensus: Raft and PaxosNetworking and protocols

Tom Scott explains the Two Generals' Problem in computer science and how idempotency can help mitigate communication failures.

Time to tell a story about idempotency, computer science, and the Night of the Multiple Orders. • Sponsored by Dashlane —try 30 days for free at: dashlane.com/tomscott MORE BASICS: youtube.com/playlist?list=PL96C35uN7xGLLeET0dOWaKHkAlPsrkcha Written with Sean Elliott twitter.com/SeanMElliott/ Directed by Tomek Graphics by Mooviemakers mooviemakers.co.uk/ Audio mix by Haerther Productions haerther.net/ Thanks to Dashlane for sponsoring the video! If you're techie enough to watch this video, you should be using a password manager. Get a 30-day free trial at dashlane.com/tomscott 🟥 MORE FROM TOM: tomscott.com/ (you can find contact details and social links there too) ❓ LATERAL, free weekly podcast: lateralcast.com/ youtube.com/lateralcast/ 👥 THE TECHNICAL DIFFICULTIES: youtube.com/techdif

Why it's here

1 person recommends this

What people say. Recommended as a clear explanation of the Two Generals' Problem and how to handle server crashes using idempotency.

u/dutch_geckoin r/compsci • Recommends

On “[Question]- What if a server crashes after writing log to disk but before replies to the client”

Tom Scott also has a video about the Two Generals Problem which includes an example of using idempotency to mitigate the issue.