gRPC: How to Make Bi-directional Streaming Calls

gRPC: How to Make Bi-directional Streaming Calls

In this article, I’ll cover a gRPC call using a Bi-Directional Streaming — implementing a client that will send a stream request, and a server that will respond with streaming messages.

In this article, I’ll cover a gRPC call using a Bi-Directional Streaming — implementing a client that will send a stream request, and a server that will respond with streaming messages. This is the last article of the series, if you haven’t checked them out, here is the list:

  • How to Make Effective Unary Calls
  • How to Make Client Streaming Calls
  • How to Make Server Streaming Calls
  • How to Make Bi-directional Streaming Calls

In a bi-directional streaming rpc call, both the client and the server sends multiple messages to each other. Using this type of rpc call, can be a little bit more complicated, since you have to take care of error handling from the server side and the client side, plus in some cases it can add more latency. And perhaps it could be a better option to use a unary call.

protobuf programming software-engineering grpc golang

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…

Interested in Learning to Program? 13 Reasons to Start Now

Software development is something that is gaining popularity at lightning speed with the development of technology. The demand for regular developers is high compared to most other mainstream professions. But, what are the other reasons for learning to code?

How to Have a Solid Start in Software Engineering

How to Have a Solid Start in Software Engineering. My first ever software development project an A-Z programming experience!

Science and Engineering in Software Architecture

Science and Engineering in Software Architecture - We are passing through tough times, “The moment everything changed” with COVID-19, quarentine, people trying adapt their day to day…

Developer or Engineer? Does It Make a Difference?

To summarise the main differences between the software developer and engineer: A developer executes. ... So the software developer is mainly focused on developing code that is a part of software development cycle. An engineer designs and plans applying the principles of engineering to software development.