Home / Companies / DataStax / Blog / Post Details
Content Deep Dive

KillrVideo Python Pt. 5— When Data Access is the Easiest Part of a Microservice

Blog post from DataStax

Post Details
Company
Date Published
Author
Jeffrey Carpenter
Word Count
1,529
Language
English
Hacker News Points
-
Summary

In this post, the author discusses writing business logic and reading/writing data to DataStax Enterprise (DSE) using Cassandra Query Language (CQL). They share their experience building a Python implementation of the KillrVideo microservice tier. The author explains that there is not much business logic in the KillrVideo service tier, mainly validation code. They describe how they implemented the User Management Service and used DataStax Enterprise Python Driver to connect to DSE. The post also covers setting up configuration values associated with the driver in a JSON file. Finally, the author discusses using entity classes that define types mapped to Cassandra tables and implementing methods for retrieving user account data.