Skip to main content
  1. Posts/

From HyperDB to LightDB: The Four Routes of Proprietary In-Memory Databases in Securities Core Trading Systems

Table of Contents

📌 Core Argument The Xinchuang (Domestic IT Substitution) transformation of securities core trading systems has spawned four routes of proprietary in-memory databases: Apex HyperDB (the nuclear weapon for De-Oracle), Kingstar KMDB (the low-latency platform component), Hundsun UFT-MDB/LightDB (the Agile-Stable Bimodal dual engines), and HuaRui AMI (the ultra-fast trading memory computing platform).

These four routes are not simply about which technology is superior; rather, they represent different vendors’ answers to the fundamental question: “What data architecture should the core trading system use?” Understanding these four routes means understanding all the technical options for the Xinchuang substitution in the securities core trading systems over the next five years.


I. Background: Why Do Securities Core Trading Systems Need Proprietary In-Memory Databases?
#

1.1 Bottlenecks of the Traditional Architecture
#

Securities core trading systems have long relied on Oracle databases + centralized architectures. With the explosive growth in trading volumes (trillion-level daily turnover in A-shares), the rise of quantitative trading (microsecond-level latency requirements), and the approaching Xinchuang deadline (100% substitution by 2027), the traditional architecture faces a triple dilemma:

  • Performance Bottleneck: Disk I/O has become the throughput ceiling; millisecond-level latency cannot meet the demands of ultra-fast trading.
  • Cost Bottleneck: Oracle licensing fees are exorbitant, and IBM mainframe/minicomputer O&M costs remain high.
  • Xinchuang Bottleneck: Oracle is not on the Xinchuang catalog; domestic alternatives must be found.

1.2 The Breakthrough of In-Memory Databases
#

In-memory databases load all data into memory, eliminating disk I/O and achieving microsecond-level read/write speeds. However, financial-grade in-memory databases face three major challenges:

  • Data Consistency: Memory is volatile; how to guarantee no data loss during a power outage?
  • High Availability: How to achieve seamless failover when a single node fails?
  • SQL Compatibility: How to be compatible with existing Oracle business logic?

Different vendors have provided different answers, forming four distinct routes.


II. Panorama of the Four Routes
#

RouteRepresentative ProductVendorCore PositioningLaunch TimeRepresentative Case
Route 1: De-Oracle ReplacementHyperDB (“Feichi”)Apex SoftwareCore database base to completely replace OracleR&D started 2013, matured 2018Soochow Securities (First De-Oracle in 2020)
Route 2: Platform ComponentKMDBKingstarIn-memory storage component of the KOCA-LDP low-latency platformKOCA-LDP V2.0 (2023)Huaxing Securities FS2.5 Full-stack Xinchuang
Route 3: Agile-Stable Dual EnginesUFT-MDB + LightDBHundsunDual-track parallel: In-memory trading engine + Distributed database2020 (UF3.0 released)China Merchants Securities (Millions-level client switchover)
Route 4: Ultra-Fast SpecialistAMI Memory Computing PlatformHuaRui TechMemory message and computing platform for ultra-fast trading scenarios2018 (ATP released)Multiple quant private funds, broker ultra-fast counters

III. Deep Dive into the Four Routes
#

3.1 Route 1: Apex HyperDB — The Nuclear Weapon for De-Oracle
#

Positioning: The core database base for A5/LiveDTP, with the goal of completely replacing Oracle.

Architectural Philosophy: Compute-Storage Separation + Active-Active

Client Request → LiveDTP Distributed Low-Latency Middleware → HyperDB In-Memory DB (Trading Core)
                                                                Open-source RDBMS (Persistence)

Technical Features:

  • Proprietary Kernel: R&D started in 2013, achieving full proprietary status after 5 years of integration.
  • Active-Active Architecture: The A5 core trading domain is based on a distributed in-memory database, adopting an active-active setup.
  • Transaction Sync: Memory employs transaction synchronization technology to ensure data consistency.
  • ARM Optimization: On ARM platforms, query capability surpasses Intel platforms.
  • Inherent Xinchuang: HyperDB inherently possesses Xinchuang attributes.

