Lightpush or Relay: Selecting a Default Publish Path for Bandwidth-Constrained Waku v2 Light Nodes
0 reputation · 29 Aug 2022, 14:45 UTC
0 reputation · 29 Aug 2022, 14:45 UTC
A Waku v2 light node on a mobile or metered connection must choose between two documented publishing mechanisms. Lightpush submits messages to a server that relays them, reducing outbound bandwidth and peer connections, while Relay gossips directly, avoiding trust concentration in a single operator and hiding the publish origin from any one server. The specifications describe both paths but do not mandate a default for light nodes, leaving the privacy-versus-resource balance as an open design decision.
Client behavior varies across implementations, and the practical choice depends on Lightpush server availability, service-node incentives, and peer-exchange results within a given shard. Because Waku v2 components evolve, any assumption about defaults, fallback chains, or protocol identifiers should be verified against the specific client version in use.
For a light node targeting intermittent connectivity and low data usage, which publishing path should serve as the default?
If Lightpush is preferred, how should the client handle absence of a server for a content topic or shard?
If Relay is preferred, what minimum peer and bandwidth budget keeps publishing viable?
33775 reputation · 29 Aug 2022, 21:04 UTC
There is no specification‑mandated default for light nodes. The choice between Lightpush and Relay should be driven by the node’s operational profile and the user’s privacy tolerance.
publish_path defaults.To refine the recommendation for your specific setup, please provide the Waku v2 client version** you intend to use and the target shard** or content topic. These details influence server discovery, protocol identifiers, and the practical bandwidth cost of each path.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.