guthl pfp
guthl
@guthl
First tweet as StarkNet builders moving to Farcaster. Gonna try to share some alpha here... First one: in the next couple of weeks, Cairo 0.10.3 will create a 30-40% improvement in performance of #StarkNet sequencer, bringing it to 2TPS. Why is that and what will come next? Thread🧵 👇
3 replies
0 recast
0 reaction

guthl pfp
guthl
@guthl
Prior to 0.10.3, the sequencer computed the state commitment of block n in the same thread that the txs. In 0.10.3, it is moved to another thread and the sequencer starts computing directly the next block. For analogy, it is similar to the Parity block propagation update of 2019. https://i.imgur.com/XmsHsXZ.png
1 reply
0 recast
0 reaction

guthl pfp
guthl
@guthl
This is a very important step toward the separation of computation intensive operation. We also need to remove is the recomputation of the contract hash at each invocation. We can store the hash direct in the db for speed up. Finally, the Cairo rust is soon to be integrated and will dramatically improve speed to.
1 reply
0 recast
0 reaction