/plushcap/analysis/datastax/datastax-killrvideo-python-pt-5-when-data-access-easiest-part-microservice

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

What's this blog post about?

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.

Company
DataStax

Date published
May 10, 2019

Author(s)
Jeffrey Carpenter

Word count
1529

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.