Core Documents
A comprehensive guide to Triveni's query-first architecture. Five parts exploring the design principles, technical implementation, and reasoning behind a durable, efficient IoT data pipeline.
Part 1
Query-First Is a Different System Design Goal
Why immediate queryability changes the whole backend shape and pushes design effort into the read path early.
Part 2
Serialization and Storage Layout
How JSON, Protobuf, Arrow, and Parquet affect CPU cost, data shape, and the efficiency of repeated scans.
Part 3
Persistence, Consistency, and Cost
Why raw files are not enough, how table metadata defines truth, and where batching and compaction matter.
Part 4
Caching and Hot Data
How memory, disk, and object storage work together to keep the hot working set fast without breaking correctness.
Part 5
Query Engines and System Fit
How Triveni exposes one query surface while keeping the execution layer flexible for different serving models.