Content
@
0 reply
0 recast
0 reaction
Varun Srinivasan
@v
Scaling Gossip with Bundles Hubs are running into scaling issues with libp2p. We're proposing a change to "bundle" messages to fix some of these issues. This may add a ~1s delay to casts moving between clients. https://warpcast.notion.site/Scaling-Gossip-in-Hubble-e66c766fa6b04afcb407f4800134cd72?pvs=25
11 replies
11 recasts
183 reactions
vrypan |--o--|
@vrypan.eth
I think there's room to improve syncing (for example bundles) if you take into account that Farcaster has special patterns. For example, most users use a single hub (their client's hub) 99% of the time. Can we optimize assuming that the hub will bundle messages in a specific way, and treat bundles as probably unique?
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
I.e. pay a higher cost if it turns out that messages are not bundled as "expected", but assuming that this cost will be rarely paid?
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
For example, if Warpcast hubs created separate bundles for messages originating from WC users in a well-defined way and messages received from other hubs, the originating bundles could travel across the network as such. And in most cases, hubs would only have to check the bundle hash to decide if they need them.
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
cc @adityapk
1 reply
0 recast
1 reaction
vrypan |--o--|
@vrypan.eth
Actually, after reading the proposal again, I see that it is very close to what I said above. (I had missed the src=grpc part). I can't comment on the proposal, is commenting open? (Never understood notion).
0 reply
0 recast
0 reaction