Optimizing encrypted P2P file transfer - from 225 to 441 MB/s

go dev.to

Part of the KEIBIDROP development blog. KEIBIDROP is in active development. Release is coming soon. KEIBIDROP transfers files between two peers over encrypted gRPC. The full stack: Disk I/O -> FUSE kernel -> FUSE daemon -> gRPC framing -> ChaCha20-Poly1305 -> TCP -> Peer We built micro-benchmarks for each layer and measured throughput with 1GB files on an Intel MacBook Pro. Baseline numbers Layer Throughput Overhead Raw disk (SSD) ~5 GB/s -- Raw gRPC (no encryption

Read Full Tutorial open_in_new
arrow_back Back to Tutorials