Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raelzeraxd/grpc
a grpc communication example with Go and Python
https://github.com/raelzeraxd/grpc
Last synced: 9 days ago
JSON representation
a grpc communication example with Go and Python
- Host: GitHub
- URL: https://github.com/raelzeraxd/grpc
- Owner: RaelzeraXD
- License: mit
- Created: 2024-07-27T06:01:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T17:23:06.000Z (3 months ago)
- Last Synced: 2024-08-07T20:29:33.730Z (3 months ago)
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# O que é gRPC: Diferença entre REST API e Caso de Uso em Python com Golang
# Protocol buffers vs JSON
arquivos binários são menores que arquivos de texto(JSON)
processo de serializaçao é mais leve que JSON (converter classe pra json)Fonts:
https://grpc.io/docs/what-is-grpc/introduction/
https://grpc.io/docs/languages/go/quickstart/
https://grpc.io/docs/languages/python/quickstart/
https://protobuf.dev/
https://www.youtube.com/watch?v=QyyMjF764moapt install protoc
# golang
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
protoc --go_out=. --go-grpc_out=. ./proto/hello.proto# python
virtualenv venv
source venv/bin/activate
python3 -m pip install grpcio
python3 -m pip install grpcio-tools