Put A Database On It!
summary
Builds a tiny time-series database on top of LevelDB and Node, running on a battery-powered BeagleBone device that samples sensors every 75 ms and aggregates to 1-second means (and decimated sums every 10s). Uses an append-only, versioned storage model and Node stream-based aggregations to compute max/min/derivatives in real time. Device demos mostly work (battery ≈ one day); browser replication is planned but fails due to an unreleased bug.
AI-written summary · about
chapters (10)
- 0:00Introduction and welcome
- 1:14What is a database?
- 2:42Internet of Things overview
- 6:58Spanning space and time
- 9:27LevelDB and TimeStreamDB
- 10:29Building the sensor device
- 13:51Live demo of the device
- 17:53Browser-based database replication
- 20:33Live code editing demo
- 23:44Conclusion and thanks
related talks
24mA Real Database Rethink, Introducing LevelDB and NodeJS
22mA Modular Database?
26mTime Series Databases and Web Based Clients: Essential Tools...
43mVersioning, Syncing & Streaming Large Datasets Using DAT + Node
22mDat
43mCreating an IoT Data Layer for Collecting, Storing, Analyzing and Reacting
58mIntroduction to Timeseries Databases
30mCatching Waves with Time-Series Data
