Tools / Apache HertzBeat Interview Questions
What is the difference between the warehouse's real-time and history store?
The hertzbeat-warehouse module keeps two distinct tiers of storage rather than a single store, because dashboards and trend charts need different access patterns.
| Real-time store | History store |
| Holds only the latest snapshot per metric. | Holds the full time-series of past values. |
| Optimized for fast "current value" reads. | Backed by a configured TSDB like VictoriaMetrics or IoTDB. |
| Always available, no extra setup. | Only populated if a TSDB is configured. |
This split is why a dashboard's live status tile can update instantly while historical trend charts depend entirely on whether a TSDB was configured.
More Related questions...