grpc-swift icon indicating copy to clipboard operation
grpc-swift copied to clipboard

Multipath TCP support

Open Antonito opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe it.

Following discussion from https://github.com/grpc/grpc-swift/issues/1044, it'd be great to have a way to set Network.framework multipathServiceType.

This should help supporting seamless network interface transition, especially on mobile devices.

Describe the solution you'd like

@Lukasa proposed a solution similar to what's been implemented to support Network.framework TLS (NWProtocolOptions.TLS)

Antonito avatar Jul 14 '21 15:07 Antonito

Does anybody have any guidance on how this would need to be implemented?

I guess we would need to allow setting the NWParameters.multipathServiceType of Network.framework when creating the NIOTSEventLoopGroup, right? Would this need modification to NIO Transport Services?

qusc avatar Aug 29 '21 08:08 qusc

Yes, a change to NIO Transport Services would be needed to add an appropriate new channel option.

Lukasa avatar Aug 29 '21 11:08 Lukasa