mirror of https://github.com/logos-co/roadmap.git
98 lines
6.6 KiB
Markdown
98 lines
6.6 KiB
Markdown
|
---
|
||
|
title: 2023-12-11 Waku Weekly
|
||
|
tags:
|
||
|
- waku-updates
|
||
|
date: 2023-12-11
|
||
|
draft:
|
||
|
---
|
||
|
## [Waku Network Can Support 10K Users](https://github.com/waku-org/pm/issues/12)
|
||
|
|
||
|
- _achieved:_
|
||
|
- fixed issue of store fleet not connecting to bootstrap fleet due to enr shards mismatch https://github.com/status-im/infra-shards/issues/23
|
||
|
- continuing team-internal dogfooding of a test community using static sharding https://github.com/waku-org/pm/issues/97. See [dogfooding report](https://github.com/waku-org/pm/issues/97#issuecomment-1829050821)
|
||
|
- benchmarked various ways for large postgresql deployments: https://github.com/status-im/infra-status/issues/37
|
||
|
- _next:_
|
||
|
- continue dogfooding of Status Desktop with Status staging fleet with test community (https://github.com/waku-org/pm/issues/97)
|
||
|
- _risks:_
|
||
|
- [Fleet Ownership doc](https://www.notion.so/Fleet-Ownership-7532aad8896d46599abac3c274189741) defines fleet _maintainer_ and _owner_. Status team yet to clarify who is the _fleet owner_ for Status Communities.
|
||
|
- QA by Status team to be planned on staging static sharding fleet; Waku team has done [internal dogfooding](https://github.com/waku-org/pm/issues/97) ([report](https://github.com/waku-org/pm/issues/97#issuecomment-1829050821)). Any change to the staging static sharding fleet should then be tested by QA before being deployed to prod (e.g. # of Postgres instances). Status has committed to this testing on 28Nov call.
|
||
|
- **Status team expressed will to deploy static sharding prod fleet and use it for all users: This is not recommended until proper QA is done on stagning static sharding fleet as it could impact other Status app activities**.
|
||
|
- Implementation of static sharding in Status Communities and design decisions mostly driven by go-waku developer, with minimal input from Status dev ([1](https://github.com/status-im/status-go/pull/4161), [2](https://github.com/status-im/status-go/pull/4094), [3](https://github.com/status-im/status-go/pull/4093)). See [status-go#4057](https://github.com/status-im/status-go/issues/4057) for remaining work. Mitigation by on-boarding Chat SDK team since November 2023 to drive effort.
|
||
|
- Dependency on Vac/DST to conclude ~1k nodes simulations; lack of confidence in simulation results: results so far exhibits various artifacts and anomalies seemingly related to tooling limitations. It is therefore difficult to draw certain conclusions re Waku scalability.
|
||
|
|
||
|
### [Targeted dogfooding for Status Communities](https://github.com/waku-org/pm/issues/97)
|
||
|
|
||
|
- _achieved_: fix peer manager to take into account the ENR seq to determine if a peer is new or not and fix incorrect number of connected peers per topic. Register lightpush protocol correctly in go-waku. Drop pubsub topic bridging. Use shards.test fleet as default (in status-go and desktop)
|
||
|
- _next_: continue dogfooding / fixing issues
|
||
|
|
||
|
## [Waku Network can Support 1 Million Users](https://github.com/waku-org/pm/issues/83) - 2023-11-30
|
||
|
|
||
|
- _achieved_:
|
||
|
- Researched various ways of deploying shared postgresql instances for large deployments: https://github.com/status-im/infra-status/issues/37
|
||
|
- _next_:
|
||
|
- Pending DST simulations of 10k nodes gossipsub network.
|
||
|
- _risks_:
|
||
|
- Dependency on Vac/DST to run 10k nodes simulations. Tracked under [`vac:dst:eng-10ktool`](https://roadmap.logos.co/tags/vac-updates).
|
||
|
- Wakutorsis tool is being dropped, meaning new tooling needs to be developed for 10k nodes simulations. It is currently uncertain whether such tool can be developed.
|
||
|
- Large scale simulations done by Vac/DST only covered nwaku relay. go-waku, status-go simulations are not planned short term (theoretical review of Status Communities messages is), nor are simulations including request-response protocols such as store and filter.
|
||
|
- lack of real world feedback/dogfooding: the complete static sharding solution involves significant changes to the Waku protocol and tech stack. Although each element is unit tested, dogfooding may hit corner cases in the integrated solution that cannot be foreseen/recreated in lab conditions.
|
||
|
|
||
|
## [Waku Network Gen 0](https://github.com/waku-org/pm/issues/50) - 2023-12-01
|
||
|
|
||
|
### [1.4: Sharded peer management and discovery](https://github.com/waku-org/pm/issues/67)
|
||
|
|
||
|
**[nwaku] [feat: Peer management with shard as a dimension](https://github.com/waku-org/nwaku/issues/1940)**
|
||
|
|
||
|
- _achieved_: sharded peer management and store pruning PR merged
|
||
|
|
||
|
### [1.2: Autosharding for autoscaling](https://github.com/waku-org/pm/issues/65)
|
||
|
|
||
|
**[js-waku] [feat: make autosharding default node behavior](https://github.com/waku-org/js-waku/issues/1749)**
|
||
|
|
||
|
- _achieved_: open PR to reintroduce (but deprecate) name sharding alongside auto/static sharding without breaking APIs
|
||
|
- _next_: update all examples to use autosharding
|
||
|
- _blocker_: need review on https://github.com/waku-org/js-waku/pull/1723
|
||
|
|
||
|
## [Support Many Platforms](https://github.com/waku-org/pm/issues/42) - 2024-04-30
|
||
|
|
||
|
### [REST API service node](https://github.com/waku-org/pm/issues/82)
|
||
|
|
||
|
**[docs.waku.org] [REST API/ NodeJS](https://github.com/waku-org/docs.waku.org/issues/123)**
|
||
|
|
||
|
- _achieved_: added references for the REST API
|
||
|
|
||
|
## Other Work
|
||
|
|
||
|
### Research
|
||
|
|
||
|
**[research] [Onchain RLN tree+root: Proof Of Concept](https://github.com/waku-org/research/issues/72)**
|
||
|
|
||
|
- _achieved_: We present a proof of concept change in the RLN contract to store the whole membership tree on-chain + its Merkle root. This lowers sync time from several minutes to a few seconds, but at a cost of x10 the membership insertion cost. It also makes light clients lighter since proof verification becomes stateless (Merkle root can be accessed onchain, without having to sync the tree). We also present go-waku-light, to showcase the newly introduced features and how they are meant to be used.
|
||
|
|
||
|
### Enhancements
|
||
|
|
||
|
**[nwaku] [chore: avoid blocking the whole waku node when retention policy is being applied](https://github.com/waku-org/nwaku/issues/2238)**
|
||
|
|
||
|
- _achieved_: avoid blocking the whole waku node when the retention policy is being applied
|
||
|
|
||
|
### Documentation
|
||
|
|
||
|
**[docs.waku.org] [Encryption documentation](https://github.com/waku-org/docs.waku.org/issues/125)**
|
||
|
|
||
|
- _achieved_: push initial draft for symmetric, ECIES, message signing
|
||
|
- _next_: merge and deploy encryption docs #145
|
||
|
|
||
|
**[docs.waku.org] [Docs general improvement/incorporating feedback (2023)](https://github.com/waku-org/docs.waku.org/issues/102)**
|
||
|
|
||
|
- _achieved_: add RN warning, add certbot instructions, improve nwaku-compose guide
|
||
|
|
||
|
### Chores
|
||
|
|
||
|
**[nwaku] [Bump vendor dependencies for release 0.23.0](https://github.com/waku-org/nwaku/issues/2266)**
|
||
|
|
||
|
- _achieved_: bumped `nim-dnsdisc` dependencies
|
||
|
- _next_: bump nim-waku dependencies
|
||
|
|
||
|
### Eco Dev
|
||
|
|
||
|
- _achieved_: 51 projects submitted at EthIndia hackathon
|