Rolling sensor graph demo with Redis
Build a rolling sensor graph demo with Redis time series data
This guide family shows how to build a compact rolling sensor graph demo backed by Redis time series.
Overview
This use case simulates three sensors that continuously send readings to Redis. A small web dashboard then queries Redis to show:
- A rolling graph of raw readings for each sensor
- Bucket summaries drawn directly under the same time axis
- Bucketed minimum, maximum, and average values
- A short retention window where old samples visibly expire
This makes it a good fit for demonstrating how Redis time series support:
- High-ingest telemetry workloads
- Time-window queries
- Aggregation over fixed buckets
- Short retention periods that bound data size
Available implementations
- redis-py - Build a local Python demo with three rolling sensor graphs, aligned bucket summaries, and visible sample expiration
- Node.js - Build the same rolling sensor graph demo with
node-redisand a local Node.js server - Java - Build the same rolling sensor graph demo with Jedis and a local Java server
- Java (Lettuce) - Build the same rolling sensor graph demo with async and reactive Lettuce APIs
- Go - Build the same rolling sensor graph demo with
go-redisand a local Go server - Rust - Build the same rolling sensor graph demo with
redis-rsand a local Axum server - .NET - Build the same rolling sensor graph demo with StackExchange.Redis and a local ASP.NET Core server
- PHP - Build the same rolling sensor graph demo with Predis and PHP's built-in development server
- Ruby - Build the same rolling sensor graph demo with
redis-rband a local WEBrick server