Key Achievements:

  • Went fully live at Soochow Securities in 2020, achieving the securities industry’s first “De-Oracle.”
  • The A5 Xinchuang edition is the industry’s only fully live, full-business distributed core trading system.
  • Deployed in hundreds of critical low-latency trading application nodes across dozens of financial institutions.

Representative Cases: Soochow Securities, Donghai Securities, Huabao Securities, Maiqiao Securities, A5 Max head brokerage hundreds-of-millions client migration.

3.2 Route 2: Kingstar KMDB — The Storage Engine for the Low-Latency Platform
#

Positioning: One of the four foundational components of the KOCA-LDP low-latency platform, working in synergy with KGMS, HARE, and KGBP.

Architectural Philosophy: Platform Synergy + Full-Scenario Coverage

Client Request → KGMS Unified Access Gateway → HARE High-Speed Message Bus → KGBP Trading Middleware
                                                                                 KMDB In-Memory DB
                                                                              Async Physical DB Sync

Technical Features:

  • Microsecond/Nanosecond Response: Achieves microsecond or even nanosecond-level data operation responses.
  • Zero-Lookup, Zero-Data-Copy: Upgraded to improve query concurrency and reduce blocking.
  • SQL Execution Engine: Features traditional database data consistency guarantees and SQL execution engine capabilities.
  • Master-Slave Replication + Async Sync: Supports multiple highly reliable operating modes.
  • OLTP + OLAP Dual Scenarios: Simultaneously supports Online Transaction Processing and Online Analytical Processing.

Key Achievements:

  • KOCA-LDP overall end-to-end latency is 1.1 μs; KMDB business penetration is <1 μs.
  • FS2.5 >50% overall project coverage in TOP 10 head brokerages.
  • KMDB not only serves as a core foundational component for FS2.5 and A8 but has also been successfully output externally.

Representative Cases: CICC Wealth, Huaxing Securities (Industry’s first full-stack Xinchuang single-track complete counter), SWS, Ping An Securities, Galaxy MTA.

3.3 Route 3: Hundsun UFT-MDB + LightDB — Agile-Stable Dual Engines
#

Positioning: Under Hundsun’s UF3.0 “Bimodal IT (Agile and Stable)” architecture, the in-memory trading engine (UFT-MDB) handles ultra-fast trading, while the distributed database (LightDB) handles persistence and general business.

Architectural Philosophy: Dual-Track Parallel + Agile-Stable Separation

Stable Mode (Secure & Stable): LightDB Distributed DB (Accounts, Clearing, Risk Control)
Agile Mode (Rapid Iteration): UFT-MDB In-Memory DB (Trading Core)

Technical Features:

  • UFT-MDB: Core processing latency <50 μs; single-node pure order throughput 150,000 TPS.
  • LightDB: Financial-grade distributed database, supporting OLTP and OLAP fusion, featuring high SQL compatibility, elastic capacity scaling, and financial-grade high availability.
  • Agile-Stable Bimodal: Trading and clearing are the stable mode; accounts and operations are the agile mode. The two types of databases perform their respective duties.
  • Full-Stack Xinchuang: Completed full-stack Xinchuang adaptation from chips and servers to databases.

Key Achievements:

  • UF3.0 has gone live in 11 brokerages; China Merchants Securities completed a full switchover for millions of clients.
  • Founder Securities achieved the industry’s first full-stack Xinchuang for in-memory trading.
  • Overall processing capacity increased by 70 times compared to the previous generation.

Representative Cases: China Merchants Securities (Millions-level client switchover), Orient Securities (Full-client, full-business launch), Founder Securities (First in-memory trading full-stack Xinchuang), Caixin Securities (First identical-structure options in-memory trading).

