SlideShare a Scribd company logo
Version 1.0
Creating a User Profile Using
DataStax Astra
We will discuss how DataStax Astra can be used as a back-
end for a client application and demonstrate connecting to a
DataStax Astra database to store user profile details and
changes.
Josh Barnes
Jr. Engineer @Anant
DataStax Astra
● Cassandra in the cloud. - Highly Available, Horizontal scaling, distributed.
● Astra provides the ability to use Cassandra-as-a-Service
● “DataStax Astra DB includes guardrails and sets limits to ensure good practices, foster
availability, and promote optimal configurations for your databases.”
○ https://docs.datastax.com/en/astra/docs/datastax-astra-database-limits.html
○ Eliminate the overhead to install, operate, and scale Cassandra
● Free to get started.
● Out-of-the-box REST and GraphQL endpoints and browser CQL shell
● Powered by DataStax’s open-source Kubernetes Operator for Cassandra
● Deploy on AWS, GCP, or Microsoft Azure and keep compatibility with open-source Cassandra.
Cassandra Data Modeling
● Joins are not allowed.
● Tables created on a per query basis.
○ This means we need to think
about the data we want to store
and retrieve before we create
our tables.
● Primary Keys definitions determine
how data will be queried.
Image from: https://scotch.io/tutorials/five-steps-to-an-awesome-data-
model-in-apache-cassandra
User Profile Data Model
● Query to create and a user profile by capturing
a username, password, first name, last name,
and email.
● A query by username to verify a password.
● A query by a user id to get profile information.
Demo
● https://katacoda.com/datastax/courses/cassandra-try-it-
out/cassandra-data-modeling
Resources
● https://docs.datastax.com/en/astra/docs/
● https://scotch.io/tutorials/five-steps-to-an-awesome-data-model-in-apache-
cassandra
Strategy: Scalable Fast Data
Architecture: Cassandra, Spark, Kafka
Engineering: Node, Python, JVM,CLR
Operations: Cloud, Container
Rescue: Downtime!! I need help.
www.anant.us | solutions@anant.us | (855) 262-6826
3 Washington Circle, NW | Suite 301 | Washington, DC 20037

More Related Content

PPTX
Apache Cassandra Lunch #78: Deploy Cassandra using DSE Operator to Kubernetes
PPTX
Scylla Summit 2018: Adventures in AdTech: Processing 50 Billion User Profiles...
PDF
Disney+ Hotstar: Scaling NoSQL for Millions of Video On-Demand Users
PPT
Reporting from the Trenches: Intuit & Cassandra
PPTX
Migrating from a Relational Database to Cassandra: Why, Where, When and How
PPTX
Backup multi-cloud solution based on named pipes
PDF
Cisco: Cassandra adoption on Cisco UCS & OpenStack
PPTX
Introducing DataStax Enterprise 4.7
Apache Cassandra Lunch #78: Deploy Cassandra using DSE Operator to Kubernetes
Scylla Summit 2018: Adventures in AdTech: Processing 50 Billion User Profiles...
Disney+ Hotstar: Scaling NoSQL for Millions of Video On-Demand Users
Reporting from the Trenches: Intuit & Cassandra
Migrating from a Relational Database to Cassandra: Why, Where, When and How
Backup multi-cloud solution based on named pipes
Cisco: Cassandra adoption on Cisco UCS & OpenStack
Introducing DataStax Enterprise 4.7

What's hot (20)

PPTX
Vitalii Bondarenko "Machine Learning on Fast Data"
PDF
Keeping your application’s latency SLAs no matter what
PDF
Webinar | How Clear Capital Delivers Always-on Appraisals on 122 Million Prop...
PPTX
Apache Cassandra Lunch #72: Databricks and Cassandra
PPTX
Captial One: Why Stream Data as Part of Data Transformation?
PDF
Cassandra Summit 2014: Apache Cassandra Best Practices at Ebay
PPTX
Cassandra Community Webinar: MySQL to Cassandra - What I Wish I'd Known
PDF
Managing Cassandra Databases with OpenStack Trove
PDF
Data Pipelines with Spark & DataStax Enterprise
PDF
Shift: Real World Migration from MongoDB to Cassandra
PDF
Azure SQL Data Warehouse
PPTX
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
PPTX
Zabbix at scale with Elasticsearch
PPTX
GPS Insight on Using Presto with Scylla for Data Analytics and Data Archival
PDF
Workshop - How to benchmark your database
PPTX
Empowering the AWS DynamoDB™ application developer with Alternator
PPTX
Managing (Schema) Migrations in Cassandra
PPTX
Big Data on Cloud Native Platform
PPTX
Making Every Drop Count: How i20 Addresses the Water Crisis with the IoT and ...
PPTX
Webinar: Buckle Up: The Future of the Distributed Database is Here - DataStax...
Vitalii Bondarenko "Machine Learning on Fast Data"
Keeping your application’s latency SLAs no matter what
Webinar | How Clear Capital Delivers Always-on Appraisals on 122 Million Prop...
Apache Cassandra Lunch #72: Databricks and Cassandra
Captial One: Why Stream Data as Part of Data Transformation?
Cassandra Summit 2014: Apache Cassandra Best Practices at Ebay
Cassandra Community Webinar: MySQL to Cassandra - What I Wish I'd Known
Managing Cassandra Databases with OpenStack Trove
Data Pipelines with Spark & DataStax Enterprise
Shift: Real World Migration from MongoDB to Cassandra
Azure SQL Data Warehouse
How to Secure Your Scylla Deployment: Authorization, Encryption, LDAP Authent...
Zabbix at scale with Elasticsearch
GPS Insight on Using Presto with Scylla for Data Analytics and Data Archival
Workshop - How to benchmark your database
Empowering the AWS DynamoDB™ application developer with Alternator
Managing (Schema) Migrations in Cassandra
Big Data on Cloud Native Platform
Making Every Drop Count: How i20 Addresses the Water Crisis with the IoT and ...
Webinar: Buckle Up: The Future of the Distributed Database is Here - DataStax...
Ad

