https://github.com/parvez3019/grpc-demo
https://github.com/parvez3019/grpc-demo
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/parvez3019/grpc-demo
- Owner: parvez3019
- Created: 2020-11-18T14:48:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-18T14:58:57.000Z (over 5 years ago)
- Last Synced: 2024-10-12T07:21:06.648Z (over 1 year ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readMe.md
Awesome Lists containing this project
README
Demo code to showcase basics of gRPC with Rest comparision part of a gRPC talk given by me.
(slides can be found here https://docs.google.com/presentation/d/1w50uzYdM-Mxvt8dwGYlMEbyBQ4fCZq6gx8JKPjAFtZs/edit?usp=sharing)
To generate pb.go files
protoc service.proto --go_out=.
Performance -
For 50000 Requests (100 concurrent users * 500 requests)
Rest - 35 seconds <-> ~1 seconds
gRPC - 5 seconds <-> 10 seconds