Current status: draft
https://forum.vac.dev/t/optimizing-community-description/339
The community metadata is frequently changed by most events happened in a Status community, and broadcast in the Waku relay network. The message size is a few megabytes for a regular community, source.
This doc lists the steps to improve community metadata to reduce the overall bandwidth consumption from users’ devices.
Message Type: ApplicationMetadataMessage_COMMUNITY_DESCRIPTION
Pubsub Topic: Use global shard (waku/2/rs/32) if not customized, otherwise use community self assigned shard.
How to assign a custom shard for a community?
TBD
Main Business Logic
handleCommunitiesSubscription
: handles the events in a community
publishOrg
: the method to send the message.
communityAdvertiseIntervalSecond
: interval of control node regular publish
What are the events that trigger the community description?