Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 1.87 KB

Project Summary gRPC Product Service.md

File metadata and controls

30 lines (15 loc) · 1.87 KB

Project Summary: gRPC Product Service

The primary aim of developing this project was to extensively utilize gRPC technology and deeply explore the advantages it offers. Here are the key tasks I accomplished towards this goal:

gRPC Service Definitions

  • .proto File: I created a .proto file where I defined the fundamental functions of my product service. In this file, I worked on the data structures and service definitions provided by gRPC.

Unary RPC Implementation

  • Product Information Query: I implemented a simple and effective request-response model using the Unary RPC model. This showcases one of the basic use cases of gRPC.

Server Streaming RPC Implementation

  • Product List Streaming: Demonstrating how the server can continuously stream data using the Server streaming RPC model. This is an example of gRPC's streaming capabilities.

Client Streaming RPC Implementation

  • Stream from Client Side: I applied the client streaming RPC model, where the client sends multiple pieces of data, and the server processes them and returns a single response. This illustrates one of the more complex usage examples of gRPC.

Bidirectional Streaming RPC Implementation

  • Bidirectional Data Flow: I brought to life the bidirectional streaming model where both the client and server can send and receive data simultaneously. This is one of the most flexible communication models of gRPC.

Client Application

  • gRPC Client: I developed a client application that interacts with various gRPC services on the server side. This application demonstrates how gRPC can be practically used.

The fundamental objective of this project was to practically examine gRPC technology and experience the various communication models this modern RPC framework provides. My project offered a unique opportunity to explore the robust and flexible nature of gRPC.