3.4 Route 4: HuaRui AMI — The Memory Computing Platform for Ultra-Fast Trading
#

Positioning: The core infrastructure of HuaRui’s ATP distributed ultra-fast trading platform, focusing on memory messaging and computing for ultra-fast trading scenarios.

Architectural Philosophy: Native Distributed + Low-Latency Message Bus

Client Request → AMI Memory Message Bus (Distributed, Agentless, Microsecond-level)
                 AMI Memory Computing Engine (Order Processing, Risk Control, Quotes)

Technical Features:

  • AMI Memory Message Bus: End-to-end latency <1 μs; supports reliable multicast and unicast.
  • Full-Stack Proprietary: Completely self-developed from the message bus to the memory computing engine.
  • Hardware Acceleration: Supports RDMA, FPGA, and other acceleration technologies.
  • Distributed Architecture: Supports horizontal scaling with no single point of failure.

Key Achievements:

  • Over 100 ATP online production systems.
  • Outstanding performance advantages in the quantitative and high-frequency trading segments.
  • Used by multiple head brokerages for ultra-fast counters and algorithmic trading systems.

Representative Cases: Ultra-fast trading counters of multiple head brokerages, quantitative private fund trading systems.


IV. Four-Dimensional Deep Comparison
#

4.1 Positioning & Architectural Role
#

DimensionHyperDBKMDBUFT-MDB + LightDBAMI
Product FormIndependent in-memory DB productPlatform componentDual engines (In-Memory DB + Distributed DB)Memory computing platform
Architectural RoleCore DB replacing OracleKOCA-LDP storage componentAgile in-memory engine + Stable distributed DBUltra-fast trading message & computing platform
External IndependenceHigh (Can be deployed independently)Medium (Requires synergy with HARE, etc.)High (LightDB can be used independently)Medium (Requires ATP platform)
Target ScenarioCore trading domainFull scenarios (Trading, clearing, quotes)Agile-Stable separation (Trading + Accounts)Ultra-fast trading, quantitative orders

4.2 Architectural Philosophy
#

DimensionHyperDBKMDBUFT-MDB + LightDBAMI
Core ConceptCompute-Storage Separation + Active-ActivePlatform Synergy + Full ScenariosBimodal IT + Dual EnginesNative Distributed + Ultra-Fast
Data ConsistencyTransaction synchronizationMaster-slave replication + Async syncUFT-MDB memory sync + LightDB strong consistencyMessage bus ordering guarantee
High AvailabilityActive-Active + Master-SlaveMultiple highly reliable modes5-layer high availability schemeMulti-replica + Auto failover
SQL SupportExpected (Not explicitly disclosed)Features SQL execution engineLightDB full SQLNot supported (KV interface)
PersistenceHyperDB + Open-source RDBMSAsync physical DB syncLightDB native persistenceAsync disk drop + Logs

4.3 Performance Metrics
#

MetricHyperDBKMDBUFT-MDBAMI
Core Processing LatencyMicrosecond-level (HTS verified)<1 μs (Business penetration)<50 μs<1 μs
End-to-End LatencyNot separately disclosed1.1 μs (HARE)Not separately disclosed<1 μs
Single-Node ThroughputMillions of TPSMillions of TPS150,000 TPS (Pure orders)Millions of TPS
Performance LeapOrder-of-magnitude vs OracleOrder-of-magnitude vs traditional DBs100x vs traditional physical DBsOrder-of-magnitude vs traditional middleware

4.4 Xinchuang Path
#

DimensionHyperDBKMDBUFT-MDB + LightDBAMI
Xinchuang StrategyEntry point: De-OraclePlatform native XinchuangFull-stack Xinchuang adaptationNative Xinchuang
De-Oracle Time2020 (Industry first)Overall replacement via FS2.5Overall replacement via UF3.0Does not rely on Oracle
ARM AdaptationQuery capability surpasses x86Fully supportedSupportedSupported
Xinchuang Cert.Huawei Kunpeng Xinchuang VIP AwardIndustry Xinchuang awardsMIIT Xinchuang certificationNot explicitly disclosed

