KillrVideo Python Pt. 3 — Advertising Python Services via etcd
In this text, the author discusses their experience building a Python application for KillrVideo microservice tier. They delve into advertising service endpoints in etcd, describing it as a distributed reliable key-value store used to share the location of microservices and database connection information. The author explains how they use etcd in both desktop and cloud deployments of KillrVideo, using Docker and a utility called registrator. They also discuss their custom utility killrvideo-dse-config for registering services provided by Apache Cassandra (DataStax Enterprise) cluster into etcd. Furthermore, the author shares implementation details on how to use etcd in Python application code, including connecting to DSE and advertising service endpoints. Lastly, they mention future improvements and alternatives to using etcd, such as relying on DNS name resolution or a service mesh.
Company
DataStax
Date published
March 6, 2019
Author(s)
Jeffrey Carpenter
Word count
1245
Hacker News points
None found.
Language
English