Zero Knowledge cover image

Exploring Penumbra with Henry de Valence

Zero Knowledge

00:00

Message Passing and Async Models for Concurrency

An actor model with message passing is an approach to handling concurrency which is actually better. Instead of your transaction having some code that makes a call to some smart contract and gets the result instead you say like we're going to divide the program up into these like little actors that all execute independently and they'll communicate with each other through message passing. You can have a really cool kind of like batched processing model where each smart contract is going to execute once per block but on input all of the messages that all transactions sent during that block will be processed asynchronously. For some applications like swaps right you can actually agglomerate all of those messages into a single batched trade and

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app