grpcurl
ghz
Our great sponsors
grpcurl | ghz | |
---|---|---|
37 | 6 | |
10,118 | 2,877 | |
2.9% | - | |
7.2 | 5.8 | |
8 days ago | 9 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
grpcurl
-
Roll your own auth with Rust and Protobuf
grpcurl
- Grpcurl: Like Curl, but for gRPC
-
Build and Deploy a gRPC-Web App Using Rust Tonic and React
The API server will be built and start running on port 50051. You can test the functionality using a gRPC client of your choice like grpcurl or Postman.
- download starlink stats
-
A detailed comparison of REST and gRPC
> What is the ubiquitous utility for interacting with gRPC? We have curl for REST. What is openAPI of gRPC?
grpcurl[1] combined with gRPC server reflection[2]. The schema is compiled into the server as an encoded proto which is exposed via server reflection, which grpcurl reads to send correctly encoded requests.
[1] https://github.com/fullstorydev/grpcurl
-
gRPC on the client side
The whole idea behind the post is that accessing the gRPC service with regular tools is impossible. To test, we need a dedicated tool nonetheless. I found grpcurl. Let's install it and use it to list available services:
-
RPC > REST
gRpcurl is a cool little tool to look at btw. Had to use it at my job before. Can call a gRPC via a curl like command. Regular curl doesn't support HTTP2. Had to use TLS with some tokens even. But you can reference a local .proto(gRPC protobuf file for the call) and make things easier for yourself if you hate reading instructions on command line args like I do.
- Show HN: ProtoCURL, a Curl for Protobuf
-
grpc-nvim: A simple GRPC client
A simple GRPC client built using grpcurl.
-
Traffic routing based on header value not working in gRPC service
Try testing with grpcurl, using the -H or -rpc-header flags to set the appropriate header.
ghz
-
Production Twitter on One Machine: 100Gbps NICs and NVMe Are Fast
I once built a quick and dirty load testing tool for a public facing service we built. The tool was pretty simple - something like https://github.com/bojand/ghz but with traffic and data patterns closer to what we expected to see in the real world. We used argo-workflows to generate scale.
One thing which we noticed was that there was a considerable difference in performance characteristics based on how we parallelized the load testing tool (multiple threads, multiple processes, multiple kubernetes pods, pods forced to be distributed across nodes).
I think that when you run non-distrubuted load tests you benefit from bunch of cool things which happen with http2 and Linux (multiplexing, resource sharing etc) which might make applications seem much faster than they would be in the real world.
-
GRPC Performance Testing , Load Testing
I'm not sure. Maybe you can write to the discussion section of the repo https://github.com/bojand/ghz/discussions
-
Testing gRPC services - request collections and modern load testing
In part 1 we looked at ghz for load testing gRPC services, and now I want to cover k6, which claims to be a modern load testing tool built for developer happiness. After only a brief experience with it I can see why is that and why Grafana moved to acquire k6 earlier this year.
-
grpc_bench: open-source, objective gRPC benchmark
It should be unbound, in this particular benchmark we set ghz concurrency to 50 and connections to 5 and we don't set the rps flag of ghz (e.g. --rps=2000, from this tool)
a second container running ghz makes unary requests to the server
What are some alternatives?
bloomrpc - Former GUI client for gRPC services. No longer maintained.
jmeter-grpc-plugin - A JMeter plugin supports load test gRPC
grpc-over-webrtc - gRPC over WebRTC
grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC
grpc-web - gRPC for Web Clients
grpc_bench - Various gRPC benchmarks
wrk - Modern HTTP benchmarking tool
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
grpcui - An interactive web UI for gRPC, along the lines of postman
k6 - A modern load testing tool, using Go and JavaScript - https://k6.io
Hey - HTTP load generator, ApacheBench (ab) replacement
gRPC - The Java gRPC implementation. HTTP/2 based RPC