JamesNK / Http2perf
Licence: mit
Testing HTTP/2 and gRPC perf on .NET
Stars: ✭ 31
HTTP/2 Perf on .NET
Run the server:
dotnet run -c Release -p GrpcSampleServer
Run the client:
dotnet run -c Release -p GrpcSampleClient client concurrency connectionPerThread
Clients:
- r = gRPC with raw HttpClient
- r-stream-request = gRPC with raw HttpClient (stream request)
- r-stream-response = gRPC with raw HttpClient (stream response)
- r-stream-all = gRPC with raw HttpClient (stream all)
- g = gRPC with Grpc.Net.Client
- gs = gRPC bidi streaming with Grpc.Net.Client
- c = gRPC with Grpc.Core
- h1 = Protobuf with HttpClient+HTTP/1
- h2 = Protobuf with HttpClient+HTTP/2
- h1-json = JSON with HttpClient+HTTP/1
- h2-json = JSON with HttpClient+HTTP/2
- s = SignalR bidi streaming (messagepack)
Example - Grpc.Net.Client + 100 callers + connection per thread (100 connections)
dotnet run -c Release -p GrpcSampleClient g 100 true
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].