How Bilibili Uses Large Language Models to Solve Big Data Task Failures

This article explains Bilibili's massive data platform architecture, the common reasons offline tasks fail or slow down, and how the company is exploring large‑language‑model‑driven assistants to automatically diagnose and resolve these engineering issues.

DataFunTalk
DataFunTalk
DataFunTalk
How Bilibili Uses Large Language Models to Solve Big Data Task Failures

Background

Bilibili is a video‑sharing platform with massive data volumes; its big‑data platform supports many critical services such as AI and commerce.

The platform follows a "five‑layer integrated" plus "storage‑compute separation" architecture: a distributed file system at the bottom, an intelligent scheduling layer, various compute engines (Spark, Flink, etc.), client tools, and real‑time data streams (Kafka) and OLAP engines (ClickHouse), along with custom tools and CI/CD pipelines.

Every day the platform processes about 270,000 offline tasks, around 20,000 ad‑hoc queries, and roughly 7,000 important real‑time jobs. The support team receives thousands of inquiries weekly, requiring dedicated staff to handle about three person‑days of consulting per small team.

User Problems

For offline computation, users mainly ask two questions: why a task failed and why a task became slow.

Why tasks fail

Kernel defects – upgrades without sufficient testing can cause large‑scale failures.

Dependency component issues – upgrades or bugs in heavily used components break dependent tasks.

Data quality problems – corrupted or malformed data leads to failures.

Other reasons such as memory‑related errors.

Why tasks become slow

Hardware aging – massive storage devices wear out, reducing read/write speed.

Resource scheduling pressure – high user volume and mixed‑deployment mechanisms cause contention during peak periods.

Data distribution issues – data skew or problematic data sets degrade performance.

Diagnosing these failures or slowdowns is complex and time‑consuming, prompting the need for intelligent assistance.

Need for AI‑Driven Assistance

Users typically submit concise, engineering‑focused questions, often just a problem description with a link or screenshot. Automating the analysis of such queries with a large language model can help quickly identify root causes and suggest solutions.

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.

large language modelAI assistanceBilibilibig data platformtask failure
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.