Zekun Li Profile
Zekun Li

@zekun000

1,504
Followers
88
Following
0
Media
140
Statuses

Head of Blockchain (if you're looking for titles) / Software Engineer (if you're looking for technical discussions) @ Aptos

Menlo Park, CA
Joined October 2014
Don't wanna be here? Send us removal request.
@zekun000
Zekun Li
10 months
Parallelize sequential workload, only on Aptos!
@GeorgeMitenkov
George Mitenkov
10 months
Parallel execution of transactions is cool, but what if the workloads are sequential? At @AptosLabs , we came up with a solution that allows parallel execution of smart contracts even in presence of read-write conflicts. Make sure to check out this post!
2
36
127
0
19
56
@zekun000
Zekun Li
8 months
Here's some of my takes, got to the party a bit late, opinions are my own.
@0xMert_
mert | helius.dev
8 months
debate time why is Sui better than Aptos, or why is Aptos better than Sui? what are the core differences?
169
13
309
7
29
116
@zekun000
Zekun Li
8 months
- Static parallelism vs Dynamic parallelism The biggest divergence to me is that aptos believes dynamic parallelism can scale while sui doesn’t . Too early to say which direction is right but hope everyone agrees requiring dependency annotation is a worse dev experience. Sui’s
7
3
39
@zekun000
Zekun Li
8 months
- Toxic marketing driven vs engineering driven culture This is probably obvious, all the hostile/toxic even childish tweets are observed by everyone. Not to mention the absurd redefinition of what a transaction is to inflate numbers. I have high respect for a few former
5
5
39
@zekun000
Zekun Li
8 months
@dubbel06 @alinush407 @SashaSpiegelman @jacopo851 @0xMert_ @XiangZhuolun we actually decoupled the execution from consensus from libra/diem days. I was leading the effort back in the days glad to see many other chains including sui and avax recently follow the same approach to scale the blockchain.
17
7
38
@zekun000
Zekun Li
8 months
You can only get "atomicity" OR "parallelism" but not both with static parallelism. Not expert on CLOB, what I understand is typically the order book is represented as balanced tree where each node can be an object and common operations are add/remove from the tree. With static
@_smbrian
BL
8 months
@wgrieskamp @0xMert_ @SashaSpiegelman @LoganJastremski @EconiaLabs Can you explain why the atomicity in this example can’t be achieved with a programmable tx block on Sui?
1
0
5
6
5
36
@zekun000
Zekun Li
8 months
- Fast path vs Fast consensus We at aptos focus on making consensus lighting fast and will keep pushing until theoretic limit, with recent work shoal and more coming soon. Any honest engineer/researcher would question if the complexity introduced by the
@SashaSpiegelman
Alexander Spiegelman
8 months
Happy to share that our soon-to-be-deployed consensus, Shoal (our latest word after Bullshaek), was accepted to appear at FC 24. Come to Curacao to meet the team and hear our plans to slash consensus latency on @Aptos_Network .
13
11
68
1
2
30
@zekun000
Zekun Li
8 months
- Obsession on global atomic state vs Scale atomic state but open to interoperable multi states Read from multiple tech threads that Sui views global atomic state as something they would never trade off. Even though we believe we can scale single atomic state better than anyone
3
2
29
@zekun000
Zekun Li
6 months
Congrats! glad to see more blockchains adopting and validating the pipeline design we have at Aptos, transaction dissemination (Quorum Store), decoupled execution and parallel execution are key to scalability. Kudos to nonce-less transactions too, we've discussed it but haven't
@_patrickogrady
patrickogrady.xyz
6 months
Processing 5 Billion Micropayments (at 100k TPS) with Avalanche Vryx and Vilmo
60
289
741
1
5
30
@zekun000
Zekun Li
5 months
I was excited for a second, it's probably our bad not specifying what exactly 1M limited collections in 90s we can do on aptos, probably you didn't even imagine it's possible. There's no sharding of 2000 supply managers needed, it's a single atomic increment counter with strict
@Eason_C13
Eason Chen
5 months
@zekun000 Thank you for the bounty. 44.071 second at Sui testnet. Video: Code:
16
7
67
41
1
33
@zekun000
Zekun Li
8 months
Security x Usability, only on Aptos! First time we see a secure and synchronous randomness api on a blockchain!
@Aptos
Aptos
8 months
In the world of blockchain technology, where predictability rules, Aptos Foundation invites you to the first-ever online Aptos RaNd0M Hack. It's time to... Roll the dice 🎲 Spin the wheel 🌀 ...and embrace the unexpected with tamper-proof randomness with Aptos' on-chain
72
146
438
1
0
23
@zekun000
Zekun Li
8 months
Another thing to add is that static parallelism is the WORST form of pessimistic concurrency. Typically we try to minimize the lock scope (critical section) as much as possible with pessimistic mode. Contrast to that, static parallelism needs to lock EVERYTHING it possibly touch
@alnoki_
Alex
8 months
@wgrieskamp @wgrieskamp I would add that another form of disadvantageous overhead introduced by static parallelism (pessimistic concurrency) is the inefficiency of redundant write-locks during non-deterministic scenarios: In an optimistically concurrent executor like BlockSTM, an address
0
1
10
1
2
21
@zekun000
Zekun Li
5 months
Double it, I'll put an additional 100k to this!
@SashaSpiegelman
Alexander Spiegelman
5 months
@0xd34th @EmanAbio Lol, not impressed. On Aptos you can mint 1M limited NFT collection in 90 seconds. Can anyone match this on Sui? I will make the bounty 100k. Good luck with their static parallelism😅
13
5
46
14
3
22
@zekun000
Zekun Li
7 months
Someone mentioned that Sui supports regulated coin (with a shared DenyList) with fast path (owned objects only), I'm really curious how that works and took a look. From what I understand, the trick is that validators use their local view (can be split) of the shared DenyList to
3
2
28
@zekun000
Zekun Li
1 year
We’re not confined to the state of art at aptos, we pursue simplicity and beauty 🫡
@AptosLabs
Aptos Labs
1 year
📢 Redefining consensus. What happens when the team gets together for 10 days? 40-80% reduction in latency. Get ready next week for a deep dive into the innovation only possible with the team at Aptos Labs.
Tweet media one
12
105
381
2
2
22
@zekun000
Zekun Li
10 months
After we published BlockSTM, parallel execution is not a magic anymore. Now we push it even further, we parallelize fully sequential workload! More details will come Q1 2024. 1M sequential numbered and limited supply NFT minted in 90s on previewnet, only possible on Aptos!
@SashaSpiegelman
Alexander Spiegelman
10 months
It is so rewarding to see all the research and engineering work we are doing at @AptosLabs translating into revolutionary numbers: 🗻30k peak TPS 🚀25k sustainable TPS 🏆Billion txns in 24 hours 🤯Million limited collection NFT minting in 90 seconds 👇
3
16
67
1
2
19
@zekun000
Zekun Li
8 months
AptosRock? AptosRoll🎲🎲🎲
@SashaSpiegelman
Alexander Spiegelman
8 months
AptosRock? AptosRoll🎲🎲🎲 Huge effort involving developing cutting-edge cryptography and world-class engineering. Possible only at @AptosLabs . The first and only truly secure PoS on-chain randomness🏆 Embrace your crazy ideas on @Aptos_Network 🤯
3
1
26
0
0
15
@zekun000
Zekun Li
5 months
Security is not granted, a safer language is always better. Compile time error >> Runtime error
@ila_marco_
Goten
5 months
That's perfectly true. No language can entirely prevent logical bugs. Let's take an example using other programming languages like C and Rust. Is Rust safer than C? Well, yes because it prevents thread- and memory-related problems. 1/
1
3
8
0
0
13
@zekun000
Zekun Li
2 years
Soon!
@SashaSpiegelman
Alexander Spiegelman
2 years
Abandoning HotStuff and switching to Joltean should reduce your latency by 33% without any throughout trade offs. Next step is to implement Narwhal to decuple data dissemination from oredering to boost throughout 😉
1
1
12
2
2
8
@zekun000
Zekun Li
8 months
@samlafer @SashaSpiegelman @dubbel06 @0xMert_ simple rationale to explain - - we all care about developer experience - forcing developer/users to annotate/declare what the txn needs statically is bad experience - you must trade the bad user experience for something easier/simpler, not harder
1
2
11
@zekun000
Zekun Li
8 months
@dubbel06 @samlafer @SashaSpiegelman @0xMert_ static information can help scheduling and block-stm is designed to work well with extra info. we at aptos care about dev experience so we don’t want to put the burden on devs, instead we’re focusing on “inferring” it like any modern languages do for types. @wgrieskamp for more
1
0
6
@zekun000
Zekun Li
8 months
🧙
@alinush407
Alin Tomescu
8 months
🧵 How do we provide instant on-chain randomness on @Aptos_Network ? One key ingredient is a fast Lagrange interpolation algorithm from our 2020 work (& my PhD thesis) with @bennypinkas , @ittaia et al () So, if you're doing threshold BLS, read below...👇
1
11
48
0
0
6
@zekun000
Zekun Li
1 year
@SashaSpiegelman @aniketpkate we start with a lower timeout value and increase it gradually upon every round of timeout and drop the value back once progress being made. typically we set some realistic upper limit too
1
0
5
@zekun000
Zekun Li
2 years
@b1ackd0g @wgrieskamp the point is to access other data from winner’s address like nft or coins instead of the address alone, not sure how sui supports it. it’s what we discussed as secondary index back in the diem days. imo this provides composability between programs naturally
0
0
6
@zekun000
Zekun Li
8 months
@dubbel06 @alinush407 @SashaSpiegelman @jacopo851 @0xMert_ @XiangZhuolun yes, pre-checks are done in mempool as best effort, and will be re-checked after consensus as guarantees. and excited about solana adopting it too!
1
0
7
@zekun000
Zekun Li
2 years
@chenxingdotli 这是出现了module更新并且有引用这个module的交易才会回退到串行 实际基本不会出现 这是由于move vm之前的实现问题 我们正在重写这一块 关于不同比例读写冲突的数据paper里都有有兴趣可以看看
2
0
5
@zekun000
Zekun Li
8 months
@kopeboy ofc, we don't do BS at aptos :) more details can be found here
@XiangZhuolun
Zhuolun (Daniel) Xiang
8 months
Aptos Roll, the very first secure and instant on-chain randomness API for PoS blockchains, only at @Aptos_Network . Curious about the technical details behind the scenes? We have a blogpost for you! Here is my take on the design:
14
27
86
0
0
5
@zekun000
Zekun Li
2 years
@secparam @SashaSpiegelman @dahlia_malkhi @ittaia @stonecoldpat0 Simplicity is often under-rated but crucial, it's directly related to observability and reliability etc. I still appreciate the simplicity of hotstuff, though we do see leader as a bottleneck and that's where narwhal comes in.
1
0
5
@zekun000
Zekun Li
8 months
@BL0CKRUNNER Thanks for taking time to respond and sharing your thoughts. for the upfront declaration, are you saying that it's strictly better than not have to declare anything? the burden of managing fragmented data has to be somewhere either in the wallets or the users or indexers. but
4
0
5
@zekun000
Zekun Li
2 years
@wgrieskamp @aeyakovenko @AveryChing @BabaOnChain exactly this ^ if there’s an ongoing auction and my program depends on the current auction winner’s balance or other resources, it’s impossible to declare this dependency upfront since this can be “any” account
1
0
4
@zekun000
Zekun Li
2 years
@aeyakovenko @SashaSpiegelman @7LayerMagik @Aptos_Network i get the point of execution correctness and agree that fullnodes are good to observe any violations of that but disagree on disregarding consensus safety, imo it’s very much a safety issue not liveness to the whole system to have forks
1
0
4
@zekun000
Zekun Li
8 months
@life_of_degen @EmanAbio i’m not close to business side, so can’t really comment about it from inside. from an outsider and a gamer perspective, it seems common to see microsoft/sony/nintendo all gets their exclusive games on their platforms without all the dramas. does Nintendo punch down sony because
3
0
4
@zekun000
Zekun Li
2 years
@SashaSpiegelman @rgelash @moshaikhs @AveryChing can’t believe how much table tennis we played in a year!
1
0
3
@zekun000
Zekun Li
2 years
@aeyakovenko @SashaSpiegelman @Aptos_Network 100% of faulty stake weighted nodes can double spend (creating forks) as much USDC as they want or rewrite history easily. that’s not considered safety but liveness?
0
0
3
@zekun000
Zekun Li
2 years
@sherry_xzy “sleep no more”
0
0
2
@zekun000
Zekun Li
2 years
@aeyakovenko @SashaSpiegelman @7LayerMagik @Aptos_Network the assumption is that Circle would only run a single fullnode? if they run multiple fullnodes it’d have conflicting views easily. as far as i understand most financial institutions require redundancy.
1
0
2
@zekun000
Zekun Li
5 months
@wlaw_ did you look at this? it might be helpful, we have implemented it e2e fully, there's a lot nuances in it also we're gonna publishing more details soon
1
0
2
@zekun000
Zekun Li
8 months
@SashaSpiegelman @matteodotsol @BL0CKRUNNER @a_vaunt 🤫 not sure how long it'll stay the fastest until we come up with even faster protocol
0
0
2
@zekun000
Zekun Li
8 months
@BL0CKRUNNER well I just checked the explorer, I'm pretty sure the "TPS" is still the scam version definition (as guessed). If you divide the "transaction blocks" per epoch (1.3m) by the epoch length (1 day), the average txns per sec is just ~15 while they show 100+.
1
0
2
@zekun000
Zekun Li
8 months
@samlafer This is a big topic to cover. Any horizontal scalable systems involve sharding on some layers. In my view there's 3 layers of sharding - consensus, execution and storage. probably everyone agrees that storage sharding is required to scale. global atomic state vs interoperable
0
0
1
@zekun000
Zekun Li
8 months
@BL0CKRUNNER thanks for clarifying, very glad to see that the community built explorer disagrees with their official stands, that's the essence of web3!
4
0
1
@zekun000
Zekun Li
8 months
@kopeboy If you're familiar with status quo, they are asynchronous - need to send a txn to request a randomness first then after a period of time another txn to fulfill the request. Huge pain to use, not only more with Aptos, as simple as `randomness:u64_integer()`
1
0
1