YouTube2Text

Blockchain Trilemma SOLVED: Turbocharged Scaling with RLNC | High-Performance Web3 — Transcript

by Optimum · 5,146 words · 778 segments · language en · Watch on YouTube

Full transcript

  1. 0:04All right. Uh I'm here today uh with
  2. 0:09Nicholas Nicolawo and Kisher Conir. So,
  3. 0:13Professor Nicolauo, long-term
  4. 0:15collaborator
  5. 0:16uh now member of Optimum. Uh Dr. Conoir,
  6. 0:21very long-term collaborator
  7. 0:24uh and uh now CCO
  8. 0:27at Optimum. Uh my name is Muriel Madard
  9. 0:30and I am co-founder along with Kishori
  10. 0:34of Optimum and uh I've been uh for many
  11. 0:37many years professor at MIT uh holding
  12. 0:40the NEC chair in software science and
  13. 0:42engineering for professor in the
  14. 0:44electrical engineering computer science
  15. 0:46department and leading the network
  16. 0:48coding and reliable communications
  17. 0:50group. Um so just as background optimum
  18. 0:54which is the company that all three work
  19. 0:56on um is the company that is doing the
  20. 1:01IP for web 3 the internet protocol for
  21. 1:04web 3 looking at decentralized
  22. 1:06uh data optimized hence the name optimum
  23. 1:10movement um and today we're going to
  24. 1:13chat about the trilmma something that
  25. 1:17many folks in web3 and blockchain know
  26. 1:20discuss us um [snorts]
  27. 1:23comment on uh and you know we have done
  28. 1:27some recent work on that which you know
  29. 1:29we we've posted we've had some posts but
  30. 1:31we thought it'd be fun just the three of
  31. 1:33us as collaborators friends uh
  32. 1:36colleagues to chat about it and and
  33. 1:39share our discussions with a broader
  34. 1:41audience. So we're we're hoping um that
  35. 1:44you'll enjoy our chat and maybe this
  36. 1:46will lead to your own discussions with
  37. 1:48your own colleagues online in person and
  38. 1:52just to um start some some more
  39. 1:55intelligent discussions. So with that
  40. 1:58I'll start with um
  41. 2:01you know let's say the the origins of
  42. 2:04the trillemma and particular the work uh
  43. 2:07that Nancy Lynch uh just as a little bit
  44. 2:11of background n my colleague Nancy Lynch
  45. 2:13actually held the NC chair in software
  46. 2:15science and engineering before me uh and
  47. 2:19she and I co-supervised Kishori when he
  48. 2:21was a postoc uh at at MIT and of course
  49. 2:25she has worked extensively ly with
  50. 2:27Nicholas. So, uh, you know, she's a bit
  51. 2:29of a she's an adviser to company. She's
  52. 2:31a bit of conjunct intellectual
  53. 2:33conjunctive tissue here. Um, so, you
  54. 2:37know, I I'll just open that that
  55. 2:39question of, you know, the origins and
  56. 2:40what the the the underlying theorems
  57. 2:43are. Uh, maybe I'll start with you,
  58. 2:45Nicholas, and then Kishor, if you want
  59. 2:47to chime in.
  60. 2:48>> Yeah.
  61. 2:50>> Uh, thank you, Muriel. Uh, yes. I think
  62. 2:55the origin of the Tai lians stems from
  63. 2:58initially from the cap theorem where
  64. 3:02that was proposed
  65. 3:04uh if I I remember correctly in in a
  66. 3:08conference and uh and Nancy with a
  67. 3:11colleague said Gilbert they they took
  68. 3:14the opportunity to prove that PLMA the
  69. 3:17CPA that was correct and uh that had to
  70. 3:21do with consistency partitioning and um
  71. 3:24availability of data. Uh
  72. 3:29they prove in that uh in in a paper that
  73. 3:32indeed there is a problem in
  74. 3:34guaranteeing all three of those uh
  75. 3:38properties in a single distributed
  76. 3:40system. Meaning that we cannot guarantee
  77. 3:44we can either guarantee uh consistency
  78. 3:47with partitioning but not availability
  79. 3:50uh partitioning with availability
  80. 3:52without consistency or consistency and
  81. 3:54availability without having
  82. 3:56partitioning.
  83. 3:57And uh in in simple terms
  84. 4:01all three cannot coexist. This is what
  85. 4:03the the tri says. uh and um within that
  86. 4:09um uh that pybe they managed to show
  87. 4:12that indeed there was a problem with the
  88. 4:15uh CPA and all three cannot coexist.
  89. 4:18However, two of them can coexist in a
  90. 4:21distributed system. Um following that uh
  91. 4:26we have the trilma that is applied in
  92. 4:29blockchain which it talks about three
  93. 4:31other properties uh related to the first
  94. 4:36however uh termed in a different way
  95. 4:39which uh the three properties that we
  96. 4:41are we have in the blockchain trimea is
  97. 4:44the decentralization
  98. 4:46scalability and security and upon this
  99. 4:51there were there were many discuss
  100. 4:52questions that uh we can go through and
  101. 4:56and take a a closer look I guess in the
  102. 4:58in our discussion.
  103. 5:01>> Yeah, thank you. Thank you Nicholas
  104. 5:02Kishor. Did you want to add something to
  105. 5:04that? Yeah. No, this is a great point
  106. 5:06actually Nicholas that mentioned that
  107. 5:09although the trma in blockchain talks
  108. 5:12about three different you know
  109. 5:15properties but the very style of
  110. 5:18reasoning or thinking originates in cap
  111. 5:20theorem because you'd see system
  112. 5:23designers who are not doing directly any
  113. 5:25theoretical work they use the cap
  114. 5:27theorem as a means to adjust the
  115. 5:30tradeoff which two to pick and you can
  116. 5:33have any truth but not all in a
  117. 5:35realistic network. So now that result uh
  118. 5:40was also you know there are some lot of
  119. 5:44gray areas that when you actually bring
  120. 5:47the model to realistic systems what does
  121. 5:51it mean to be asynchronous if a
  122. 5:53[clears throat] connection is disrupted
  123. 5:54for a long time is the connection is it
  124. 5:57asynchronous or it's fail and there's a
  125. 6:00very nice article by professor Lynch and
  126. 6:03Gilbert Seth in one of the comm ACM
  127. 6:06communication issue dedicated entirely
  128. 6:09to the capture. And now when it comes to
  129. 6:11the blockchain world, it's very
  130. 6:13interesting that they actually modeled
  131. 6:15in a very similar way or frame but
  132. 6:18except it is not proven theoretically
  133. 6:20and that's where you know a lot of the
  134. 6:23discussions or confusions you can say
  135. 6:27you know continues and it's very
  136. 6:29important to understand get deeper into
  137. 6:33>> agree agree and and maybe just for folks
  138. 6:35because um you know the the consistency
  139. 6:39part which is in the original cap
  140. 6:41theorem um I think is a little bit
  141. 6:44misunderstood
  142. 6:45um and maybe that's a little bit why as
  143. 6:49you mentioned you know the trillemma is
  144. 6:53a an informal
  145. 6:55representation of the cap theorem but in
  146. 6:58that informality
  147. 6:59maybe some uh that some of the original
  148. 7:05rigor of the cap theorem has been lost
  149. 7:07and in a way the trilamic uh is a little
  150. 7:12bit too
  151. 7:14um pessimistic, right? Uh and partially
  152. 7:18because you don't have those
  153. 7:19definitions, right? And in particular,
  154. 7:21what you don't see is consistency
  155. 7:24>> that right cons in the in the in in the
  156. 7:27in the original cap theorem there's
  157. 7:28consistency which has a very specific
  158. 7:31meaning. uh and uh in you know in the
  159. 7:36trilmma you don't have consistency and I
  160. 7:38think this may be one of the core places
  161. 7:41where there's some level of uh
  162. 7:45disconnect between the informal let's
  163. 7:47call it folk theorem of the trillemma
  164. 7:50which has issues and has in my view but
  165. 7:54I'd like to hear everybody's view sort
  166. 7:56of made people think too pessimistically
  167. 7:59about what can be done versus you know
  168. 8:01the original cap theorem which is a
  169. 8:03theorem you know with a proof is correct
  170. 8:05uh but a proof that is correct for those
  171. 8:07very particular very
  172. 8:10uh specific definitions.
  173. 8:15>> Yeah.
  174. 8:16>> Yeah.
  175. 8:17>> Yeah. So I I'd like to hear h how do you
  176. 8:20guys like to explain you know when
  177. 8:22you're t trying to tell somebody about
  178. 8:23consistency you know who who's who's not
  179. 8:25a who's not
  180. 8:27>> somebody who's been working in this
  181. 8:30particular area of distributed and
  182. 8:32decentralized system computer science
  183. 8:33how do you like to uh uh explain
  184. 8:36consistency I can go first I could say
  185. 8:38how I give it as an example and then I'd
  186. 8:41love to hear is you know what I I tell
  187. 8:42people about consistency is like you
  188. 8:45know you're storing when you store. It's
  189. 8:48like you have a closet, right? So, um I
  190. 8:52go and I hang in a dress, right? We're
  191. 8:54sharing we're sharing
  192. 8:57uh you know, you have reading and
  193. 8:59writing. So, the the writing is I stick
  194. 9:02stick stuff in the closet, right? So, I
  195. 9:03go and I I I stick in a dress, right? Uh
  196. 9:06and then Kishori comes in later and he
  197. 9:09sticks in a jacket, right? Now,
  198. 9:13Nicholas comes in, opens the closet to
  199. 9:15to read, to see what's in there.
  200. 9:17Ideally, he sees the most recent state,
  201. 9:19which is the dress and the jacket. He
  202. 9:21might see an old state. He might see
  203. 9:23just the dress, but he's not going to
  204. 9:25see just the jacket that never happened,
  205. 9:28right? That that's how I like to
  206. 9:30describe it. So, so that's my that's the
  207. 9:32way I describe it, you know, when I'm
  208. 9:33just talking to to folks informally.
  209. 9:36It's like, what is this? But I'd love to
  210. 9:38hear what you guys how you guys describe
  211. 9:40consistency.
  212. 9:41>> Yeah. Go ahead, Nicholas.
  213. 9:43>> This is a very nice example and uh I
  214. 9:45really like it to bring it to you know
  215. 9:48in the real life uh problems and issues.
  216. 9:51Uh and indeed consistency this is this
  217. 9:54is what consistency is. Sometimes when I
  218. 9:56try to explain consistency I I said I'm
  219. 9:59I'm taking in a terms of of copies of
  220. 10:02data. You have number of copies of data
  221. 10:05and what you want to do actually is to
  222. 10:07keep those copies the same, right? So if
  223. 10:11you make a change on a copy, you have to
  224. 10:14make sure that all the copies get this
  225. 10:16change. Okay? And this is this is a
  226. 10:19consistency and and as you said Muriel
  227. 10:22the basically the problem stems the caps
  228. 10:26theory stems from the assumptions that
  229. 10:28we make in the system that there is a
  230. 10:32synchrony so we don't move in
  231. 10:35synchronous steps inside the system and
  232. 10:38also uh the other thing is failures that
  233. 10:42uh we we do not control and we don't
  234. 10:45know whether they happen if we do have
  235. 10:48synchron
  236. 10:49uh and that's why consistency it gets
  237. 10:53tougher to guarantee when we have these
  238. 10:56assumptions in the system whereas if we
  239. 10:59had synchrony and we know that
  240. 11:00everything is ideal and nice and
  241. 11:02everybody moves in steps then if I I
  242. 11:06change a copy then I could change all
  243. 11:09the copies at the same step so everybody
  244. 11:12will move in the same
  245. 11:14>> step what do you think
  246. 11:16>> yeah I I think uh it's it's a very
  247. 11:18interesting concept. We know it
  248. 11:20intuitively. We feel it depending on
  249. 11:23different situations. At the same time,
  250. 11:26it's so hard to formally describe and
  251. 11:30argue about it. But then it's very far
  252. 11:32away from the it feels it's very far
  253. 11:34away from the practice. For example, if
  254. 11:36I'm writing a program, I update a
  255. 11:40variable then I read it. I expect
  256. 11:42whatever just I update it. But now if I
  257. 11:46go to multi-threaded program that
  258. 11:48variable might be touched by different
  259. 11:49threads that are scheduled by the
  260. 11:52operating system. Then you go to
  261. 11:54distributed systems it's not just
  262. 11:56threads in one machine. Now
  263. 11:58>> it's a bunch of machine connecting over
  264. 12:01to the same location and they may fail
  265. 12:03and in blockchain they may be vyantine.
  266. 12:06So now what is the underlying then
  267. 12:08behavior that we are expecting uh when
  268. 12:11it then it's the you know the the
  269. 12:14researchers they define it as an object
  270. 12:17abstract object and it has some behavior
  271. 12:21and it is essentially the behavior and
  272. 12:24it does not directly talk about how you
  273. 12:26implement it. It's a behavior you
  274. 12:28exhibit and that's very very very uh
  275. 12:32interesting. Cap theorem was about a
  276. 12:35data store data access
  277. 12:38and blockchain you'd care about a
  278. 12:41different kind of consistency maybe it
  279. 12:43respects the overall definition of the
  280. 12:45blockchain how the EVM or in the case of
  281. 12:49Ethereum should work is the behavior
  282. 12:51consistent
  283. 12:52>> uh that that needs to be you know
  284. 12:54carefully discussed and thought about
  285. 12:56>> absolutely absolutely and I think you
  286. 12:59know from uh from closets to
  287. 13:01multi-threaded programs to you know
  288. 13:04copies everywhere that you have to
  289. 13:06update quickly. Um I mean this this
  290. 13:09illustrates you know the the the
  291. 13:11inherited difficulty and I would say not
  292. 13:13just distributed but really
  293. 13:14decentralized right because to some
  294. 13:16extent you know if it's distributed then
  295. 13:20you know you can still have a leader
  296. 13:22that tells people what to do even if
  297. 13:24it's a synchronous you basically you
  298. 13:26know the leader can say I'm not going to
  299. 13:28do anything until I hear from everybody
  300. 13:30etc. Right? when it's truly
  301. 13:31decentralized like in blockchain like
  302. 13:34you know
  303. 13:35>> everybody's just doing their thing good
  304. 13:37luck with this
  305. 13:38>> you know um
  306. 13:39>> uh so so I wanted to go back to you know
  307. 13:42I wanted us to spend a little bit of
  308. 13:44time on on consistency because I feel
  309. 13:47that that's maybe one of the concepts
  310. 13:48that's most tricky you know uh and
  311. 13:52somehow
  312. 13:54diverges but I'd like to hear what you
  313. 13:56think it diverges most in its
  314. 14:00definition from the informal triilma
  315. 14:03definition, right? Because what we're
  316. 14:04talking about here is effectively what
  317. 14:07is the mismatch between the cap theorem
  318. 14:10which is theorem theorem theorem and the
  319. 14:13trilama which is more of a directional
  320. 14:18type of um
  321. 14:22folk theorem let's call it that way
  322. 14:24right um so
  323. 14:27you know what do you think are the the
  324. 14:30main points of divergence between the
  325. 14:32cap theorem and the trilmma.
  326. 14:36>> Nicholas, do you want
  327. 14:39>> Yeah, I can I can try to to go first.
  328. 14:42Um, I think okay, one of the main parts
  329. 14:47that is missing from uh from uh the
  330. 14:52uh the blockchain trial trial as we as
  331. 14:55we know it right now is uh as you said
  332. 14:58there is the consistency. Consistency is
  333. 15:01something that is is not referred uh
  334. 15:04explicitly into the the blockchain
  335. 15:08triuma. Uh although uh I believe that
  336. 15:13notion is hidden without the properties
  337. 15:15that they are looking at. Uh
  338. 15:19first of all if you if you think about
  339. 15:20blockchain blockchain it needs
  340. 15:22consistency in its core. Why? because we
  341. 15:26need a single copy of a blockchain to be
  342. 15:30replicated among distributed
  343. 15:32decentralized peers, right? And
  344. 15:35everybody needs to see a consistent view
  345. 15:38otherwise we're going to have a problem,
  346. 15:41right? So in order to generate this
  347. 15:44consistent view what they are uh uh what
  348. 15:47we are using in in blockchain define
  349. 15:51exactly these three suffers from these
  350. 15:54three properties that we have not suffer
  351. 15:56but it's dependent I would say uh
  352. 15:59because in order to establish
  353. 16:00consistency we exactly use consensus
  354. 16:04where everybody agree on a single copy
  355. 16:07or on a single
  356. 16:08>> or enough people agree [laughter]
  357. 16:10>> exactly enough agree and when enough
  358. 16:13people agree on on that on that copy
  359. 16:16then we assume that okay this blockchain
  360. 16:19is what we're are going to be using from
  361. 16:22uh a point in execution and and above.
  362. 16:25So uh the three uh the three properties
  363. 16:30that they have in the blockchain trilmma
  364. 16:33essentially focus on the solvability of
  365. 16:36consensus because we have
  366. 16:38decentralization
  367. 16:40how much we can decentralize.
  368. 16:43So as we have more people participating
  369. 16:46in this uh uh uh in the consensus in the
  370. 16:51agreement protocol uh we do have uh
  371. 16:54security. How can we protect consensus
  372. 16:58from malicious attacks? And we also have
  373. 17:00scalability which means how can we solve
  374. 17:04consensus as fast as possible once we
  375. 17:08have decentralization in the system
  376. 17:11and um and essentially everything comes
  377. 17:14down and collapses to having consistency
  378. 17:18in blockchain. [clears throat]
  379. 17:19>> So
  380. 17:21>> so that's why I think they are very
  381. 17:23related. Yeah. What do you think? In
  382. 17:25>> in fact I feel that uh when we talk
  383. 17:29about the trilma we talk about security.
  384. 17:32I mean security mean might mean a lot of
  385. 17:34things. One somebody could be u you know
  386. 17:37lost their money because somehow
  387. 17:39somebody got access u to their keys or
  388. 17:42etc. But it does not mean it's a
  389. 17:44security violation of the underlying
  390. 17:47chain. To me that security needs to be
  391. 17:50defined in a more formal way maybe as a
  392. 17:52sequential specification. How should
  393. 17:55this system behave when you clients
  394. 17:57interact with it? As long as that
  395. 18:00behavior is respected and not violated
  396. 18:04then to me it's a security
  397. 18:07essentially it might be called safety in
  398. 18:09other literatures. Safety is preserved
  399. 18:12property.
  400. 18:13>> I think safe that's a really good point.
  401. 18:15Sorry go ahead.
  402. 18:16>> Yeah. Yeah. So that is now one other
  403. 18:19aspect uh trilmma brings I find it
  404. 18:21fascinating is that in most of the
  405. 18:24formal way of analyzing a distributed
  406. 18:26systems we often think that local
  407. 18:29computations are actually negligible
  408. 18:32compared to network communication. Here
  409. 18:36we are executing a smart contract at
  410. 18:38every you know in different nodes. So it
  411. 18:41is doing computation actually and that
  412. 18:44also brings another aspect to
  413. 18:46scalability. So it is indeed you cannot
  414. 18:49just execute the code of a smart
  415. 18:51contract in negligible time. So those
  416. 18:54are several dimensions we need to think
  417. 18:55about.
  418. 18:57You bring up an excellent point,
  419. 18:58Kishure, and I'm I'm going to just uh
  420. 19:00pick on that because actually remember
  421. 19:02when we started working together with
  422. 19:04Nancy uh on bringing you know coding to
  423. 19:09uh con consensus systems. You know, one
  424. 19:12of the big things we started looking at
  425. 19:13together was the cost of communication,
  426. 19:16the cost of networking, which was
  427. 19:18generally not taken into account in the
  428. 19:21literature up until that point. Remember
  429. 19:23that? That was definitely one of the the
  430. 19:25big uh the big motivating. Yeah.
  431. 19:28>> When we started working together what 12
  432. 19:31years ago that's that's not that's not
  433. 19:33what I'm even trying to think.
  434. 19:34>> For example, stories cost. Everything is
  435. 19:35about stories cost uh different cost.
  436. 19:38>> Exactly. Exactly. And I think that
  437. 19:41that's also something that the trilmma
  438. 19:44suffers from which is that absence of
  439. 19:50um
  440. 19:52taking into account the cost of the
  441. 19:55propagation, right?
  442. 19:58uh versus just and and as you said, you
  443. 20:00know, the idea that the compute
  444. 20:04>> is taken into account. Maybe the storage
  445. 20:06is taken into account but that you know
  446. 20:08if you have computer you have storage
  447. 20:10and you don't have a way of moving the
  448. 20:12data back and forth between the storage
  449. 20:14and the compute so that the compute can
  450. 20:16happen because the compute has to happen
  451. 20:17on data otherwise what are you computing
  452. 20:19on that that missing part is uh is is
  453. 20:24you know is still reflected um in the
  454. 20:27current trial. That's my view. That's my
  455. 20:30opinion. But you know, opening it up for
  456. 20:32for you both to to comment on that.
  457. 20:35>> Yeah. What do you think about it?
  458. 20:39>> Uh
  459. 20:40yes, I mean um indeed talking about the
  460. 20:44storage and computation uh right now is
  461. 20:48uh is the big part of of what we are
  462. 20:51doing in uh uh in blockchain, right?
  463. 20:54uh whatever we do, we do uh we store
  464. 20:57information and then we try to um uh
  465. 21:01compute as you said over smart contracts
  466. 21:04in order to be able to reach uh a state
  467. 21:07that everybody's going to be there and
  468. 21:10uh uh computation is a big part of it.
  469. 21:13So we cannot distinguish um comput
  470. 21:17computation from communication because
  471. 21:20one great part of of the whole ecosystem
  472. 21:23is uh is going to the uh computation.
  473. 21:27uh however I I believe that
  474. 21:30communication even though um is
  475. 21:35computation is a big part of blockchain
  476. 21:37communication remains as one of the
  477. 21:40central um uh overheads that we have in
  478. 21:44in the system. So uh we need to find
  479. 21:49ways to see how communication can be
  480. 21:54reduced or can be optimized in in a
  481. 21:56sense so as uh uh we can uh have uh uh
  482. 22:03either solve or see if there is a
  483. 22:05solution to the problems that we face in
  484. 22:07the trial lima or to show that okay even
  485. 22:11if we do have this optimization of
  486. 22:13commitation we still face some
  487. 22:15bottlenecks that uh may lead to the the
  488. 22:18triing.
  489. 22:19>> Yeah. So actually it's very interesting
  490. 22:21that uh when you talk about diff
  491. 22:25decentralization
  492. 22:26and each node is involved in straight
  493. 22:30transition of the you know replicated
  494. 22:32state machine they may diverse then you
  495. 22:35have actually violated security or
  496. 22:38safety.
  497. 22:38>> Yes. The only way to keep them in check
  498. 22:41is to have guardrails of communications
  499. 22:43because how would they know that they
  500. 22:45are not moving apart from each other in
  501. 22:48terms of the state?
  502. 22:50>> Yes. Yes. Actually, even if you only had
  503. 22:53two nodes, one which was basically your
  504. 22:55CPU and wrote is your memory and you
  505. 22:58know it's very clear who does what and
  506. 23:00there's only a single copy of the data
  507. 23:02in the memory and somehow you know you
  508. 23:05had a very narrow bus or columns between
  509. 23:09them. You know, your system's going to
  510. 23:10be terrible. [laughter]
  511. 23:12>> It's just like
  512. 23:14>> and it's not because you know there's
  513. 23:16some clever issue here about
  514. 23:18decentralization or anything. It's just
  515. 23:20like you can't get there, right? Um, so,
  516. 23:24so I think that that's that that's cool.
  517. 23:27Um,
  518. 23:28>> you know, we together have have actually
  519. 23:30talked about, you know, the end of the
  520. 23:33triilma. You know, certainly we've had
  521. 23:35some sort of fun uh fun content uh on uh
  522. 23:40uh on optimum about the you know, tril
  523. 23:43triinati and so on. Um and and maybe we
  524. 23:46can go a little bit more now that we
  525. 23:49understand
  526. 23:51that there is
  527. 23:54a theoretical underpinning to the
  528. 23:56trillemma
  529. 23:57but it's not the trilmma
  530. 24:00and in particular you know one should
  531. 24:02not over
  532. 24:06interpret the trilmma right because in a
  533. 24:09way it's been it's too loose it's not
  534. 24:12rigorous uh and and therefore it's very
  535. 24:16easy to
  536. 24:19misinterpret
  537. 24:21rather than just let's say a helpful
  538. 24:25uh vague reinterpretation of the cap
  539. 24:27theorem. One one can think that it's
  540. 24:29actually something that's telling you uh
  541. 24:32impossibility results that are that are
  542. 24:34not there. um want to to get you feeling
  543. 24:38get the work that we do, the work that
  544. 24:40we do together, you know, at Optimum,
  545. 24:42how it, you know,
  546. 24:46makes it so that
  547. 24:49some of the interpretations of the
  548. 24:51trillemma were not correct, you know. Um
  549. 24:54and maybe, you know, one of the things I
  550. 24:56can do is is is start with an example,
  551. 24:58right?
  552. 24:59um and then and then to hear hear
  553. 25:03everybody's opinions or your own
  554. 25:05examples or maybe comments on mine. Um
  555. 25:09let's think of scaling, right? Um, if
  556. 25:12you don't code and you have a network
  557. 25:17where you know even before you're trying
  558. 25:19to do computation or anything, you're
  559. 25:21just trying to get data across and you
  560. 25:24have some fraction either because of
  561. 25:29failures, Byzantine attacks or whatever,
  562. 25:31some fraction of shards that don't get
  563. 25:33through. And I just have a the simplest
  564. 25:35network, just a daisy chain, link one,
  565. 25:37link two, link three, etc. Right? And if
  566. 25:40I code
  567. 25:42only end to end so you know the kind of
  568. 25:47uh legacy codes that are currently used
  569. 25:50by other companies in blockchain say a
  570. 25:53readman code or um something like uh I
  571. 25:59don't know like a you know traditional
  572. 26:01rateless code um then what will happen
  573. 26:06is actually my throughput will not
  574. 26:09scale. It will go down exponentially
  575. 26:12with the number of notes. Right? So to
  576. 26:13me that's a very clear idea that okay oh
  577. 26:17well I can't scale right um but while at
  578. 26:22the same time remaining you know
  579. 26:24reliable let's call it reliable and safe
  580. 26:28you know uh reliable meaning that I have
  581. 26:30a reliable throughput uh and um you know
  582. 26:35keeping everything else that I need. So
  583. 26:37but actually if I do RLNC and I recode
  584. 26:41then I can do that then I can actually
  585. 26:45get a perfect throughput that's to say
  586. 26:47the maximum available throughput and
  587. 26:49that throughput is now scalable it
  588. 26:51doesn't depend on the number of hops
  589. 26:53right whether I have two hops or a
  590. 26:55million hops my throughput stays the
  591. 26:57same basically I was talking about the
  592. 26:58fact that you know what what the example
  593. 27:01I just mentioned is one of those you
  594. 27:03know whatever anzat no lost
  595. 27:06You know, it's an example of what what
  596. 27:08people believe, you know, which is kind
  597. 27:09of like what the trma is, right? It's a
  598. 27:11it's a something that people believe,
  599. 27:13which is has has some root in reality,
  600. 27:16of course, uh but is maybe not a correct
  601. 27:20um
  602. 27:22uh understanding of the theoretical
  603. 27:23limits as more, you know,
  604. 27:27an interpretation of something which is
  605. 27:29theoretically correct but which is not a
  606. 27:31correct interpretation. And then also
  607. 27:33bringing in empirical experiences that
  608. 27:36people have had and which say oh well I
  609. 27:38I'm not able to do that right so you
  610. 27:40know the scalability that I just
  611. 27:42mentioned here you know if you were to
  612. 27:44say well you know this would be an
  613. 27:46example of why I can't scale but yet if
  614. 27:48you do the math correctly and you recode
  615. 27:51you actually can scale so you know
  616. 27:53that's my favorite if you will sort of
  617. 27:57uh counter example and again you can't
  618. 28:01completely give a counter counter
  619. 28:02example to something that wasn't
  620. 28:03completely defined, you know,
  621. 28:05rigorously, but you, you know, a counter
  622. 28:07example to that, you know, general
  623. 28:10sentiment, let's put it that way. So,
  624. 28:11that's my favorite counter example. I'd
  625. 28:13[clears throat] love to hear yours,
  626. 28:14Kishori, and yours, Nicholas.
  627. 28:15>> Yeah. So, uh, no, this is very uh
  628. 28:18interesting. So, I'll come uh I arrive
  629. 28:21at almost the same conclusion, but in a
  630. 28:23slightly different angle. So what I
  631. 28:26think is that the trilmma as it is
  632. 28:28stated even though it's not proven in
  633. 28:30any uh you know under certain specific
  634. 28:33assumptions or at least I do not see any
  635. 28:36well- definfined um it's it's like a
  636. 28:39folklore now different people will look
  637. 28:42at it from different points of view some
  638. 28:44people will think you know it's too
  639. 28:46difficult to create a system others will
  640. 28:48think hey I have actually beaten that
  641. 28:50amount and that's because there is no
  642. 28:53one clearcut definition based on a
  643. 28:55formal way of expressing the U
  644. 28:58statement. Now
  645. 29:00>> even with that if you look at it
  646. 29:03decentralization
  647. 29:05and you know um security and scalability
  648. 29:10if communication were extremely good
  649. 29:13imagine and almost like a you know near
  650. 29:18you know as best as it could get then
  651. 29:20you can actually have a much better time
  652. 29:23with it and you can circumvent this uh
  653. 29:26pessimistic aspect. Why? Because if
  654. 29:29communication is low and reliable, you
  655. 29:32can actually make the time slot
  656. 29:34synchronous steps which is easier to
  657. 29:36deal with much smaller. Essentially, you
  658. 29:39are making time go faster.
  659. 29:41>> Yes.
  660. 29:41>> Because and that is the key I think
  661. 29:45because the other two are not you know
  662. 29:48you cannot compromise securely. It's a
  663. 29:50definition of what you mean by safety.
  664. 29:54uh number of participants you cannot
  665. 29:55eliminate otherwise you'll wind up being
  666. 29:57a centralized system. The only access
  667. 30:00that is remaining to be tackled actively
  668. 30:03is this communication and tied to
  669. 30:06scalability. That's how I look at it. I
  670. 30:08would love to hear.
  671. 30:10>> Yeah. Yeah. That's a really good point.
  672. 30:12Yeah. Yeah. Thank you, Kisher. Nicholas,
  673. 30:14I want to hear your thoughts on it.
  674. 30:17>> Yeah. Uh I mean uh this is this is
  675. 30:21exactly the the way that you described
  676. 30:23it Muriel. Indeed uh if you see from
  677. 30:27that that point of view that scalability
  678. 30:30somehow can diminish then um uh
  679. 30:33basically the trma uh it cannot be
  680. 30:37compared with the cat theorem anymore.
  681. 30:39Why? Because there we we saw we saw that
  682. 30:43we can guarantee the two properties but
  683. 30:45we cannot guarantee the third one.
  684. 30:47However, if we can guarantee scalability
  685. 30:49and we are able to um be able to deliver
  686. 30:53messages in a fast pace, it means that
  687. 30:56the centralization scalability they
  688. 30:58become one and uh there is no problem of
  689. 31:02when we decentralize to guarantee
  690. 31:04scalability and at the same time we
  691. 31:05guarantee security. So that's how uh the
  692. 31:09trila can uh uh can go away and uh and
  693. 31:14indeed the lack of formal definition as
  694. 31:17mentioned by uh this is one thing that
  695. 31:20um it's very important why because when
  696. 31:24we see when we go back to the cap theory
  697. 31:28there is a clear um relation between
  698. 31:32each property and a system um a a system
  699. 31:37behavior. For example, consistency is
  700. 31:39linked with safety. Availability is
  701. 31:42linked with um uh with a synchrony and
  702. 31:46partitioning is linked with failure.
  703. 31:49>> Right?
  704. 31:49>> So we can directly see a connection
  705. 31:52between each property and um uh a system
  706. 31:57behavior. So
  707. 32:00it must be the case that uh if we want
  708. 32:04to have like a formal trilmma there must
  709. 32:06be a connection between those properties
  710. 32:08that we say with the properties of the
  711. 32:10system and uh and for now there's a lack
  712. 32:14of definition
  713. 32:17>> which um doesn't help us to indeed say
  714. 32:21that okay this is the one and this is
  715. 32:25why or why Not it is not bad.
  716. 32:30And um as mentioned there are so many
  717. 32:33solutions that we see in um uh in the
  718. 32:37community where they claim that they
  719. 32:39solve the trilma by different um uh by
  720. 32:43different mechanism either by reducing
  721. 32:45decentralization
  722. 32:47or by having some other optimizations
  723. 32:50that may lead to uh to scalability. Uh I
  724. 32:55I believe that um right now what we have
  725. 32:58with RMC is the closest one that's going
  726. 33:03to show that scalability and
  727. 33:04decentralization can co coexist in a
  728. 33:07single system without any issues. In
  729. 33:10fact, as you mentioned, um, if I can
  730. 33:12chime in, is that that is why in
  731. 33:15optimum, you know, as you probably now
  732. 33:18realize, but I just want to bring it
  733. 33:20out, um, for the, you know, listeners,
  734. 33:23audience that whenever we want to solve
  735. 33:26a problem, we first define what is the
  736. 33:29specification behavior of that system as
  737. 33:32we interact with it
  738. 33:33>> without thinking who implemented it,
  739. 33:36what programming language, what
  740. 33:37technology. We don't even look at it
  741. 33:39first. This is the behavior we want.
  742. 33:42Once we pin down the behavior, we think
  743. 33:44about implementation
  744. 33:46and then we try to show uh and we show
  745. 33:49actually that what are the behaviors we
  746. 33:52can derive from such an protocol
  747. 33:55algorithm that claims to implement those
  748. 33:59properties and then we go to the
  749. 34:01systems. So this way you can actually
  750. 34:03bring guarantee to what your system can
  751. 34:07provide or do or cannot provide
  752. 34:10accurately and it's very good for
  753. 34:12application builders because they know
  754. 34:14exactly how your system behaves.
  755. 34:18>> Yes. Yes. And it's that sort of
  756. 34:20uncompromising engineering you know
  757. 34:23rigorous approach
  758. 34:25uh that then actually makes things you
  759. 34:28know safe and scalable.
  760. 34:30Uh because you don't go well I tried it
  761. 34:32out and it worked with five nodes and
  762. 34:34I'll be fine with a 100 notes. No it
  763. 34:35will be [laughter]
  764. 34:37like actually
  765. 34:39>> probably not.
  766. 34:40>> That's right. It's not a problem's okay.
  767. 34:42[laughter]
  768. 34:44[gasps]
  769. 34:44>> Uh I have had fun. Thank you so much. Uh
  770. 34:48this this was
  771. 34:50this was a great discussion.
  772. 34:52>> I I hope that others enjoy it. uh we may
  773. 34:55put links uh to a couple of the
  774. 34:59u uh materials that that we addressed
  775. 35:02you know the as part of this
  776. 35:04conversation. Uh so Nicholas Kishori
  777. 35:07thank you both so much. Thank you.
  778. 35:09>> Thank you.

About this transcript

This page contains the full transcript of Blockchain Trilemma SOLVED: Turbocharged Scaling with RLNC | High-Performance Web3 by Optimum, generated from the public captions YouTube serves with the video. The transcript has 5,146 words across 778 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.