Glad I could help you :) I hope that they mind adding it into master. It 
makes deployment and management of simple infrastructures so much easier if 
you don't have to also care about DNS.

I'm using the NuGet-Package Grpc.HealthCheck for health-checking right now. 
Every GRPC service registered to the GRPCLB is offering that service 
showing the health of all the services + a generic health. The GRPCLB 
itself is also implementing the health service, but showing if the endpoint 
in total is healthy (at least one endpoint is servicing the service name 
with a good generic health response). This is done as periodic task which 
is just requesting the health service of the endpoints. Since you already 
have service health in consul this should be even easier for you to do :)

Am Donnerstag, 7. Dezember 2017 09:43:36 UTC+1 schrieb Duncan Mole:
>
> After playing with your PR a bit it seems it is *exactly* what I need. As 
> we have a blue/green deployment, resolving addresses for external clients 
> involves first looking up the live colour.
> Thanks again for your help on this.
>
> On Wednesday, 6 December 2017 09:32:28 UTC+1, falco...@gmail.com wrote:
>>
>> I just forgot to write the main idea I wanted to write... Sorry, still a 
>> bit tired...
>>
>> For the time until c-ares is merged, you could use the version from my PR 
>> and doing a simple GRPCLB implementation in C# that is just interacting 
>> with the HTTP interface from consul. Just to get things going and use the 
>> infrastructure you already have. And once c-ares is merged, swap to the 
>> native implementation by just removing the "grpclb://" part. Not sure if 
>> grpc is falling back onto DNS right now in case the scheme is unknown or if 
>> GRPCLB is not answering.
>>
>

-- 
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 post to this group, send email to grpc-io@googlegroups.com.
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/3fc1dff5-3522-427d-a9d7-9f9625c9eb0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to