aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2018-09-27 12:30:51 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2018-09-27 12:30:51 -0700
commit635e0bd1e5149aee941d6b6064bb7cef738e7537 (patch)
treedd4a9bf9cc3478129d8d4e8a4f430a0df4e22519 /doc
parent67d2fb784778b0c12b40522f09ae6622728466eb (diff)
fix typo
Diffstat (limited to 'doc')
-rw-r--r--doc/core/grpc-client-server-polling-engine-usage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/core/grpc-client-server-polling-engine-usage.md b/doc/core/grpc-client-server-polling-engine-usage.md
index fa54f94621..3a560e71a8 100644
--- a/doc/core/grpc-client-server-polling-engine-usage.md
+++ b/doc/core/grpc-client-server-polling-engine-usage.md
@@ -17,7 +17,7 @@ This document talks about how polling engine is used in gRPC core (both on clien
### Making progress on Async `connect()` on sub-channels (`grpc_pollset_set` usecase)
- A gRPC channel is created between a client and a 'target'. The 'target' may resolve in to one or more backend servers.
- A sub-channel is the 'connection' from a client to the backend server
-- While establishing sub-cannels (i.e connections) to the backends, gRPC issues async [`connect()`](https://github.com/grpc/grpc/blob/v1.15.1/src/core/lib/iomgr/tcp_client_posix.cc#L296) calls which may not complete right away. When the `connect()` eventually succeeds, the socket fd is makde 'writable'
+- While establishing sub-cannels (i.e connections) to the backends, gRPC issues async [`connect()`](https://github.com/grpc/grpc/blob/v1.15.1/src/core/lib/iomgr/tcp_client_posix.cc#L296) calls which may not complete right away. When the `connect()` eventually succeeds, the socket fd is make 'writable'
- This means that the polling engine must be monitoring all these sub-channel `fd`s for writable events and we need to make sure there is a polling thread that monitors all these fds
- To accomplish this, the `grpc_pollset_set` is used the following way (see picture below)