Varun Srinivasan
@v
Snapchain is getting close to an alpha release! Snapchain is a new blockchain-like system that stores your casts, reactions and follows and keeps them in sync between apps. It's designed to be faster and scale better than the current hub network. https://github.com/farcasterxyz/protocol/discussions/207
8 replies
40 recasts
177 reactions
Varun Srinivasan
@v
"Faster" sync comes from putting all transactions into blocks. If a node gets disconnected for a bit, it can just look up how many blocks it missed and download them. This simply isn't possible today with the hub and deltagraph system, which is why there are sometimes long delays or missed messages between apps.
1 reply
3 recasts
53 reactions
Varun Srinivasan
@v
Another nice side effect of using blocks is that rate limits won't break sync. Every account has a rate limit of how many messages per second it can post. This is high enough that a human wouldn't trigger it, but bots sometimes do. Rate limits on hubs have to be local because there's no way to order messages across hubs. So one hub might reject your messages because you hit it too fast, while another might say its ok. This leads to some weird outcomes where hubs get out of sync and it makes it even hard to track down other sync issues.
1 reply
0 recast
8 reactions