Unfortunately, there's currently no support for this on Windows. There is 
currently support for SO_REUSEPORT on Linux however.

On Tuesday, July 20, 2021 at 7:51:13 AM UTC-7 Cosmin wrote:

> Hello all,
>
> I have the following processes communicating on the same PC:
>
>
> [image: Example.jpg]
>
> P1, P2, P3.... all have the same service interface -> just different 
> instances of the same service.
> Client and server communicate on localhost port 10000 for example. Base on 
> some information received from the client the server will start a new 
> process P1. or P2, or P3..or how many it needs ( P1 - is actually a server 
> that will start listening on localhost port 10001 for example )
> Then the client will discuss directly with P1, P2, P3, ... depending on 
> it's needs
>
> The problem with this is that P1, P2, P3... beeing the same service, I 
> cannot start them on the same localhost port, and because I might have a 
> lot of these processes I will use a large amount of ports -> not a good 
> practice.
>
> Is there a better practice for this using gRPC? At the moment I couldn't 
> find a solution for it or at least I didn't know what to search for.
>
> The language: C++, the environment: Windows
>
> Thank you!
>
> Cosmin
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/fd7e44aa-05c5-4e5d-8171-2ae9943f2ad1n%40googlegroups.com.

Reply via email to