The Pop-up store is using Redis Streams, RedisTimeSeries, RedisGears and Redis plugins to visualize data pipeline in Grafana.
- Node.js script adds random data to Customers and Orders streams
- RedisGears is using
StreamReader
to watch allqueue:
keys and adding Time-Series samples - Another RedisGears script completes orders
- adding data to
queue:complete
stream - deleting client's ordering
- decreasing product amount
- trimming Orders queue
- adding data to
- Grafana query streams and Time-Series keys every 5 seconds to display samples using Grafana plugins.
Demo is available on demo.volkovlabs.io:
npm run start
Open Grafana Dashboard using browser http://localhost:3000
To start redis-cli
and look at the keys please run
npm run redis-cli