Loading video...

Video Failed to Load

Go Home

Sequenced state transitions😎 Discussed often recently, where validator sets responsible for state with many transitions can optimize execution. Thought I'd try an implementation & test my theory. 16 groups, 128 nodes + usual node spec = ~31k swaps/s 🥳 $xrd #crypto #radix

45,769 views • 2 years ago •via X (Twitter)

10 Comments

Dan Hughes | Radix's profile picture
Dan Hughes | Radix2 years ago

Some clarity: Substate X is pool state Lots of transactions want to swap on the pool Validator set A is responsible for substate X Validator set A determines locally the order that the related transactions will mutate substate X State changes to X can be accumulated rather than being applied individually. This greatly reduces I/O and memory use, which allows more time actually executing. Its tricky though because you have to take into consideration various issues such as transactions that fail, timeout or become latent due to some external validator group issue. Handling those cases is the complex piece to ensure that the state retains integrity at the end of the sequence.

SJS #XRD Radix's profile picture
SJS #XRD Radix2 years ago

#Radix 1.8m TPS wtf!! Just need a partnership with Visa or MasterCard now.

John Doe's profile picture
John Doe2 years ago

These is 1.860.000 tpm impressive.

Dan Hughes | Radix's profile picture
Dan Hughes | Radix2 years ago

yeah about that its still a bit sketchy, needs a lot more work but good enough for now as a demo

jonas.xrd's profile picture
jonas.xrd2 years ago

Y'all out there, wear your seatbelts because we're going fast 🚄

Alex Hamilton's profile picture
Alex Hamilton2 years ago

Dan is this fast?

Marcio Bezerra's profile picture
Marcio Bezerra2 years ago

🤯🤯

lukas.xrd's profile picture
lukas.xrd2 years ago

Impressive achievement again! Usual questions: Finality still ~3.5s in this scenario? And *real* TPS 62k ish?

Dan Hughes | Radix's profile picture
Dan Hughes | Radix2 years ago

You can see it on the right hand window which is one of the validators I'm poking commands into. Its ~2.8s so a little faster because of the sequencer. There's also other work I've done since the 9k one which helps finality a little too. Whats interesting is that sequenced throughput actually approaches basic transfer throughput the more you load it. So the *real* TPS as you put it is also about 30-35k.

SJS #XRD Radix's profile picture
SJS #XRD Radix2 years ago

Haven't a Danny what your on about, but seems epic.

Related Videos