This article explains Elasticsearch's logical and physical design, how documents are structured and indexed, the role of shards and replicas, and provides practical examples of indexing, searching, aggregations, and retrieving documents using RESTful APIs.
DiDi’s unified, distributed pricing platform delivers accurate pre‑trip estimates, real‑time billing, and detailed invoices across multiple ride‑hailing and bike‑sharing services by leveraging a stateless core engine, flexible Apollo‑based configuration, modular micro‑services, high‑availability data stores, and open‑pricing/price‑rights mechanisms to ensure stability, accuracy, and rapid feature rollout.
Backend EngineeringPrice OptimizationPricing System
Elasticsearch combines Lucene’s inverted index with a distributed cluster of master‑eligible, data, and coordinating nodes, using Zen discovery for node election and split‑brain prevention, while indexing writes to primary shards, replicating to replicas, storing immutable segments that are periodically merged for efficient search.
This article walks through the step‑by‑step evolution of a Java‑based e‑commerce system—from a single‑server monolith to a fully distributed architecture with load balancing, read/write separation, caching, sharding, and service decomposition—highlighting the motivations, challenges, and key design decisions at each stage.
NetBank, a cloud-first digital bank, has progressed from a basic cloud infrastructure to a multi-active, cloud-native distributed architecture, detailing the motivations, challenges, and benefits such as improved scalability, cost efficiency, security, and operational agility for financial services.
This article walks through the step‑by‑step evolution of a Java‑Web e‑commerce system—from a single‑server monolith to clustered services, read‑write separation, search integration, caching, sharding, and finally service decomposition—highlighting the architectural decisions and challenges at each stage.
This article explains how JD Cloud’s JCHDB, built on ClickHouse, achieves millisecond‑level queries on billions of rows through columnar storage, distributed multi‑master architecture, SIMD vector engine, sparse indexing, and specialized table engines, and outlines the ideal use cases and deployment details.
The article outlines G Bank’s transition from a single‑threaded commercial monitoring solution to a self‑developed, open‑source based alert system that leverages Akka for parallel collection, Apache Dubbo for distributed processing, and Apache Ignite for in‑memory storage, achieving million‑level alert capacity, sub‑100 ms latency, and linear scalability.
ElasticSearch achieves distributed search by organizing data into indices, types, mappings, documents, and fields, splitting indices into primary and replica shards across multiple nodes, with automatic master election and shard allocation, enabling horizontal scaling, high availability, and improved performance for large‑scale data workloads.
The article explains the fundamental role of operating systems in managing hardware resources, scheduling tasks, and isolating applications, then provides a detailed analysis of Huawei's HarmonyOS—including its distributed architecture, microkernel design, deterministic latency engine, high‑performance IPC, unified IDE, and the Ark Compiler—highlighting how these features aim to create a seamless, multi‑device software ecosystem.
This article explains why deep pagination in Elasticsearch leads to high CPU usage, introduces core concepts such as indices, shards, nodes, and documents, and details the distributed CRUD operations, query and fetch phases, and segment management that affect search performance.
Deep PaginationElasticsearchdistributed architecture
This article provides a comprehensive overview of Druid, an open‑source, distributed, column‑store system for real‑time analytics, detailing its features, limitations, typical use cases, core components, external dependencies, data flow, and high‑availability mechanisms.
The 2020 Tencent Advertising Algorithm Contest has launched a series of live training sessions to help participants master the TI-ONE and Angel platforms, featuring expert demonstrations on May 15th.
Algorithm CompetitionAngel deep learning engineTI-ONE platform
This article provides a detailed comparison of Solr 7.3 and Elasticsearch 7.4, covering their shared Lucene foundation, distributed architecture, feature sets, configuration approaches, storage options, shard management, and ecosystem differences to help readers choose the right search platform for their needs.
The article examines the challenges of traditional SOA and microservice architectures in large enterprises, proposes a distributed multi‑center integration model that combines traditional services with microservices, emphasizes security, scalability, and data redundancy, and outlines the roles of capability centers, open platforms, and routing components within a cloud‑native environment.
This article explores how to design a high‑concurrency ticket‑booking service capable of handling millions of simultaneous requests by combining distributed load‑balancing, Nginx weighted round‑robin, Go micro‑services, and Redis atomic inventory management, complete with code samples and performance benchmarks.
This article explains why and when to split databases, compares vertical and horizontal sharding methods, outlines practical steps for determining split mode, fields, rules and quantity, and discusses scaling, read/write separation, and common challenges with solutions.
This article reviews the historical evolution, market size, and technical advantages of relational databases, explains the shift from centralized to distributed architectures, and highlights OceanBase's recent breakthroughs and community events as a modern distributed relational solution.
The article describes how a traditional monolithic ERP system can be transformed into a scalable, high‑performance solution by splitting functional modules into independent micro‑services, using separate databases, adopting distributed transaction patterns, and optionally adding a dedicated reporting subsystem.
This article explores the challenges of massive ticket‑buying spikes during holidays, explains the multi‑layer load‑balancing architecture, presents Go and Nginx configurations for weighted routing, demonstrates Redis‑based pre‑deduction of stock with Lua scripts, and shares stress‑test results showing thousands of requests per second on a single node.
This article analyzes the 12306 ticket‑spike scenario, presents a distributed high‑concurrency architecture with layered load balancing, compares order‑creation strategies, demonstrates local and remote stock deduction using Go and Redis, and validates performance with ApacheBench testing.
The article details eBay's 2018‑2020 design, performance testing, and fault‑tolerance architecture of a next‑generation core accounting system capable of handling millions of transactions per second, covering system goals, multi‑region deployment, event‑sourcing, Raft consensus, scalability optimizations, and the planned open‑source release.
This article summarizes the key concepts, advantages, and practical implementations of distributed architecture at Ant Financial, covering microservice migration, modular development, database vertical and horizontal sharding, high‑availability mechanisms, gray‑release, and fault‑tolerant settlement workflows.
High AvailabilityService Governancedatabase sharding
This article walks through the complete evolution of a legacy monolithic database system to a distributed MySQL architecture, covering background analysis, four migration phases, eight concrete strategies—including functional transfer, system splitting, horizontal scaling, read/write separation, and performance tuning—while providing code examples, benchmark results, and deployment considerations.
This article details Industrial and Commercial Bank of China's multi‑year journey from a monolithic mainframe‑based DB2 system to a high‑availability, container‑enabled MySQL distributed architecture, covering the challenges, strategic choices, technical stack, implementation phases, performance gains, cost reductions and future directions.
The article details MyBank's adoption of a unitized microservice architecture built on OceanBase and SOFAStack, describing its multi‑region active‑active deployment, service layering and splitting, full‑link stress testing, one‑click disaster recovery, and the shift toward cloud‑native Service Mesh to support massive financial workloads.
The article analyzes QQGame’s room‑entry failures caused by massive concurrent users, explores the limits of client‑side data synchronization, and proposes a scalable backend architecture using region‑based partitioning, autonomous server processing, and distributed database sharding to achieve high availability and data consistency.
This article details how PICC Life Insurance designed and implemented a distributed microservices platform using Spring Cloud, Apollo, ELK, and DevOps pipelines to improve performance, reliability, and development efficiency, illustrating the architecture, technology stack, CI/CD process, and operational benefits.
This article outlines the progressive evolution of large‑scale web architectures—from monolithic mainframe‑style deployments to separated application and database servers, clustering, load balancing, read/write splitting, search integration, caching, sharding, and finally micro‑service decomposition—illustrated with a simple Java‑based e‑commerce example.
The article provides a comprehensive technical overview of OceanBase Cloud Platform (OCP) 2.0, detailing its redesigned architecture, reduced deployment complexity, high‑availability features, unified resource scheduling, monitoring, diagnostics, and how these innovations address infrastructure and business challenges while lowering costs.
The article examines how enterprises can combine traditional service systems with micro‑services by adopting a distributed multi‑center architecture, emphasizing versioning, non‑intrusive integration, security constraints, partitioned ESB clusters, data redundancy, and cloud‑native deployment to achieve a balanced, scalable, and secure service ecosystem.
Service Integrationdistributed architectureenterprise architecture
This article describes Ctrip's automated web vulnerability detection system, detailing the shift from active to passive scanning, the distributed architecture using traffic mirroring, message queues, Redis, and MySQL, and the processes for data collection, de‑duplication, scanning, and vulnerability management.
This article explores how a web system can evolve from handling 100,000 daily visits to over 100 million by implementing multi‑layered load‑balancing strategies, optimizing MySQL with indexing and connection pooling, leveraging Redis and cache clusters, and employing geographic distribution and disaster‑recovery techniques to ensure performance and reliability.
This article describes Ctrip's challenges with web security, evaluates hardware and commercial cloud WAF shortcomings, and presents a low‑cost, low‑risk cloud‑based WAF solution that leverages DNS redirection, closed‑loop rule management, Lua/Tengine deployment, supervised machine‑learning log analysis, and big‑data streaming for real‑time threat detection and mitigation.
The article explains how a layered application performance management solution—covering server resources, network links, application components, and business metrics—helps e‑commerce platforms detect and resolve high‑concurrency issues during peak shopping events such as Double‑11.
Meituan’s food‑delivery order platform evolved from a simple monolithic prototype in 2013 to a distributed, highly available service that now handles tens of millions of orders daily, using asynchronous processing, sharding, multi‑data‑center deployment, and automated operations to achieve sub‑150 ms transaction latency and 99.9999% uptime.
This article explains how WeChat redesigned its red‑packet system for the 2016 Chinese New Year, detailing north‑south data separation, multi‑layer caching, asynchronous settlement, high‑concurrency controls, sharding strategies and graceful degradation to handle billions of red‑packet requests.
This article explains Meizu's cloud synchronization system, detailing its custom MZ‑SyncML, Semi‑Sync, File‑Sync and One‑Sync protocols, the multi‑IDC deployment, routing components, data format optimizations, and modular backend architecture that together support millions of users with high availability and efficient data transfer.
The article examines the fundamentals of message‑based distributed architecture, explains core messaging patterns such as Message Channel, Publisher‑Subscriber and Message Router, and provides practical application scenarios, technology‑selection criteria, and challenges for building robust enterprise integration solutions.
This article explains the design of a distributed, real‑time price‑update service that handles massive product data, combines query‑driven crawling, observer‑pattern notifications, and multiple data sources to keep e‑commerce price and inventory information fresh within minutes.
The article reviews Ctrip’s multi‑year technology journey, detailing its shift to distributed architecture, OpenStack‑based private cloud, custom asynchronous messaging, large‑scale search, security analytics, and mobile innovations, illustrating how strategic technical choices supported its dominance in online travel.