kumaran@throw.of.a.biased.dice:~$

Life. Code. Tech. More

  • gRPC: Streaming data in Rust

    One of the important advantages of gRPC is that we can stream data between the server and the client. This post explores how we can achieve the same. Let us take the Pokédex server that we discussed in the previous post as an example. Now let us add another service...

  • Channels: Go and Rust

    Channels are a means of communication between multiple threads (or channels in case of Go). Channels usually provide an uni-directional flow of data, that is the data flows from the sender to the receiver. These channels play a vital role building concurrent applications. This blog post discusses the use of...

  • gRPC + Rust

    As a continuation of the previous post, I intend to implement a gRPC service in Rust. I shall use the tonic crate for implementing it in this example. To start with we need rust lang and cargo installed as mentioned here. Let’s create a cargo project for the same. cargo...