Visão Geral
Curso Apache Cassandra Foundation, e um banco de dados NoSQL popular. Ele cobrirá os princípios, arquitetura e modelos de dados do Cassandra. Os alunos aprenderão modelagem de dados em CQL (Cassandra Query Language) participando de laboratórios práticos e interativos. Esta sessão também discute os aspectos internos do Cassandra, bem como alguns tópicos administrativos.
Pre-Requisitos
Os participantes da aula devem estar familiarizados com a linguagem de programação Java e com o ambiente Linux (ou seja, navegar na linha de comando, editar arquivos
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico
Introduction to Big Data / NoSQL
- NoSQL overview
- CAP Theorem
- When is NoSQL Appropriate?
- Columnar Storage
- NoSQL Ecosystem
Cassandra Basics
- Design and Architecture
- Cassandra Nodes, Clusters, Datacenters
- Keyspaces, Tables, Rows, Columns
- Partitioning, Replication, Tokens
- Quorum and Consistency Levels
- Labs
Data Modeling
- Introduction to CQL
- CQL Datatypes
- Creating Keyspaces and Tables
- Choosing Columns and Types
- Choosing Primary Keys
- Data Layout for Rows and Columns
- Time to Live (TTL)
- Querying with CQL oCQL Updates
- Collections (list / map / set)
- Labs
Data Modeling
- Creating and Using Secondary Indexes
- Composite Keys – Partition and Clustering
- Time Series Data
- Best Practices for Time Series Data
- Counters
- Lightweight Transactions (LWT)
Data Modeling Labs – Group Design Session
- Multiple Use Cases from Various Domains Are Presented
- Students Work in Groups to Come Up with Designs and Models
- Discuss Various Designs, Analyze Decisions
- Lab: Implement One of the Scenarios
Cassandra Drivers
- Introduction to Java Driver
- CRUD (Create / Read / Update / Delete) Operations Using Java Client
- Asynchronous Queries
- Labs
Cassandra Internals
- Cassandra Design Under the Hood
- SSTables, Memtables, CommitLogoRead/Write Path
- Caching
- Vnodes
Administration
- Hardware Selection
- Cassandra Distributions
- Cassandra Best Practices (Compaction, Garbage Collection)
- Troubleshooting Tools and Tips
- Lab: Install Cassandra, Run Benchmarks
Bonus Lab (If Time Permits)
- Implement a Music Service like Pandora or Spotify on Cassandra
TENHO INTERESSE