Session 4 — Analytics: Cloud Telemetry Plane¶
Duration: 4 hours
Goal: Understand how four different stores — RisingWave, TimescaleDB, Timestream for InfluxDB, and Iceberg/Athena — serve the same telemetry, what each is best at, and how their in-memory / on-disk / object-store substrates decide freshness and query latency. Compare them live on one dashboard, including managed vs. self-managed hot stores side by side.
Session Overview¶
| Block | Duration | Topic |
|---|---|---|
| Block 1 | 30 min | Storage Tiers Overview |
| Block 2 | 45 min | RisingWave — In-Memory Streaming MVs |
| Block 3 | 60 min | Data Delivery Patterns & Freshness Comparison |
| Block 4 | 45 min | TimescaleDB Continuous Aggregates |
| Block 5 | 45 min | Timestream for InfluxDB (Managed Hot Tier) |
| Block 6 | 30 min | The Four Stores, Side by Side |
| Wrap-up | 15 min | Recap + preview Sessions 5–7 |
Local Tools¶
Session 4 is the first session you drive from your own laptop against the shared EKS cluster. Install these clients before you start:
| Tool | Install (macOS) | Install (Linux) | Used for |
|---|---|---|---|
kubectl |
brew install kubectl |
official docs | All cluster operations |
helm |
brew install helm |
curl … get_helm.sh \| bash |
Operator + connector installs (Block 1) |
psql |
brew install libpq && brew link --force libpq |
apt-get install postgresql-client |
Connecting to RisingWave and TimescaleDB (Blocks 2, 4) |
aws CLI v2 |
brew install awscli |
official docs | Secrets, MSK brokers, update-kubeconfig |
psql isn't PostgreSQL
You only need the PostgreSQL client (psql), not a running server. On macOS the libpq keg provides it without installing a local database — but if you already run PostgreSQL locally, note the port-5432 caveat in Block 4.
Data Freshness Ladder (End State)¶
| Tier | Mechanism | Expected freshness |
|---|---|---|
| Live push (IoT → AppSync) | No database — direct WebSocket push | ~10–80 ms |
| RisingWave MV | Incremental streaming compute (50 ms barrier) | ~300–600 ms |
| TimescaleDB (live scan) | Redpanda Connect 1 s batch + direct query | ~1–3 s |
| Timestream for InfluxDB (managed) | Telegraf flush + on-demand poll | ~1–2 s |
| Iceberg / Athena | Firehose buffering interval + Iceberg commit | tens of s up to ~300 s |