HACKER Q&A
📣 feixiangfly

What's the best way to handle large file P2P transfer in the browser?


What's the best way to handle large file P2P transfer in the browser?


  👤 IVski Accepted Answer ✓
WebRTC DataChannels work well for this. Chunk the file (~64KB chunks), handle backpressure manually, and use a simple signaling server for the handshake. wormhole.app is a good reference implementation.