Varun Srinivasan pfp
Varun Srinivasan
@v
We're starting to think about a new sync model for Farcaster. The current system works but is unlikely to scale up another 10x. Here's our articulation of the problem we want to go after.
15 replies
35 recasts
219 reactions

jj ๐Ÿ›Ÿ pfp
jj ๐Ÿ›Ÿ
@jj
https://storage.googleapis.com/gweb-research2023-media/pubtools/1974.pdf https://github.com/cockroachdb/cockroach/blob/master/docs/design.md There are some incredible things that Spanner and Cockroachdb does for globally distributed databases - the kv rocksdb design that the hubs do are similar to what cockroachdb does actually maybe can borrow more ideas from them. Incredible people over there.
1 reply
0 recast
3 reactions

Cassie Heart pfp
Cassie Heart
@cassie
spanner and cockroachdb rely on trusted components โ€“ spanner has massive time synchronization techniques to get intra-server time as precisely aligned as possible, which does nothing in the adversarial distributed consensus category. cockroachdb uses a significantly narrowed version of rocksdb (pebble) that they layer on top of. I've had a decent amount of experience now (unfortunately) dealing with pebble's shortcomings, to the point I had to vendor a fork of it just to get it to behave the way i needed for another decentralized protocol.
1 reply
0 recast
4 reactions

jj ๐Ÿ›Ÿ pfp
jj ๐Ÿ›Ÿ
@jj
Cockroachdb folks use a slightly different technique thatโ€™s a bit more forward looking called Hybrid Logical Clock to get around spannerโ€™s atomic clocks. Agreed itโ€™s a different problem, but when it comes to global replication Iโ€™d say thereโ€™s some learnings https://cse.buffalo.edu/tech-reports/2014-04.pdf
1 reply
0 recast
1 reaction