User Avatar

Leo E.

Byzantine Generals

4y ago

Math enthusiast

Context-free Byzantine Generals are Boring

For the last two days, I was writing about Byzantine Generals as an analogy for consensus in distributed systems. Anyone who read a textbook or an academic paper about distributed systems will know that it is a pretty interesting analogy. However, everything else about distributed systems is fairly abstract and dry unless you already deeply care about the topic.

My wife lovingly read my three essays and even though she did not find them particularly exciting, she didn't mind revising them for grammar and basic readability. However, in all honesty I think she found Byzantine Generals relatively contrived and boring. Some of the issues that she mentioned explicitly or implicitly were:

  • Maybe they are all wrong so who cares about an agreement?

  • Military severely punishes dissent, so having treacherous generals sounds contrived.

  • Why would they have to agree all the time? They seem to agree most of the time, so what if there is some special case where they don't agree?

So, Byzantine Generals works in relatively specific context where the reader already understands that distributed systems often imply malicious setting where the least you can do is guarantee correctness at the design level. More importantly, looking at the problem mathematically, every corner case matters and without meticulously covering all of them the theory is just wrong.

Occasionally, mathematics can appear both contrived and nit-picky. Admittedly, sometimes it is. However, most of the times mathematics helps us understand the fundamental nature of the problem if we have the right context and are willing to put in the effort.