Backend Development 16 min read

Baidu Guarantee Platform: Architecture and Implementation Practices

The Baidu Guarantee platform provides a three‑layer architecture—data, basic services, and core systems—to enable merchants across Baidu’s ecosystem to enroll, disclose credit, access click records, and process compensation claims, delivering millisecond‑scale query performance and improving conversion through visible guarantee badges.

Baidu Geek Talk
Baidu Geek Talk
Baidu Geek Talk
Baidu Guarantee Platform: Architecture and Implementation Practices

This article provides an in-depth technical overview of Baidu Guarantee (百度保障), a merchant protection platform that provides guarantee services for products and services across Baidu's ecosystem. When users encounter fraud or unfulfilled promises from merchants, they can file compensation claims through the guarantee platform.

Background and Coverage: Baidu Guarantee serves as a fallback solution for handling complaints between merchants and users. It covers major scenarios including search (PC and mobile), e-commerce (B2B and B2C platforms like Aicaigou, Duoxiaodian, Zhaocaimao), feed ads and mini-programs, and vertical sectors like beauty, life services, healthcare, and education.

Business Architecture: The platform consists of three layers: 1) Data layer with merchant data (basic info, deposit, premium guarantee), user data (profile, real-name info), and compensation data (applications, evidence, payment records); 2) Basic services layer including core capabilities, computing fusion, and third-party services; 3) Core systems including unified enrollment, disclosure, access, and compensation systems.

Core Capabilities:

1. Unified Enrollment: Enables merchants to join the guarantee program by paying deposits. Uses token-based authentication to decouple from business account systems. Supports different enrollment dimensions (store ID, account ID) unified into a single deposituserid.

2. Credit Disclosure: Provides high-performance guarantee data query services with 20W+ QPS capacity and 2ms average response time. Uses read-write separation, offline computing, multi-region deployment with MySQL backup, and Go language for parallel processing.

3. Click Record Access: For open-loop compensation scenarios where users complete transactions offline. Uses master-worker architecture with bzWorker for adaptive processing and bzMerge for general storage. Data stored in gaia-x (NewSQL distributed database) and sndb for material information.

4. Compensation Application: Supports two scenarios: open-loop (based on click records) and closed-loop (based on orders). For closed-loop scenarios, uses baoinfo snapshot to track guarantee status throughout order lifecycle, enabling automatic system judgments (e.g., 48-hour shipping verification) and instant payments via mini-programs.

E-commerce Practice: In Xiaodian Youxuan (小店优选), merchants join the guarantee program and display guarantee badges on product pages, significantly improving conversion rates.

e-commerceSystem Architecturebackend architecturePlatform DevelopmentBaiducompensation systemguarantee service
Baidu Geek Talk
Written by

Baidu Geek Talk

Follow us to discover more Baidu tech insights.

0 followers
Reader feedback

How this landed with the community

login 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.