Customer Story

Tencent Cloud: From Flink to RisingWave for QoS Monitoring

Tencent Cloud replaced their Apache Flink + MySQL architecture with RisingWave for Quality of Service monitoring, achieving dramatically higher throughput while eliminating RocksDB storage costs.

10x+
TPS Improvement
3→1
Systems Consolidated
SQL
Dev Language
0
RocksDB Dependency

The Challenge

What was Tencent's challenge with Flink for QoS monitoring?

Tencent Cloud's Quality of Service monitoring system relied on Apache Flink with MySQL for storage, but experienced significant TPS decline as data volumes scaled. Debugging multiway joins in Flink Java was complex and time-consuming, and mounting RocksDB storage costs added to the operational burden.

The architecture required maintaining three separate systems — Flink for stream processing, MySQL for serving queries, and RocksDB for state management. Every change required specialized Flink Java expertise, making the system difficult to evolve and expensive to operate.

The Solution

How did RisingWave replace Tencent's Flink architecture?

RisingWave unified the streaming, storage, and serving layers into a single system, replacing the three-component Flink+MySQL+RocksDB architecture. PostgreSQL SQL replaced Flink Java for development, and chained materialized views provided clear data lineage throughout the pipeline.

The system integrated natively with Tencent's existing infrastructure — Tencent Kubernetes Engine (TKE) for orchestration and Tencent Object Storage (TOS) for durable state. Chained materialized views replaced complex Flink DAGs with transparent, SQL-based data flow.

Unified system

Single streaming database replaced the three-component Flink + MySQL + RocksDB architecture.

SQL development

PostgreSQL-compatible SQL replaced Flink Java, eliminating the need for specialized streaming expertise.

Chained MVs

Materialized views chain together for clear data lineage and transparent pipeline tracking.

TKE integration

Native integration with Tencent Kubernetes Engine for seamless container orchestration.

TOS storage

Tencent Object Storage provides durable state management without RocksDB overhead.

Zero RocksDB

Eliminated RocksDB dependency entirely, removing associated storage costs and operational complexity.

Results

What results did Tencent achieve?

Tencent achieved a logarithmic leap in TPS performance, eliminated their RocksDB dependency entirely, and consolidated three systems into one. Debugging complexity was dramatically simplified through SQL-based development, and chained materialized views enabled clear data lineage tracking.

MetricBeforeAfter (RisingWave)
TPS performanceDeclining at scale10x+ improvement
Systems maintainedFlink + MySQL + RocksDBRisingWave only
Development languageFlink JavaPostgreSQL SQL
State storage costsMounting RocksDB costsEliminated
Debugging complexityComplex multiway joinsSQL-based, transparent
Data lineageOpaqueChained MV tracking

Simplify Your Streaming Stack

Replace Flink + MySQL + RocksDB with a single streaming database.

Simplify Your Streaming Stack →
Best-in-Class Event Streaming
for Agents, Apps, and Analytics
GitHubXLinkedInSlackYouTube
Sign up for our to stay updated.