4.5 Applicable Scenarios
#

ScenarioRecommended RouteReason
Thorough De-Oracle, Compute-Storage SeparationHyperDBIndustry’s first verified feasible De-Oracle solution
Low-Latency Platform Full-Scenario CoverageKMDBSynergizes with HARE, etc., covering trading/clearing/quotes
Agile-Stable Separation, Smooth Legacy EvolutionUFT-MDB + LightDBDual-engine design, compatible with legacy ecosystem
Ultra-Fast Trading, Quantitative Order SpecialistAMIMicrosecond-level message bus, king of the ultra-fast track
SME Brokerages Low-Cost XinchuangHyperDB or KMDBSimple architecture, controllable deployment costs
Head Brokerages Full-Stack XinchuangUFT-MDB + LightDB or KMDBVerified millions-level client migration

V. Selection Perspective: Which Route to Choose for Which Scenario
#

5.1 Selection Decision Tree
#

What is your primary goal?
├── Thorough De-Oracle (Oracle Replacement)
│   └── Apex HyperDB (A5 Route)
├── Ultra-Fast Trading (Quantitative, High-Frequency)
│   └── HuaRui AMI (ATP Route)
├── Full-Stack Xinchuang + Low-Latency Platform Synergy
│   └── Kingstar KMDB (FS2.5 Route)
└── Smooth Legacy Evolution + Bimodal IT (Agile-Stable)
    └── Hundsun UFT-MDB + LightDB (UF3.0 Route)

5.2 Core Trade-offs of the Four Routes
#

RouteBiggest AdvantageBiggest ShortcomingBest Suited For
HyperDBThorough De-Oracle, industry benchmarkRelatively closed ecosystem (Apex system)Apex A5 legacy clients, pursuing pure De-Oracle
KMDBStrong platform synergy, full-scenario coverageRelies on the overall KOCA-LDP architectureKingstar FS2.5 clients, head brokerages building new Xinchuang counters
UFT-MDB + LightDBFlexible dual engines, good legacy compatibilityComplex architecture, high dual-DB O&M costsHundsun UF2.0 legacy clients, millions-level client migration
AMIStrongest ultra-fast performance, leads in quant trackNarrow scenarios (Not suitable for general business)Quantitative private funds, broker ultra-fast counters

VI. Future Evolution: The Convergence Trend of the Four Routes
#

6.1 Common Directions
#

  • AI Native: All routes are exploring integrating AI capabilities (intelligent risk control, intelligent routing) into in-memory databases.
  • Cloud Native: Containerization and Kubernetes deployment are becoming standard.
  • Hardware Acceleration: FPGA, RDMA, and DPU are becoming key means for performance improvement.
  • Deepening Xinchuang: From “adaptation” to “native” — new versions will be developed directly based on domestic chips and operating systems.

6.2 Differentiated Evolution
#

  • HyperDB: Continue to deepen ARM optimization, exploring an integrated solution of “in-memory database + smart NIC.”
  • KMDB: Evolve from a component to a platform, potentially becoming an independent “KOCA-MDB” product line to enhance external output capabilities.
  • UFT-MDB + LightDB: Dual-engine fusion; LightDB absorbs in-memory computing capabilities, while UFT-MDB enhances persistence.
  • AMI: Expand from ultra-fast trading to real-time risk control and real-time clearing, broadening scenarios.

VII. Conclusion: Four Routes, One Goal
#

Back to the core question at the beginning: From HyperDB to LightDB, what are the four routes of proprietary in-memory databases in securities core trading systems really competing for?

