@ramfox has been heading up a project to implement a streaming interface atop a libp2p connection for inter-process communication (IPC)
On Friday May 16th, we got it to work!
The result of it working: we also got a sense of the distance between what we need & where we are, and there is a lot of ground that needs to be covered to use libp2p streaming as a robust IPC protocol
dig pulled together an experiment using gRPC over the weekend to understand how fast switching to gRPC could close the gap
from discord, @dig :
I just finished an experiment (it works) that uses gRPC (tonic impl) instead of libp2p for the rpc layer, and I think it is a considerably better choice for what we need to do in the short to medium term. I have been thinking about all the things that we have left to do on implementing a solid rpc layer, and that is quite considerable. so my proposal is lets switch to use grpc instead and replace it down the line if we ever find ourselves in the actual need for sth else code to play around and look at https://github.com/n0-computer/iroh/tree/grpc
The decision in front of us:
given that we’re very pressed for time, we’ve decided to go to option 2: switch to gRPC