Varun Srinivasan
@v
Our goal is to scale Farcaster to 1 million daily users. Farcaster will need to handle 10,000 messages / second while staying credibly decentralized. That's roughly in the same order of magnitude as most global credit card networks. Here's our proposal: https://github.com/farcasterxyz/protocol/discussions/163
28 replies
38 recasts
316 reactions
Varun Srinivasan
@v
The most pressing problem to solve is network sync. Hubs can achieve consensus without coordination thanks to CRDTs. But they still need to replicate and converge to the same state quickly. We use a combination of snapshots, gossip and differential sync to achieve this.
3 replies
0 recast
7 reactions
sukun
@sukun
Using something like prolly trees might help though it might be too much re-arch https://youtu.be/X8nAdx1G-Cs?si=oZ3jR-jQwqLaTt5V And a blog post explaining this sync process https://joelgustafson.com/posts/2023-05-04/merklizing-the-key-value-store-for-fun-and-profit
1 reply
0 recast
0 reaction
Varun Srinivasan
@v
@vrypan.eth brought this up earlier we actually do something similar (but slightly less efficient) with our merkle tries. so moving to prolly tries might be better, but by a small margin. not a large one.
0 reply
0 recast
1 reaction