waku-org / pm

Project management, admin, misc
3 stars 1 forks source link

[Milestone] Waku Network can Support 1 Million Users #83

Closed fryorcraken closed 7 months ago

fryorcraken commented 1 year ago

2023 Key Milestones: https://notes.status.im/s/iylE6wdli#

Milestone: https://github.com/waku-org/pm/milestone/4

Priority Tracks: Secure Scalability

Summary

Enable Status Communities to onboard 1 million users (100 Communities, 10k users per communities). The completion of this issue assume the usage of static sharding. This is a continuation of https://github.com/waku-org/pm/issues/12, 2 main items are to be delivered: ## 1. Vac/DST Simulations Current simulations of the Waku Relay network with 1000 nodes are positives and confirm that Waku with static sharding is likely to support 10k users (10 shards, 1k users per shards). To confirm the support of a million user, the simulations need to include 10k nodes (10k active users per shards). Similarly to the simulations done so far, the Waku relay protocol is the priority. Once done, simulation with Store (using PostgreSQL) and light/filter are needed to confirm that these protocols and their implementation can scale to the need of Status. This milestone also include any work to be done as a result of the simulation if any of improvement is needed. ## 2. PostgreSQL Optimization As part of https://github.com/waku-org/pm/issues/12, a PostgreSQL implementation of Waku archive was done in nwaku and local stress testing is tracked to confirm the gain over SQLite. As for any SQL DB usage, further optimization are possible and tracked as part of this milestone. This may include feedback from Status community dogfooding or DST simulations. # Justification

Status Communities uses Waku for communication purposes and needs the re-assurance that Waku can scale up to 1 million users.

Risk

Note that a number of optimisation of the usage of Waku by Status Community protocol have been identified: https://github.com/vacp2p/research/issues/177

While this milestone scopes the delivery of Waku's scalability, the resolution of the these items above will likely be needed to enable Status Communities to scale up.

fryorcraken commented 12 months ago

Weekly Update

fryorcraken commented 11 months ago

Weekly Update

jm-clius commented 11 months ago

Weekly Update

jm-clius commented 11 months ago

Weekly Update

fryorcraken commented 10 months ago

Weekly Update

jm-clius commented 10 months ago

Weekly Update