Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

aronkst/grpc-vs-rest-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC vs REST

This repository is a test containing a simple implementation of gRPC and REST developed in Go that runs inside a Docker, in which it is possible to define the amount of requests sent via gRPC and REST and verify the performance of both.

Its operation is very simple and can be done entirely using the make commands of the Makefile file.

How to Use

Run the application:

make run

Start the application:

make start

Stop the application:

make stop

View the application logs:

make logs

Test via REST with a count of requests:

(Replace NUMBER with the number of requests to be sent during the test.)

make test-rest count=NUMBER

Test via gRPC with a count of requests:

(Replace NUMBER with the number of requests to be sent during the test.)

make test-grpc count=NUMBER

Generate Proto File (gRPC):

make generate-proto

About

Simple application to compare gRPC with REST

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published