Hi Selcuk, Either way, you probably do not want to hard code machine IP:PORT info into clients. In grpc we typically want to connect to a name, and let the NameResolver turn that name into a set of HOST:PORTs for us. That way you have the ability to have redundancy and let grpc do load balancing. Whether your applications shall talk directly to these micro services, or go through some sort of gateway service depends on your needs, but I'd err on the side of hiding architectural details from clients.
Are your clients connecting across the public internet? On Fri, Jul 14, 2017 at 9:01 AM, Selcuk Bozdag <[email protected]> wrote: > Hi, > > Our requirements state that we should run our services on a Microsoft > Server 2012 VM. > We have 9-10 gRPC services running on different ports. > > One option is to let our desktop clients know about services and their > connection parameters (ip and port information) for each. > Other one is to have a proxy server and our clients communicate services > through the proxy. But we could not figure out that. > > There may be some other points we have not thought about. Coming from a > monolith world, we are a bit new to the microservices in terms of devops. > > What is your recommendation deployment plan for this scenerio? What tools > do you recommend? > > Thanks so much > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/cf78d95d-2408-47a8-b762-049e4e089094%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/cf78d95d-2408-47a8-b762-049e4e089094%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Spencer Fang -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAK%3D-x_79njNo2Vx3Sm6SrTXtq5bG99-vKhduR%2BREOs5uKWyLOg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
