Big Data 9 min read

How a Distributed Big‑Data Architecture Turned Million‑Query‑Per‑Day Account Lookups from Minutes to Milliseconds

The article details how China Postal Savings Bank rebuilt its core account transaction query system with a distributed micro‑service and big‑data stack, achieving millisecond‑level responses for over ten years of data, boosting performance by 700% and enabling new intelligent services.

BanTech Think Tank
BanTech Think Tank
BanTech Think Tank
How a Distributed Big‑Data Architecture Turned Million‑Query‑Per‑Day Account Lookups from Minutes to Milliseconds

Amid rapid digital‑economy growth, banks are shifting from "business support" to "technology‑led" models. The account transaction detail query, handling more than one million daily calls, is a critical "digital mirror" of corporate cash flow, but the legacy centralized architecture could not deliver millisecond‑level responses for massive historical data.

Breakthrough: New Distributed Intelligent Query Architecture

The project followed a "business‑driven, technology‑enabled" principle with four goals—performance boost, data integration, experience optimization, and compliant controllability. By separating compute from query, the system achieved high availability, high performance, and strong security.

Technical Path

A distributed micro‑service architecture provides horizontal scaling for high‑concurrency queries. Leveraging the Apache Spark and Hadoop ecosystem together with Huawei’s GaussDB, the solution overcomes relational‑database limits and forms a complete stack of data services, storage, compute, and system resources. The implementation combined top‑down design with agile sprints to ensure smooth rollout.

Core Innovations

Millisecond‑level retrieval of massive offline data: using Spark/Hadoop, multi‑dimensional indexes, intelligent caching, pre‑computation, and fine‑tuned query optimization, the system can precisely fetch data older than ten years.

Modular, unit‑based architecture that separates compute and storage, organized into data‑service, storage, compute, and resource layers.

Lambda processing architecture in the compute layer delivers a dual‑engine model that blends near‑real‑time low‑latency processing with high‑throughput batch handling, providing elastic scaling based on workload.

Performance Leap

Average response time dropped to under 200 ms—a 700% improvement. Query time span expanded from 31 days to ten years, and maximum returned rows grew from thousands to hundreds of thousands, enabling “one‑click aggregation, instant availability” for over 40,000 branches and dramatically shortening customer transaction processing.

Data Integration

Cross‑departmental effort migrated all historical data since 2008, reviving previously siloed “sleeping” data and creating a continuous lifecycle view that eliminates data gaps and enhances financial traceability.

Experience Enhancements

The system supports flexible ordering (ascending/descending), field‑level selection, and adapts to accounting reconciliation, audit tracing, tax filing, and other scenarios. For sensitive use‑cases such as bidding or judicial queries, a dual‑track masking mode hides details at both record and field levels, balancing efficiency with strict compliance.

Compliance and Risk Control

Optimizing the counterpart ledger architecture resolves complex “one‑to‑many” identification challenges in services like social‑security payroll, embedding precise risk‑control checks directly into business flows and markedly improving due‑diligence accuracy.

Operational Management

Standardized receipt management consolidates hundreds of legacy templates into four unified formats, establishing a cross‑channel receipt system with three‑fold uniformity in format, generation rules, and displayed information. Multi‑dimensional filtering and one‑click PDF generation boost business handling and financial reconciliation efficiency.

Future Outlook

Having successfully launched the next‑generation query function, the bank plans to evolve from precise retrieval to intelligent insight by integrating AI and large‑model technologies, turning the system into a proactive analysis partner that offers deeper financial insights and decision support.

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.

MicroservicesDistributed ArchitectureApache SparkGaussDBfinancial compliancebig data performance
BanTech Think Tank
Written by

BanTech Think Tank

Tracks major fintech trends, focusing on fintech management, technology development, IT operations, information security, indigenous innovation, data governance, and business innovation. Aims to promote integrated industry‑academia‑research‑application development, offering a sharing platform for tech practitioners and valuable insights for institutional decision‑makers.

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.