fix wrong naming in How does gRPC work? section (#28)

This commit is contained in:
umutbozdag
2023-10-22 20:56:50 +03:00
committed by GitHub
parent 3daa7722d3
commit 542d4c1c0d

View File

@@ -179,7 +179,7 @@ The diagram below illustrates the overall data flow for **gRPC**.
Step 1: A REST call is made from the client. The request body is usually in JSON format.
Steps 2 - 4: The order service (gRPC client) receives the REST call, transforms it, and makes an RPC call to the payment service. gPRC encodes the **client stub** into a binary format and sends it to the low-level transport layer.
Steps 2 - 4: The order service (gRPC client) receives the REST call, transforms it, and makes an RPC call to the payment service. gRPC encodes the **client stub** into a binary format and sends it to the low-level transport layer.
Step 5: gRPC sends the packets over the network via HTTP2. Because of binary encoding and network optimizations, gRPC is said to be 5X faster than JSON.