KillrVideo Python Pt. 2 — App Dev with ProtoBuf and GRPC
In this post, the author discusses the development of a new implementation of microservices for KillrVideo in Python. They start by defining service interfaces using Google Remote Procedure Call (GRPC) and generating stubs for Python services. The author explains why GRPC was chosen over other options like RESTful APIs or GraphQL, highlighting its advantages such as consistent semantics across multiple language implementations. They also demonstrate how to create bindings in Python using grpcio-tools package and discuss the process of implementing each service by extending server stubs generated by GRPC. Finally, they showcase an example of starting a GRPC server and registering services with it.
Company
DataStax
Date published
Feb. 27, 2019
Author(s)
Jeffrey Carpenter
Word count
1818
Language
English
Hacker News points
None found.