peer-base / peer-pad

📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
https://peerpad.net
MIT License
678 stars 57 forks source link

question: how to test resilience to network conditions? #126

Open pgte opened 6 years ago

pgte commented 6 years ago

In order to automate tests for when network conditions change, I think we need some way to:

By network here I mean disable Websockets connections to a websocket-star relaying service (now that peerpad-core is going to use websocket-star for transport instead of WebRTC..). Also, it would be nice if we could introduce some arbitrary latency between nodes.

(Also, I don't need to operate at the UI level: I could use the peerpad-core API instead).

@diasdavid has pointed me to piri-piri and karma-peer.

Any ideas, pointers or considerations?

pgte commented 6 years ago

@dignifiedquire any thoughts on this? :)