This post summarizes my hands-on tutorial on building a multi-tenant network time-travel application with Arango. Read the full technical walkthrough on Medium.
A device in your customer’s network raises an alert. Something has gone wrong, and your team needs to figure out what changed.
You can see how the device is configured now. But what did it look like before the alert? Was its hostname different? What software was running? Which other devices was it connected to?
These questions become difficult when your systems only show the current state of the network.
What if you could move a slider backward in time and see the network as it existed before the incident?
That’s what I set out to demonstrate with Arango.
The problem with seeing only the current network
Network infrastructure is constantly changing. Devices are reconfigured, software is updated, connections change, and alerts come and go.
A current network view shows what’s connected today, but it doesn’t necessarily tell you what was connected yesterday or what changed before an incident.
You can reconstruct historical state using backups, logs, or versioned records. But recreating an entire network at a particular moment can mean piecing together data from multiple sources.
A temporal graph offers another approach: preserve historical configurations alongside the relationships between devices, software, and alerts, then query the network at a specific point in time.
Rewinding a network with Arango
We built an interactive application using Arango that lets engineers rewind a network and investigate its historical state.
The demo generates data for eight sample customers, all stored in a shared graph.
Here’s the scenario: A device has an open alert. You select the customer, find the affected device, and move the Point In Time slider backward.
As you rewind, alerts that hadn’t occurred yet disappear. Earlier device configurations become visible, including previous hostnames and settings.
You can compare what the device looked like before and after the alert appeared.
Instead of restoring a backup or replaying an event log, you’re querying the historical state directly.
How Arango makes network time travel possible
The application combines several capabilities of Arango.
Versioned documents preserve history. Each device configuration is stored as a separate document with timestamps indicating when it became active and when it was replaced.
Stable graph relationships avoid unnecessary rewiring. Connections attach to fixed proxy nodes rather than individual configuration versions. When a device changes, a new version is recorded without rebuilding its relationships. Software follows the same pattern.
SmartGraphs organize multi-tenant data. A tenantId attribute keeps each customer’s data grouped within the shared cluster, while the application’s queries select the relevant customer.
AQL retrieves the network at a specific moment. A single query selects the device and software versions and alerts that were active at the requested time, returning the corresponding network view.
TTL indexes manage historical data retention. Older versions become eligible for automatic cleanup after their configured retention period, preventing history from growing indefinitely.
Together, these capabilities make it possible to retrieve historical network configurations and their relationships without coordinating separate databases or reconstructing the network from backups.
Where else this approach applies
The demo focuses on network infrastructure, but the underlying pattern applies to other connected systems where historical context matters.
For network operations and incident response, engineers can investigate which configurations were active before an alert.
For cloud infrastructure management, teams could examine changes in resources and their dependencies.
For identity and security systems, a similar model could help reconstruct which access rights and relationships existed at a particular moment.
The common requirement is understanding not just what something looks like now, but how its state and relationships have changed over time.
Explore the full implementation
The full tutorial walks through the data model, environment setup, sample network generation, and interactive time-travel application. It also shows how AQL retrieves the network state for a selected point in time.
The source code is available on GitHub, including the data generator, API, and frontend application.
An alert tells you something happened. A time-aware graph helps you understand what the network looked like when it happened.



