getditto / DittoSwiftTools

Diagnostic and Debugging Tools for DittoSwift
MIT License
9 stars 2 forks source link

Mesh Health Testing tool - Swift #149

Open zmarkan opened 2 months ago

zmarkan commented 2 months ago

Swift analogue of https://github.com/getditto/DittoAndroidTools/issues/118

More context - https://www.notion.so/getditto/Mesh-Health-Testing-tool-proposal-aee9e02cc4f84930bf55d8deff541218?pvs=4

Features/Deliverables

V1 / MVP

Supporting iOS AND Android platforms Shipped as a tool Used in active mode: test only active if apps are all on the tool screen/UI (keeping the subscription and handling logic constrained)

Assurances / user journeys

How long does data take to propagate from source to destination & back What is the curent local mesh health - completion rates (🟢 under accepted threshold - ❌ above timeout threshold, 🟠 - in between) List of the peers (names, peer keys) - that synced successfully / unsuccessfully Stats of mesh health over time - data is always available on BP queryable as a Ditto Collection

Configurability

Latency and timeout thresholds - green and red Payload size - how many KBs Collection name (overridable)