Skip to content

Commit 34dde4e

Browse files
authored
Update comparison.md (#18093)
1 parent e74db43 commit 34dde4e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

aspnetcore/grpc/comparison.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ uid: grpc/comparison
1212

1313
By [James Newton-King](https://twitter.com/jamesnk)
1414

15-
This article explains how [gRPC services](https://grpc.io/docs/guides/) compare to HTTP APIs (including ASP.NET Core [web APIs](xref:web-api/index)). The technology used to provide an API for your app is an important choice, and gRPC offers unique benefits compared to HTTP APIs. This article discusses the strengths and weaknesses of gRPC and recommends scenarios for using gRPC over other technologies.
15+
This article explains how [gRPC services](https://grpc.io/docs/guides/) compare to HTTP APIs with JSON (including ASP.NET Core [web APIs](xref:web-api/index)). The technology used to provide an API for your app is an important choice, and gRPC offers unique benefits compared to HTTP APIs. This article discusses the strengths and weaknesses of gRPC and recommends scenarios for using gRPC over other technologies.
1616

1717
## High-level comparison
1818

@@ -40,6 +40,8 @@ gRPC is designed for HTTP/2, a major revision of HTTP that provides significant
4040
* Binary framing and compression. HTTP/2 protocol is compact and efficient both in sending and receiving.
4141
* Multiplexing of multiple HTTP/2 calls over a single TCP connection. Multiplexing eliminates [head-of-line blocking](https://en.wikipedia.org/wiki/Head-of-line_blocking).
4242

43+
HTTP/2 is not exclusive to gRPC. Many request types, including HTTP APIs with JSON, can use HTTP/2 and benefit from its performance improvements.
44+
4345
### Code generation
4446

4547
All gRPC frameworks provide first-class support for code generation. A core file to gRPC development is the [.proto file](https://developers.google.com/protocol-buffers/docs/proto3), which defines the contract of gRPC services and messages. From this file gRPC frameworks will code generate a service base class, messages, and a complete client.

0 commit comments

Comments
 (0)