Similar to Apache Cassandra Lunch #71: Creating a User Profile Using DataStax Astra and React (20)

PPTX
Cassandra Lunch #87: Recreating Cassandra.api using Astra and Stargate
PPTX
Apache Cassandra Lunch #67: Moving Data from Cassandra to Datastax Astra
PPTX
Apache Cassandra Lunch #80: How to Use Cassandra for Content Management
PDF
Running Cassandra in AWS
PPTX
Apache Cassandra Lunch #64: Cassandra for .NET Developers
PPTX
Unit -3 _Cassandra-CRUD Operations_Practice Examples
PPTX
Unit -3 -Features of Cassandra, CQL Data types, CQLSH, Keyspaces
PDF
Elassandra: Elasticsearch as a Cassandra Secondary Index (Rémi Trouville, Vin...
PPTX
Apache Cassandra Lunch #94: StreamSets and Cassandra
PPTX
Elassandra schema management - Apache Con 2019
PPTX
Cassandra - A Basic Introduction Guide
PPTX
PPTX
Qubole - Big data in cloud
PPTX
Cassandra tutorial
PPTX
Big Data and its emergence
PPTX
Apache Cassandra introduction
PDF
Slides: Relational to NoSQL Migration
PDF
Sas hpa-va-bda-exadata-2389280
PDF
Business Growth Is Fueled By Your Event-Centric Digital Strategy
PPTX
CC -Unit4.pptx
Cassandra Lunch #87: Recreating Cassandra.api using Astra and Stargate
Apache Cassandra Lunch #67: Moving Data from Cassandra to Datastax Astra
Apache Cassandra Lunch #80: How to Use Cassandra for Content Management
Running Cassandra in AWS
Apache Cassandra Lunch #64: Cassandra for .NET Developers
Unit -3 _Cassandra-CRUD Operations_Practice Examples
Unit -3 -Features of Cassandra, CQL Data types, CQLSH, Keyspaces
Elassandra: Elasticsearch as a Cassandra Secondary Index (Rémi Trouville, Vin...
Apache Cassandra Lunch #94: StreamSets and Cassandra
Elassandra schema management - Apache Con 2019
Cassandra - A Basic Introduction Guide
Qubole - Big data in cloud
Cassandra tutorial
Big Data and its emergence
Apache Cassandra introduction
Slides: Relational to NoSQL Migration
Sas hpa-va-bda-exadata-2389280
Business Growth Is Fueled By Your Event-Centric Digital Strategy
CC -Unit4.pptx
Ad

More from Anant Corporation (20)

PPTX
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
PPTX
QLoRA Fine-Tuning on Cassandra Link Data Set (1/2) Cassandra Lunch 137
PDF
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
PDF
Data Engineer's Lunch 96: Intro to Real Time Analytics Using Apache Pinot
PDF
NoCode, Data & AI LLM Inside Bootcamp: Episode 6 - Design Patterns: Retrieval...
PDF
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
PPTX
YugabyteDB Developer Tools
PPTX
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
PPTX
Machine Learning Orchestration with Airflow
PDF
Cassandra Lunch 130: Recap of Cassandra Forward Talks
PDF
Data Engineer's Lunch 90: Migrating SQL Data with Arcion
PDF
Data Engineer's Lunch 89: Machine Learning Orchestration with AirflowMachine ...
PDF
Cassandra Lunch 129: What’s New: Apache Cassandra 4.1+ Features & Future
PDF
Data Engineer's Lunch #86: Building Real-Time Applications at Scale: A Case S...
PDF
Data Engineer's Lunch #85: Designing a Modern Data Stack
PDF
Data Engineer's Lunch #83: Strategies for Migration to Apache Iceberg
PDF
Apache Cassandra Lunch 120: Apache Cassandra Monitoring Made Easy with AxonOps
PPTX
Apache Cassandra Lunch 119: Desktop GUI Tools for Apache Cassandra
PPTX
Data Engineer's Lunch #82: Automating Apache Cassandra Operations with Apache...
PPTX
Data Engineer's Lunch #60: Series - Developing Enterprise Consciousness
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
QLoRA Fine-Tuning on Cassandra Link Data Set (1/2) Cassandra Lunch 137
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
Data Engineer's Lunch 96: Intro to Real Time Analytics Using Apache Pinot
NoCode, Data & AI LLM Inside Bootcamp: Episode 6 - Design Patterns: Retrieval...
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
YugabyteDB Developer Tools
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Machine Learning Orchestration with Airflow
Cassandra Lunch 130: Recap of Cassandra Forward Talks
Data Engineer's Lunch 90: Migrating SQL Data with Arcion
Data Engineer's Lunch 89: Machine Learning Orchestration with AirflowMachine ...
Cassandra Lunch 129: What’s New: Apache Cassandra 4.1+ Features & Future
Data Engineer's Lunch #86: Building Real-Time Applications at Scale: A Case S...
Data Engineer's Lunch #85: Designing a Modern Data Stack
Data Engineer's Lunch #83: Strategies for Migration to Apache Iceberg
Apache Cassandra Lunch 120: Apache Cassandra Monitoring Made Easy with AxonOps
Apache Cassandra Lunch 119: Desktop GUI Tools for Apache Cassandra
Data Engineer's Lunch #82: Automating Apache Cassandra Operations with Apache...
Data Engineer's Lunch #60: Series - Developing Enterprise Consciousness

Recently uploaded (20)

PPT
Quality review (1)_presentation of this 21
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
Introduction to Knowledge Engineering Part 1
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PPTX
climate analysis of Dhaka ,Banglades.pptx
PDF
Mega Projects Data Mega Projects Data
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
Launch Your Data Science Career in Kochi – 2025
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPTX
1_Introduction to advance data techniques.pptx
PPTX
Global journeys: estimating international migration
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
Moving the Public Sector (Government) to a Digital Adoption
Quality review (1)_presentation of this 21
Supervised vs unsupervised machine learning algorithms
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Fluorescence-microscope_Botany_detailed content
Introduction to Knowledge Engineering Part 1
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
climate analysis of Dhaka ,Banglades.pptx
Mega Projects Data Mega Projects Data
Clinical guidelines as a resource for EBP(1).pdf
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
Launch Your Data Science Career in Kochi – 2025
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Business Acumen Training GuidePresentation.pptx
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
1_Introduction to advance data techniques.pptx
Global journeys: estimating international migration
Business Ppt On Nestle.pptx huunnnhhgfvu
Moving the Public Sector (Government) to a Digital Adoption

Apache Cassandra Lunch #71: Creating a User Profile Using DataStax Astra and React

  • 1. Version 1.0 Creating a User Profile Using DataStax Astra We will discuss how DataStax Astra can be used as a back- end for a client application and demonstrate connecting to a DataStax Astra database to store user profile details and changes. Josh Barnes Jr. Engineer @Anant
  • 2. DataStax Astra ● Cassandra in the cloud. - Highly Available, Horizontal scaling, distributed. ● Astra provides the ability to use Cassandra-as-a-Service ● “DataStax Astra DB includes guardrails and sets limits to ensure good practices, foster availability, and promote optimal configurations for your databases.” ○ https://docs.datastax.com/en/astra/docs/datastax-astra-database-limits.html ○ Eliminate the overhead to install, operate, and scale Cassandra ● Free to get started. ● Out-of-the-box REST and GraphQL endpoints and browser CQL shell ● Powered by DataStax’s open-source Kubernetes Operator for Cassandra ● Deploy on AWS, GCP, or Microsoft Azure and keep compatibility with open-source Cassandra.
  • 3. Cassandra Data Modeling ● Joins are not allowed. ● Tables created on a per query basis. ○ This means we need to think about the data we want to store and retrieve before we create our tables. ● Primary Keys definitions determine how data will be queried. Image from: https://scotch.io/tutorials/five-steps-to-an-awesome-data- model-in-apache-cassandra
  • 4. User Profile Data Model ● Query to create and a user profile by capturing a username, password, first name, last name, and email. ● A query by username to verify a password. ● A query by a user id to get profile information.
  • 7. Strategy: Scalable Fast Data Architecture: Cassandra, Spark, Kafka Engineering: Node, Python, JVM,CLR Operations: Cloud, Container Rescue: Downtime!! I need help. www.anant.us | solutions@anant.us | (855) 262-6826 3 Washington Circle, NW | Suite 301 | Washington, DC 20037