Databases 6 min read

How Tencent's TDSQL‑C Won SIGMOD: Inside the Spitfire Three‑Tier Buffer Manager

Tencent Cloud's TDSQL‑C database technology was selected for the 2021 SIGMOD conference, showcasing its cloud‑native architecture, massive performance gains, and the award‑winning Spitfire three‑tier buffer manager that leverages DRAM, NVM, and simulated annealing for optimal data migration.

Tencent Architect
Tencent Architect
Tencent Architect
How Tencent's TDSQL‑C Won SIGMOD: Inside the Spitfire Three‑Tier Buffer Manager

From June 20‑25, 2021 the SIGMOD conference returned to China, held in Xi’an. ACM SIGMOD is the premier international conference in the database field.

Tencent Cloud’s latest research results were accepted as SIGMOD papers, highlighting the technical innovation of its cloud‑native database TDSQL‑C (formerly CynosDB).

Keynote by Qiu Min

On June 23, Tencent Cloud Database Director Qiu Min delivered a keynote titled “The Evolution of Tencent Database Technologies”, outlining the evolution of Tencent’s database products and focusing on the challenges and innovations of TDSQL‑C.

TDSQL‑C Overview

TDSQL‑C is a distributed, compute‑storage‑separated architecture that is 100 % compatible with MySQL and PostgreSQL. Its instance count has grown over 3400 % year‑over‑year, serving gaming, e‑commerce, live‑streaming, finance and SaaS workloads. The system achieves major gains in latency, scaling, HA and RTO, and supports up to 1 PB storage per instance and 1 M QPS, with a serverless mode.

During the recent 618 shopping festival, TDSQL‑C handled billions of QPS and petabytes of storage, ensuring smooth consumer experience.

SIGMOD‑Selected Paper: Spitfire

The paper “Spitfire: A Three‑Tier Buffer Manager for Volatile and Non‑Volatile Memory” introduces a low‑cost, effective hot‑data identification method that boosts overall system performance and cost‑effectiveness. It proposes a three‑tier buffer manager that keeps hot pages in DRAM, warm pages in NVM, and uses simulated annealing to find the optimal data‑migration strategy.

Implemented in TDSQL‑C, Spitfire improves read performance by over 100 % without significant cost increase, and received high praise from SIGMOD reviewers for its novel integration of NVM hardware with database architecture.

Hardware‑Software Co‑Design

Soft‑hardware co‑design is a core technology of TDSQL‑C, developed together with the Starry Sea Lab, leveraging new storage media, network and compute advances to deliver leading cloud‑native database services.

The architecture diagram above illustrates the multi‑tier buffer hierarchy and the separation of compute and storage in TDSQL‑C.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

cloud-nativedatabasesSIGMODTDSQL-CSpitfirebuffer manager
Tencent Architect
Written by

Tencent Architect

We share technical insights on storage, computing, and access, and explore industry-leading product technologies together.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.