Does this help https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md ?
On Thu, Apr 15, 2021 at 1:58 PM Tao Wang <tao.wang0...@gmail.com> wrote: > I started looking into cpp helloworld example (mostly from client side). > Basically, client creates a channel and associated filter first (at this > time, the connection is not established) and does a unary RPC. > > It seems to be confusing to me that when does client truly connects with > the server side. > > I traced down to > https://github.com/grpc/grpc/blob/master/src/core/lib/surface/call.cc#L630 > but still can not figure out (1) when the real connection is initialized > (2) when resolver and load balancer comes into place. > > BTW, how does the grpc threading model works generally, it seems that a > lot operations are done in the main thread by using exec_ctx. > > Any suggestion will be appreciated. Thanks! > On Tuesday, April 13, 2021 at 5:12:29 PM UTC-4 Tao Wang wrote: > >> Thanks for the link. The architecture of c core is quite clear. Where do >> you recommend to start with the source code? >> >> On Monday, April 12, 2021 at 6:40:53 PM UTC-4 Lidi Zheng wrote: >> >>> Here's a thorough talk about gRPC internals: gRPC Deep Dive – Sree >>> Kuchibhotla & Jayant Kolhe, Google >>> https://www.youtube.com/watch?v=S7WIYLcPS1Y >>> >>> On Mon, Apr 12, 2021 at 3:29 PM Tao Wang <tao.wa...@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I am trying to look into the source code of grpc. Is there any >>>> suggestion or documentation on gRPC's threading model or network model? >>>> >>>> -- >>>> 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+u...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/grpc-io/30946a1c-4a19-4307-9ca0-ebe5ae551ca9n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/grpc-io/30946a1c-4a19-4307-9ca0-ebe5ae551ca9n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- > 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/6c72fb97-418f-442f-8028-47bdd036bdc4n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/6c72fb97-418f-442f-8028-47bdd036bdc4n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2BPad6jz-8x%3DzkGOfSw8qhU3Oy8ofFtX8QYfNRmnpa5sBw1Ocw%40mail.gmail.com.