Blockchain Data Encoding: How RLNC Turbocharges Web3 Networks | Optimum Tech — Transcript
Full transcript
- 0:00Hi everyone. Uh I'm Yuriel Medart um
- 0:03co-founder Optimum uh of Optimum and
- 0:07also uh CEO and uh welcome back to my
- 0:10board. I've made a little bit more space
- 0:12than last time uh to continue talking
- 0:14about coding. So last time uh we looked
- 0:18at the simplest uh setting where we had
- 0:22three numbers x1, x2, x3 and we were
- 0:25sending them from one node to another.
- 0:28We're trying to make up for the problems
- 0:31that could arise from losing some of
- 0:33these numbers. Okay. Now, this is not
- 0:36really a network or it's just, you know,
- 0:38it's just a single link network. It's
- 0:40not what we would consider really to be
- 0:42a network. So, let's look at the
- 0:44simplest version of a network which is
- 0:47at least having two links rather than a
- 0:49single link. So let me look at this very
- 0:52simple version where I have at uh a
- 0:55transmitter here node one a relay node
- 0:59two and a last node node three and we're
- 1:02going to see what happens uh in this
- 1:04system. Okay, so um we know about coding
- 1:09now. We know that coding is about
- 1:11generating equations
- 1:14and we have our old friends X1, X2, X3.
- 1:17We're trying to get them from the
- 1:19transmitter all the way here to the
- 1:21receiver.
- 1:22Okay, what do we do? Well,
- 1:26assume for the time being that I end up
- 1:29losing one of the numbers on the first
- 1:32link and also one of the numbers on the
- 1:35second link. But of course, we don't
- 1:37know which number will get lost. And as
- 1:39an example, let's say that uh I send x1,
- 1:43x2, x3 over to
- 1:47node two and that the second number gets
- 1:49lost and node two is just a dumb relay.
- 1:53is just sending along what it received
- 1:56and it so it sends then these three
- 1:59numbers that it got X1, X3 because it
- 2:02missed X2 and the sum of the X's and it
- 2:06sends it over to the receiver and
- 2:09another number gets lost along this two
- 2:12to three link. Say that it's X3 that
- 2:15gets lost. we end up here with two
- 2:18unknowns uh two uh three unknowns x1 x2
- 2:21and x3 but only two equations and so
- 2:24node three is not able to uh decode.
- 2:28Now, what we could do is have the
- 2:30transmitter say, well, there's going to
- 2:32be two losses total, one here, one
- 2:36there. I should really add
- 2:39two equations rather than a single
- 2:41equations. We could come up with another
- 2:42equation. Say x1 + 2x2 + 3x3. Any other,
- 2:47you know, a lot of other equations will
- 2:49do. And that way, this node one here
- 2:52would have to do five transmissions.
- 2:55they would be then four received uh
- 2:59equations and then node two would say
- 3:02four transmissions and they would be
- 3:03three received equations. Okay. Uh so
- 3:07that would cost me basically
- 3:10five transmissions and four
- 3:13transmissions for a total of nine
- 3:16transmissions.
- 3:18Now could I have better utilization? So
- 3:22somehow end up recovering all of the
- 3:25data without doing that many
- 3:27transmissions. Well, I could in
- 3:30particular
- 3:32what I could ask the middle node to do
- 3:35node two is to do something maybe a
- 3:37little smarter. I could say well look
- 3:40why don't you decode
- 3:43from the transmitter? You have x1 you
- 3:47have x3. You have the sum of x1 and x2
- 3:50and x3. You could reconstruct X2 decode
- 3:57and then by reconstructing you would now
- 4:01have X1, X2, X3
- 4:03and now you can decode recode
- 4:08now
- 4:10send and that would cost me so here I
- 4:13would have four transmissions
- 4:15now I would have again four
- 4:16transmissions and I would have maybe
- 4:19this time it was if you recall
- 4:21U X3 that got lost. Okay. And if X3 gets
- 4:26uh gets lost this time, I still have
- 4:29three unknowns, three equations, I can
- 4:32reconstruct X3 from X1, X2 and this uh
- 4:36and the sum. Okay. So now rather than
- 4:40having a total of um having to have um
- 4:45five and four which remember before it
- 4:47cost me nine units of transmission. Now
- 4:50it's costing me just
- 4:53eight units of transmission. Okay. So I
- 4:56got a better efficiency in my network. I
- 5:00didn't have to pay as much in terms of
- 5:02transmissions and so I got a better
- 5:04throughput by not having to do that.
- 5:07Okay, so you would say, "All right,
- 5:09that's not so bad. Maybe that's what I
- 5:11should do. Ask the middle node to
- 5:14decode." And by asking the middle node
- 5:16to decode in order to get the three
- 5:19numbers x1, x2, x3 from one to three,
- 5:23the total cost of the network is eight
- 5:26transmissions rather than nine
- 5:27transmissions. This is basically the
- 5:29throughput, right? throughput is you're
- 5:31trying to send as few transmissions as
- 5:34possible in the network in order to
- 5:36recover the three numbers that you
- 5:39wanted to recover.
- 5:42The problem here is we've talked about
- 5:46number of transmissions but what about
- 5:48time here I have to send four numbers
- 5:54which in terms of time is going to cost
- 5:57me four units of time and then I send
- 6:02have to get all four numbers.
- 6:06Obviously, one of them uh is missing,
- 6:09but I have to wait for four time slots.
- 6:11Okay, so four time slots here and then
- 6:16I'm going to have to do that again. So,
- 6:18four time slots plus four time slots,
- 6:21it's for a total of eight time slots.
- 6:26So, I'm going to put squares around the
- 6:28time. This is time. So this is number of
- 6:32transmissions and this is total time. It
- 6:35cost me eight transmissions and eight
- 6:39units of time. All right. What if I do
- 6:42something different? What if
- 6:46I transmit and I don't decode,
- 6:52but I simply recode. So this is what's
- 6:55going to happen. Now what happens if the
- 6:58middle node doesn't just do dumb
- 7:02forwarding which needed more total
- 7:04transmissions doesn't do decoding and
- 7:08recoding which requires a lot of time
- 7:11but actually does randomly network
- 7:13coding. Let's work through this example.
- 7:16So at time one over here up top um I'm
- 7:21showing what I'm transmitting on the
- 7:23link on the bottom right above this. So
- 7:27I transmit X1
- 7:29from one to two. Two has nothing to
- 7:31transmit so it's blank. At time two, I
- 7:36transmit two X2 from one to two and two
- 7:42now has X1 to transmit.
- 7:46At time three, I transmit X3. Now,
- 7:49recall that in our example, two got lost
- 7:53in going from one to two. So, it
- 7:55actually didn't make it. And therefore
- 7:59in the link from two to three, node two
- 8:02only has x1 to transmit because the
- 8:05second transmission had been lost in our
- 8:08example.
- 8:09Now at time four, the transmitter one
- 8:14transmits the sum x1 x2 x3 to node two.
- 8:19And what is the link from two to three
- 8:24going to transmit? Well, the link from 2
- 8:25to three at this point has two numbers.
- 8:28It has X1 and it has X3. Maybe it goes
- 8:30ahead and sends X1 plus 2 X3. Okay, time
- 8:35five
- 8:37transmitter is not going to transmit
- 8:39anything anymore here. What are we going
- 8:41to transmit from 2 to three? Well, let's
- 8:45see what two has available at this
- 8:46point. It has received X1.
- 8:50It did not receive X2.
- 8:52It has received x3 and it has received
- 8:56the sum x1 + x2 plus
- 9:02x3. Okay. So maybe what it does is it
- 9:06goes ahead and sends another equation
- 9:10say
- 9:142x1
- 9:16plus
- 9:18x2. So it adds uh x1 here to this
- 9:22equation. Uh plus maybe 3
- 9:28x3. Okay. So that's the equation. And
- 9:30what it did is it added 2x3 to this
- 9:33equation here at the bottom. 1 x1 and it
- 9:36got to 2x1 + 2x3 + 3x3. So now what does
- 9:41the receiver have? Remember that a
- 9:43receiver basically
- 9:46um was losing the third transmission
- 9:49from two to three. So in this case the
- 9:52third transmission from 2 to three would
- 9:54have been um the the first the third
- 9:57time slot. So the third time slot was
- 9:59this one. Okay. So not the third
- 10:01transmission but the third time slot. So
- 10:03the third time slot was basically x1 x
- 10:07this multi this extra x1 got lost. So
- 10:11now the receiver has x1 x1 + 2 x3 is
- 10:15able to recover x3. Now it knows x1 and
- 10:18x3 is able to recover x2 with the last
- 10:21the last equation. So how many time
- 10:23slots did we have? Well, we had a total
- 10:27now of just five time slots.
- 10:31How many transmissions did we have?
- 10:34Well,
- 10:35the first link did four transmissions
- 10:39and the second link did four
- 10:41transmissions. They overlap everywhere
- 10:44except at the beginning and at the end
- 10:46where at the end the first link ceases
- 10:49to transmit and at the beginning the
- 10:53second link doesn't start transmitting.
- 10:54So they're basically pipeline. That's
- 10:56what we call pipeline.
- 10:58So what do we have? have a delay of
- 11:02five. And how many total transmissions
- 11:05did it cost me? Well, it actually cost
- 11:08me just
- 11:11four over here and four over there. So,
- 11:15same number of transmissions as if I was
- 11:19encoding, decoding, encoding, decoding,
- 11:23but massively, massively lower number of
- 11:27time slots. So this is why doing
- 11:32recoding
- 11:34at the intermediate node
- 11:37gives you a actually provable optimum
- 11:41throughut. That's to say most efficient
- 11:43use of
- 11:46total number of transmissions for the
- 11:48numbers that got actually received and
- 11:53gives you this massively lower delay
- 11:56than doing encoding and decoding. So if
- 11:58you want to have both throughput and low
- 12:01delay, low latency, this is why you need
- 12:03to use recoding.
About this transcript
This page contains the full transcript of Blockchain Data Encoding: How RLNC Turbocharges Web3 Networks | Optimum Tech by Optimum, generated from the public captions YouTube serves with the video. The transcript has 1,605 words across 237 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.