Big Data 18 min read

Xiaomi Data Management and Application Practice: Metadata Platform Construction, Applications, and Future Plans

This article presents Xiaomi's comprehensive data management practice, detailing the design and evolution of its metadata platform, the implementation of full‑domain metadata, real‑time lineage, precise measurement, and the subsequent applications such as data maps, governance, cost control, and quality assurance, while outlining future development directions.

DataFunTalk
DataFunTalk
DataFunTalk
Xiaomi Data Management and Application Practice: Metadata Platform Construction, Applications, and Future Plans

In this talk, Xiaomi shares its experience in data management and application, focusing on the construction of a metadata platform that supports higher‑level services like data maps, governance, cost control, and quality improvement.

The metadata platform is built around three key improvements: achieving full‑domain metadata, real‑time lineage, and precise measurement. Full‑domain metadata expands beyond Hive to include Talos, Doris, Kudu, Iceberg, ES, MySQL and other engines, providing a unified view of data assets.

Technical architecture mirrors Apache Atlas and consists of three layers: a source layer (Metadata Source, Lineage Source, Log Source, Application), an integration layer (Metacat, MQ, API), and a storage layer (MySQL for basic info, Hive for snapshots, JanusGraph for lineage, Elasticsearch for search and audit).

Real‑time lineage is realized by embedding MQ hooks in engines such as Hive, Flink, Spark, and Presto, combined with SQL proxy logs to accurately capture data flow.

Precise measurement aligns data usage statistics with HDFS‑Image storage metrics and SQL audit logs, enabling accurate access counts and cost accounting.

Based on the platform, Xiaomi develops four main metadata applications: data maps (search and lineage), data governance (modeling compliance and completeness), data cost governance (cost analysis loop, unified storage measurement, daily billing, user attribution, and real‑time cost estimation), and data quality (timeliness and content checks, with dimensions of uniqueness, accuracy, completeness, and consistency).

Cost governance has delivered a 40% reduction in data expenses, demonstrated by a comparison of historical, projected, and actual cost curves.

Future plans include tighter production‑guarantee resource scheduling, a long‑term roadmap for metadata health definition and remediation, and business enablement through improved quality, efficiency, and cost visibility.

Overall, the presentation outlines how a robust metadata platform can drive data asset visibility, governance, and optimization across a large‑scale organization.

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.

Cost Optimization
DataFunTalk
Written by

DataFunTalk

Dedicated to sharing and discussing big data and AI technology applications, aiming to empower a million data scientists. Regularly hosts live tech talks and curates articles on big data, recommendation/search algorithms, advertising algorithms, NLP, intelligent risk control, autonomous driving, and machine learning/deep learning.

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.