It's obviously going to have to be a heuristic, since we don't have any way of knowing the full set of clients a priori. I was thinking that we would take a hash of the client's hostname and pid, which unfortunately wouldn't really be that deterministic. But I'd welcome suggestions for a more deterministic algorithm.
On Thu, Jan 19, 2017 at 9:18 AM, 'Craig Tiller' via grpc.io < grpc-io@googlegroups.com> wrote: > How does the percentage field work? > > Do clients roll a die to determine if they're in the canary subset? Or is > there a deterministic way of determining this? > > On Thu, Jan 19, 2017 at 8:57 AM 'Mark D. Roth' via grpc.io < > grpc-io@googlegroups.com> wrote: > >> I've created a gRFC describing how service configs will be encoded in DNS: >> >> https://github.com/grpc/proposal/pull/5 >> >> I'd welcome feedback, especially on the proposed use of TXT records. >> >> Please keep discussion in this thread. Thanks! >> >> -- >> Mark D. Roth <r...@google.com> >> Software Engineer >> Google, Inc. >> >> -- >> 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/CAJgPXp5VBE%3DBVJq8JKXAdKV%3D3- >> nrjFDHFd0sTwUW%3DGOr%2B3q6Tw%40mail.gmail.com >> <https://groups.google.com/d/msgid/grpc-io/CAJgPXp5VBE%3DBVJq8JKXAdKV%3D3-nrjFDHFd0sTwUW%3DGOr%2B3q6Tw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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/CAAvp3oM7boP7X4GeGXmXf0C5pHCBSXZ8_vCF7jFGwceHyjDbDg%40mail. > gmail.com > <https://groups.google.com/d/msgid/grpc-io/CAAvp3oM7boP7X4GeGXmXf0C5pHCBSXZ8_vCF7jFGwceHyjDbDg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Mark D. Roth <r...@google.com> Software Engineer Google, Inc. -- 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/CAJgPXp6sc8_kFHyM1H39jqbxXb1DZ36ZmQPB5XemgfbBrWcc%3DQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.