exploring-rust-ecosystem
grpcurl
Our great sponsors
exploring-rust-ecosystem | grpcurl | |
---|---|---|
4 | 37 | |
73 | 10,118 | |
- | 2.9% | |
0.0 | 7.2 | |
over 2 years ago | 10 days ago | |
Rust | Go | |
MIT License | MIT License |
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.
exploring-rust-ecosystem
-
Monitoring Rust web application with Prometheus and Grafana
In this article, I’ll show you how to set up monitoring of a Rust web application. The application will expose Prometheus metrics that will be visualized using Grafana. The monitored application is mongodb-redis demo described in detail here. Finally, the following architecture will be obtained:
-
Getting started with MongoDB and Redis in Rust
The project is implemented with MongoDB Rust driver and redis-rs crate.
-
Introduction to gRPC in Rust
gRPC server
Source code
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.
What are some alternatives?
Protobuf - Protocol Buffers - Google's data interchange format
bloomrpc - Former GUI client for gRPC services. No longer maintained.
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
grpc-over-webrtc - gRPC over WebRTC
mongo-rust-driver - The official MongoDB Rust Driver
grpc-web - gRPC for Web Clients
docs - Prometheus documentation: content and static site generator
wrk - Modern HTTP benchmarking tool
rust-embed - Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
grpcui - An interactive web UI for gRPC, along the lines of postman
teloxide - 🤖 An elegant Telegram bots framework for Rust
Hey - HTTP load generator, ApacheBench (ab) replacement