Skip to main content
2 votes

Two Generals' Problem - Thought Experiment

Let's say $a$ has gotten its second confirmation while $b$ only has one confirmation. $a$ sends an ack to $b$ to tell $b$ it has received the second message. Now, by your rule $a$ should start ...
proof-of-correctness's user avatar
2 votes
Accepted

Understanding the differences between link and channel

I don't think these terms have formal definitions. See https://en.wikipedia.org/wiki/Link_layer and https://en.wikipedia.org/wiki/Communication_channel for closest that I know of that has a fairly ...
D.W.'s user avatar
  • 162k
2 votes

How do you tell whether a binary number is positive or negative?

how do we know that they t2 = 0xfffffff5= -11 and not $t2 = 4294967285? We don't. They're the same number (in mod 232 arithmetic, which is what your computer uses.) Essentially, signed or unsigned is ...
Rainer P.'s user avatar
  • 852
1 vote

Throughput and response time

You have to define what you mean by "response time". Let's suppose we have a client sending a request to a server over a network, and the server sending back a response. What is the time it ...
D.W.'s user avatar
  • 162k
1 vote
Accepted

How does OSI model and TCP/IP work?

How does the internet works? I could answer this question in one sentence or we could be here for hours. But I want to keep things simple and easy to understand. The internet is literally a mesh of ...
S. M.'s user avatar
  • 327
1 vote

Do all computers use parity checking? When does it happen?

The problem with parity checking is: What do you do if it is wrong? Let’s say you stored a byte with value x, a parity bit is added, then you read the value and there is a parity error. You know that ...
gnasher729's user avatar
  • 30.7k
1 vote

Why is TCP known as reliable protocol?

It's interesting to note that while the protocol is called "reliable" you can't build a system with guaranteed data delivery with it. It looks like it can be said it's receiver reliable, ...
Ev Dolzhenko's user avatar
1 vote

Two Generals Problems - What's wrong with my approach?

The enemy puts a few dozen highly trained snipers around the generals camp. Anyone leaving looking like a messenger or entering looking like a messenger will be instantly shot. Sorry, your general ...
gnasher729's user avatar
  • 30.7k
1 vote

Two Generals Problems - What's wrong with my approach?

Here is where you misunderstand the Two Generals Problem: I will resend the time of attack after time t if I did not get a confirmation. The Two Generals problem ...
FreelanceConsultant's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible