server icon indicating copy to clipboard operation
server copied to clipboard

Is it possible to make gRPC to use a unix socket instead of TCP in Triton Server?

Open PauloFavero opened this issue 2 years ago • 7 comments

We have a streaming service that uses gRPC with Unix sockets. The gRPC performs way better with Unix socks in comparison with a TCP port. I saw that you can only change the port in the triton server for the gRPC connection.

An option to change the gRPC connection protocol could be viable in the future as a new feature? Is there a way to do that with the current implementation?

Thanks

PauloFavero avatar Mar 23 '22 15:03 PauloFavero

It should be possible with changes to the server grpc implementation, but we haven't looked at it in detail.

deadeyegoodwin avatar Mar 25 '22 18:03 deadeyegoodwin

I face the same problem. I deploy tritonserve and my application on the same machine, then I want to change the TCP proto to UNIX sock so that it can accelerate the inference speed, but there is no way to change this.

guoxiaojie-schinper avatar Jun 22 '22 09:06 guoxiaojie-schinper

Adding a +1 to this enhancement request. @deadeyegoodwin -- wondering if your team has had a chance to scope this out?

andremoeller avatar Aug 26 '22 20:08 andremoeller

Yes this will be a very useful feature.

sakoush avatar Sep 01 '22 17:09 sakoush

Any updates on this ? Or anyone know how i would be able to start to try to code / implement this. For our current application we might benefit greatly.

kelevra1993 avatar Dec 15 '23 21:12 kelevra1993