By The VDash Core Team
Estimated read time: 9 minutes
Welcome back to VDash: Making a New Dash. In Part 1, we deconstructed the legacy dashboard’s limitations. In Part 2, we sketched the ideal user journey and redefined the visual language. Now, in Part 3, we go under the hood.
Creating a “New Dash” isn’t just about rearranging charts or adding dark mode. It’s about rebuilding the circulatory system of your data—while the heart is still beating. Today, we’ll walk you through the three architectural pillars that make VDash’s new engine possible: Real-Time Mesh, Composable Widget Core, and the Edge Cache Fabric.
Let’s open the terminal.
The AQL is the secret sauce of P3. Old dashboards forced you to choose between real-time WebSockets (expensive) or REST polling (slow). The AQL intelligently negotiates with your data sources. If you are looking at a 24-hour rolling average, it polls lazily. If you are watching a live error log stream, it instantly upgrades to a persistent connection. VDash Making A New Dash -P3- learns your viewing habits and optimizes the transport layer without a single line of YAML from the user.
If you are currently running VDash Phase 2 (or earlier), the migration path is surprisingly smooth, but it requires attention to the breaking changes. The VDash CLI now includes a migrate command:
vdash migrate --from v2 --to p3 ./dashboards/
Breaking changes to note:
styles.css files will be ignored. You must convert them to the new theme.toml format.v2/alert endpoint schema.In a perfect world, data streams are flawless. In reality, connections hiccup. A major part of the backend logic was designing the "Timeout Protocol."
If VDash stops receiving data for a specific widget:
| Tier | Location | Freshness Goal | Example Use | |------|----------|----------------|--------------| | L1 | Browser (IndexedDB) | Milliseconds | Chart zooming, pivot actions | | L2 | Cloudflare Workers / Fly.io | < 1 second | Aggregated KPIs, session data | | L3 | Regional cache (Redis Cluster) | < 5 seconds | Historical trends, multi-user sync | VDash Making A New Dash -P3-
The magic is in the orchestration. When you load the New Dash:
During our load tests in Southeast Asia (connecting to primary databases in Virginia), first-load time dropped from 3.2 seconds to 0.4 seconds for a 20-widget dashboard. And the data was never older than 1 second.
The philosophical shift: Speed is a feature of architecture, not of hardware. VDash: Making a New Dash – Part 3: