https://github.com/fxmbx/grpc-101
https://github.com/fxmbx/grpc-101
grpc rpc
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fxmbx/grpc-101
- Owner: fxmbx
- Created: 2022-09-20T15:33:32.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-25T19:42:36.000Z (over 3 years ago)
- Last Synced: 2025-03-04T21:36:09.375Z (over 1 year ago)
- Topics: grpc, rpc
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
grpc- built on Http2
🚀🚀
Types of grpc API
- uniary
service GreetService{
rpc Greet(GreetingRequest) returns (GreetResonse) {};
- streaming server
rpc GreetManyTimes(GreetManayTimesRequest) returns (stream GreetManyTimeRespnse){};
- streaming client
rpc LongGreet(stream LongGreetRequest) returns (LongGreetResponse) {};
- bidirectional streaming
rpc GreatEveryone(stream GreetEveryOneRequest) returns (stream GreetEveryOneResponse) {};
}
grpc is asynchronous by default . each server can serve millions of request in parallel
client side load balancing
grpc-GO
https://github.com/grpc/grpc-go