-
There are several gRPC implementations in Rust. For this project, tonic is used.
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
exploring-rust-ecosystem
A set of examples that demonstrate how to create a backend application using Rust ecosystem.
gRPC server
-
rust-embed
Discontinued Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
Images of planets are included in the application binary at compile time using rust_embed crate (at the development time they are loaded from a file system).
-
As was said earlier, for visibility purposes, gRPC client is also a Telegram bot. To implement the bot, teloxide library was used.
-
To perform requests to the server you can use some gRPC client (for example, BloomRPC):
-
In this article, you will see how to create gRPC server and client in Rust. For visibility purposes, the client will also be a Telegram bot. Finally, the following architecture will be obtained:
-
Service definition is written in proto3 version of Protocol Buffers language and is located in the .proto file:
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.