Content pfp
Content
@
0 reply
0 recast
0 reaction

Dan Romero pfp
Dan Romero
@dwr.eth
How Farcaster Hubs work Hubs validate, storage and replicate account messages to other hubs in a decentralized way. There are 3 main components: storage, p2p and sync.
7 replies
14 recasts
51 reactions

Dan Romero pfp
Dan Romero
@dwr.eth
2. P2P​ Hubble connects to other peers over a GossipSub network established using LibP2P. Messages merged into the Storage Engine are immediately gossiped to all of is peers.
2 replies
1 recast
2 reactions

Dan Romero pfp
Dan Romero
@dwr.eth
1. Storage​ Messages received by Hubble are forwarded to the Storage engine which forwards them to the appropriate CRDT Set. Once validated by the CRDT Set, messages are persisted to RocksDB and events are emitted to listeners.
4 replies
1 recast
1 reaction

Dan Romero pfp
Dan Romero
@dwr.eth
3. Sync​ Hubble periodically performs a diff sync with other peers to discover messages that may have been dropped during gossip. This is performed using gRPC APIs exposed by each Hub instance.
1 reply
1 recast
2 reactions

Dan Romero pfp
Dan Romero
@dwr.eth
Any boost here would be greatly appreciated https://twitter.com/dwr/status/1699810596135530634
0 reply
1 recast
2 reactions

franco pfp
franco
@francos.eth
What is “Check Props” doing inside the Validate box?
2 replies
0 recast
0 reaction

kia pfp
kia
@kia.eth
what's the incentive to run a hub?
1 reply
0 recast
0 reaction

dylan pfp
dylan
@dylsteck.eth
This is very helpful -- would also be cool to see an explainer on the Farcaster YouTube channel! https://www.youtube.com/@farcasterxyz
0 reply
0 recast
0 reaction