I was inspired to try this by Alex Borysov, Mykyta Protsenko, and Yevgen Golubenko. They made a bunch of great talks about gRPC at Dexoxx conference. There are some of them:
- Break me if you can by Mykyta Protsenko, Alex Borysov
- gRPC vs REST: let the battle begin! by Alex Borysov & Mykyta Protsenko
- gRPC Web: It’s All About Communication by Alex Borysov & Yevgen Golubenko
This is a pet project to play with gRPC server with blog posts API written in Python.
There is a Python FastAPI web server that uses Python gRPC client to create and get blog posts.
- What is gRPC
- Protocol Buffer
- Quickstart with gRPC in Python
- My personal Docker Hub repository with these services
I use docker and docker compose to run these services locally.
Run docker-compose up
to run Python gRPC server, Python FastAPI web server, and postgres database.