Content
@
0 reply
20 recasts
20 reactions
Varun Srinivasan
@v
We're scaling hubs to handle 10x traffic (~ 500k DAU) @adityapk @sanjay and @wazzymandias.eth are heads down and making some big changes this month. Here's a quick overview of how hubs work today.
10 replies
27 recasts
211 reactions
Varun Srinivasan
@v
An important part of hub performance is catch-up sync or diff sync, which kicks in when hubs get disconnected for a short duration. @sanjay developed this back in 2022 when we were first designing hubs.
2 replies
0 recast
7 reactions
Varun Srinivasan
@v
Another piece is using a performant, type-safe language. Typescript served us well for the first two years, but we're reaching the limits of what a high level, garbage collected language can do. @adityapk has been leading the charge to re-write core parts of the hubs into Rust to speed up performance.
3 replies
0 recast
6 reactions
Varun Srinivasan
@v
Another piece is gossip, or the message broadcast layer. We build on libp2p and @sagar and @wazzymandias.eth have both done a lot of great work to fine tune it for farcaster. There's likely enough here for another video series to cover!
2 replies
0 recast
5 reactions
chuckstock
@chuckstock
are hubs able to run using bun.sh as a runtime? has this been tested at all for performance improvements?
0 reply
0 recast
0 reaction
daws.eth
@daws
I REALLY enjoyed these videos @v - keep the dev info coming 🙏
0 reply
0 recast
0 reaction