💡 It’s not about “who is faster,” but “who is more suitable for your brokerage.” The four routes represent four different architectural philosophies:

  • HyperDB represents “autonomous and controllable at the database layer” — proving that domestic in-memory databases can completely replace Oracle.
  • KMDB represents “autonomous and controllable at the platform layer” — proving that domestic low-latency platforms can achieve microsecond-level performance and fully support Xinchuang.
  • UFT-MDB + LightDB represents “the engineering wisdom of Bimodal IT” — proving that a dual-engine architecture can balance legacy compatibility with ultra-fast innovation.
  • AMI represents “focus on the ultra-fast track” — proving that achieving perfection in a niche scenario is also a valid route.

A Consensus:

📌 Author’s Note: There is no absolute superiority among these four routes, only differences in applicable scenarios. Apex HyperDB is the “nuclear weapon for De-Oracle,” suitable for brokerages pursuing complete liberation from Oracle; Kingstar KMDB is the “storage engine for the low-latency platform,” suitable for brokerages choosing the KOCA-LDP route; Hundsun UFT-MDB + LightDB is the “Agile-Stable Bimodal dual engines,” suitable for Hundsun legacy clients for smooth evolution; HuaRui AMI is the “king of ultra-fast trading,” suitable for quantitative and high-frequency trading scenarios.

By the 2027 Xinchuang deadline, all four routes will become viable choices for the Xinchuang substitution of brokerages’ core trading systems. What they are driving together is the historic leap of China’s securities core trading systems from “IOE dependency” to “full-stack Xinchuang.” And the ultimate winner of this leap is not a single route, but the overall capability of China’s FinTech autonomous and controllable strategy — when HyperDB replaces Oracle at Soochow Securities, when KMDB achieves full-stack Xinchuang single-track operation at Huaxing Securities, when UFT-MDB supports millions of clients at China Merchants Securities, and when AMI achieves microsecond-level trading at quantitative private funds, the “heart” of China’s securities core trading systems will finally be beating to the rhythm of China’s own code.


Appendix: Quick Reference Table for the Four Routes
#

DimensionApex HyperDBKingstar KMDBHundsun UFT-MDB + LightDBHuaRui AMI
Product FormIndependent in-memory DBPlatform componentDual enginesMemory computing platform
Core PositioningDe-Oracle nuclear weaponLow-latency platform storage engineBimodal IT dual enginesUltra-fast trading king
Launch TimeR&D 2013, matured 2018KOCA-LDP V2.0 (2023)2020 (UF3.0 released)2018 (ATP released)
Core LatencyMicrosecond-level<1 μs (Business penetration)<50 μs<1 μs
Arch. PhilosophyCompute-Storage Separation + Active-ActivePlatform Synergy + Full ScenariosBimodal IT + Dual EnginesNative Distributed + Ultra-Fast
SQL SupportExpectedFeatures SQL execution engineLightDB full SQLNot supported (KV interface)
High AvailabilityActive-Active + Master-SlaveMultiple reliable modes5-layer HA schemeMulti-replica + Auto failover
Xinchuang StrategyDe-Oracle entry pointPlatform native XinchuangFull-stack Xinchuang adaptationNative Xinchuang
ARM AdaptationQuery capability surpasses x86Fully supportedSupportedSupported
Representative CaseSoochow Sec. (First De-Oracle)Huaxing Sec. (Full-stack single-track)CMS (Millions-level switchover)Multiple quant private funds
Best ScenarioThorough De-Oracle, Apex A5 ecosystemKingstar FS2.5 ecosystem, full scenariosHundsun legacy clients, Agile-Stable separationUltra-fast trading, quantitative orders

💡 Further Reading & Interaction

Would you like me to write 《Three Paths for Xinchuang Substitution of Securities Core Trading Systems: Heterogeneous Replacement, Legacy Upgrade, Dual-Track Parallel》 next? Or perhaps switch angles to 《From Oracle to Proprietary In-Memory Databases: A Practical Guide for Database Migration in Securities Core Trading Systems》?

Both can dig deeper from the in-memory database route comparison in this article, linking “Technical Routes” to “Migration Paths” and then to “Practical Implementation,” completing the full Xinchuang implementation spectrum. Let me know your choice in the comments!

Related