Skip to content

yagotome/grpc-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC cache

This is a simple in-memory cache service implemented on top of gRPC and protobuf.

The purpose of this repository is to show how simple it is to use gRPC by implementing a server in Go and a client in Node.js.

This code was created for the talk "gRPC: Por que você ainda usa REST?"

Running

Pre-requisite

You'll need to have Go and Node.js environments set up to run.

Server

Do enter in server folder, then type:

$ make start

Client

Do enter in client folder, then do:

  1. Install dependencies
$ yarn
  1. Run
$ yarn start

Evans

You could use Evans to consume cache service as well.

About

Simple example of the use of gRPC for client-server RPC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published