4 ms·
lets say if i someone wants to keep using bittorrent dht for peer finding but swap out quic for something else maybe grpc, does the lib support that split clean
by b0a04gl 1y ago
lets say if i someone wants to keep using bittorrent dht for peer finding but swap out quic for something else maybe grpc, does the lib support that split clean? asking from a modular embed first tooling pov, where discovery logic needs to outlive or outswap transport depending on deployment
- b_fiive 1y agoyep totally doable. You'd use iroh configured with mainline, Then write a custom protocol for the grpc bit: https://www.iroh.computer/docs/protocols/writing https://www.iroh.computer/docs/protocols/writing We use this a bunch for writing rpc protocols on iroh: https://github.com/n0-computer/irpc https://github.com/n0-computer/irpc , but there's no reason you couldn't write one with grpc.