Zero-Friction Data for Autonomous Agents
Save the date for our next livestream
Tencent Logo (light or dark mode)

Streamlining infrastructure monitoring

Industry: Technology

Tech stack simplification: from 9 backend tools to 1

Tencent integrated SurrealDB to unify its infrastructure monitoring stack. By leveraging SurrealDB's native graph capabilities, versioned data, and built-in analytics, Tencent replaced a fragmented system with a scalable, real-time monitoring platform.

Key challenges

FRAGMENTED TOOLCHAIN

Monitoring data lived across MySQL, Elasticsearch, Victoria Metrics, MongoDB, Doris, Trino, Rising Wave, Flink, and Dgraph.

HIGH OPERATIONAL COSTS

Analysts struggled to pick the right storage or compute engines, increasing the platform team's maintenance burden.

LIMITED REAL-TIME ANALYTICS

Existing solutions lacked built-in graph views or recursive traversal for system relationships and time-based state transitions.

MASSIVE LOG VOLUMES

Scaling ingestion and queries for millions of time-series logs per day proved challenging.

Solutions

GRAPH-FIRST MODELLING

Infrastructure components were modelled as graph nodes with edge-based relationships, enabling recursive traversal to trace event causality.

VERSIONED TIME-SERIES DATA

Snapshots and change-logs were stored using complex record IDs for efficient time-travel queries and temporal filtering.

PRE-COMPUTED VIEWS

Aggregated metrics were persisted into table views, reducing dashboard query latency and aiding policy enforcement.

LIVE MONITORING

Implemented LIVE SELECT on log tables for real-time alerts and diagnostics without polling.

Results

UNIFIED DATA LAYER

1 SYSTEM

SurrealDB replaced separate time-series, document, and graph stores, simplifying the stack.

CONSISTENT LOW-LATENCY ACCESS

↓ LATENCY

Provided both historical snapshots and real-time streams from a single system.

SCALABLE LOG INGESTION

↑ LOGS/DAY

Compound record keys and range filters handled millions of logs per day without schema changes.

REAL-TIME ALERTS

INSTANT

Live queries powered alerting and UI refreshes, improving operational responsiveness.

Why SurrealDB?

SurrealDB's graph-native engine, versioned record access, complex IDs, record ranges, and LIVE SELECT queries provided Tencent with a unified and scalable foundation for infrastructure analytics and live telemetry.

Get in touch to learn more →