Tagged articles

order management

51 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Sep 25, 2026 · Backend Development

How One SQL Statement Solves the Order Closure vs Payment Callback Race

This article demonstrates how to prevent race conditions between order timeout closure and payment callbacks using atomic conditional UPDATE statements and SELECT FOR UPDATE with a refund outbox pattern, ensuring either payment wins and order becomes PAID, or closure wins and late payments trigger automatic refund compensation.

InnoDBMySQLSpring Boot
0 likes · 11 min read
How One SQL Statement Solves the Order Closure vs Payment Callback Race
Tech Ocean
Tech Ocean
Sep 3, 2026 · Backend Development

AI Coding Is Nearly Free — Why Does Delivery Still Cost So Much?

The article argues that while AI tools like Claude Code accelerate initial code generation, the real engineering effort lies in defining failure states, untangling legacy systems, ensuring idempotency, rigorous testing, safe rollbacks, and post-launch observability — illustrated through an order resubmission feature that requires six non-negotiable steps before production.

AI codingObservabilitybackend engineering
0 likes · 12 min read
AI Coding Is Nearly Free — Why Does Delivery Still Cost So Much?
Open Source Tech Hub
Open Source Tech Hub
Aug 6, 2026 · Backend Development

How We Resolved an ERP Inventory Oversell After DeepSeek’s Price Hike Using Seed Evolving

This article documents a real online incident where a delayed payment after order closure caused an inventory oversell, explains the root‑cause analysis of four concurrency flaws, and shows how the Seed Evolving AI model was used to diagnose, design, and implement a low‑cost, repeatable fix.

AI-assisted debuggingDeepSeekSeed Evolving
0 likes · 12 min read
How We Resolved an ERP Inventory Oversell After DeepSeek’s Price Hike Using Seed Evolving
Xiaolin Talks Programming
Xiaolin Talks Programming
Jul 17, 2026 · Backend Development

Spring StateMachine in Production: Modeling, Redis Persistence & High-Concurrency Anti-Duplication Patterns

This article shares real-world experience using Spring StateMachine to replace sprawling if-else logic in order systems, covering state/event/guard modeling, Redis-backed persistence, a three-layer concurrency control pattern (distributed lock + optimistic lock + event idempotency), async decoupling, timeout handling, and compensation strategies with concrete code templates.

High ConcurrencyOptimistic LockRedis Persistence
0 likes · 17 min read
Spring StateMachine in Production: Modeling, Redis Persistence & High-Concurrency Anti-Duplication Patterns
Ray's Galactic Tech
Ray's Galactic Tech
Jul 13, 2026 · Artificial Intelligence

From 22% Error Rate to 1.3%: How I Made an AI Agent Reliably Handle Order Queries and Refunds

This article analyses why Function Call demos often break in production, proposes a four‑plane architecture (control, execution, state, governance), details tool gating, idempotency, state‑machine modeling, observability and evaluation, and shows how these steps reduced the error rate of an order‑query and refund agent from 22% to 1.3%.

AI AgentFunction CallProduction Engineering
0 likes · 58 min read
From 22% Error Rate to 1.3%: How I Made an AI Agent Reliably Handle Order Queries and Refunds
CTO Full-Stack Academy
CTO Full-Stack Academy
Jul 11, 2026 · Operations

Designing a Universal OMS: End‑to‑End Order Management Architecture

This article presents a comprehensive, industry‑agnostic design for a universal Order Management System (OMS), detailing its four core goals, complete order lifecycle flow, layered architecture with four‑level functional modules, implementation steps, and practical solutions to common deployment challenges.

OMSSystem DesignWorkflow Automation
0 likes · 22 min read
Designing a Universal OMS: End‑to‑End Order Management Architecture
Niu Liu
Niu Liu
Jun 24, 2026 · Databases

Splitting an Order Database into Hot and Cold Stores: Our Practical Approach

The article details how an e‑commerce platform re‑architected its order database by separating recent data into a hot store and historical data into a cold store, describing the motivations, design principles, write and read routing, downstream impacts, consistency safeguards, risks, and observed performance improvements.

Binlogbackend scalabilityconsistency
0 likes · 8 min read
Splitting an Order Database into Hot and Cold Stores: Our Practical Approach
JD Tech
JD Tech
Apr 23, 2026 · Backend Development

How JD Upgraded Its B‑Side Order Storage Architecture to Tackle Elasticsearch High‑Concurrency Pressure

Facing explosive merchant growth and soaring order volumes, JD redesigned its B‑side POP order storage by isolating large tenants, applying double‑hash routing, expanding clusters, buffering updates, and automating data archiving, ultimately delivering a high‑performance, scalable Elasticsearch platform that sustains massive traffic spikes.

Data SkewElasticsearchHigh Concurrency
0 likes · 16 min read
How JD Upgraded Its B‑Side Order Storage Architecture to Tackle Elasticsearch High‑Concurrency Pressure
JD Retail Technology
JD Retail Technology
Mar 25, 2026 · Databases

How JD.com Scaled POP Order Elasticsearch to Handle Billions of Orders

This article analyzes the challenges of JD.com's POP order Elasticsearch storage—including data skew, oversized shards, frequent updates, and high maintenance costs—and details the multi‑layered architectural redesign that introduced tenant isolation, dual‑hash routing, differentiated shard strategies, and a dual‑active physical foundation to achieve high performance, scalability, and availability.

Data PartitioningElasticsearchorder management
0 likes · 16 min read
How JD.com Scaled POP Order Elasticsearch to Handle Billions of Orders
Top Architect
Top Architect
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot: 3 Practical Approaches

This guide explains three ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering scheduled tasks, RabbitMQ delayed queues, and Redis key‑expiration events, with complete code examples and configuration details.

RabbitMQRedisSpring Boot
0 likes · 7 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot: 3 Practical Approaches
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 12, 2026 · Databases

Designing Scalable Order Sharding for Millions of Daily Transactions

This article outlines a practical sharding strategy for e‑commerce order systems, estimating future load, detailing user‑centric partitioning, heterogeneous designs for merchants and operators, and migration steps to achieve high‑concurrency writes and massive storage without downtime.

data migrationdistributed systemsorder management
0 likes · 4 min read
Designing Scalable Order Sharding for Millions of Daily Transactions
Bilibili Tech
Bilibili Tech
Mar 11, 2025 · Backend Development

Architecture and Core Components of the Big Member Transaction System

The Big Member Transaction System is a modular, virtual‑item‑focused platform that coordinates independent yet tightly integrated services—order orchestration, signing contracts, product management, payment hub, risk control, and settlement—using unique business IDs, state‑machine lifecycles, SDK‑driven front‑end integration, and robust consistency mechanisms to ensure flexible, secure, and scalable online commerce.

Backend Developmentorder managementpayment SDK
0 likes · 17 min read
Architecture and Core Components of the Big Member Transaction System
Chen Tian Universe
Chen Tian Universe
Jan 16, 2025 · Fundamentals

How Transaction and Order Systems Power Modern Payment Platforms

This article explains the architecture and processes of transaction and order systems, covering transaction models, system components, billing, forward and reverse flows, and the distinction between transaction and payment systems, providing a comprehensive guide for building robust payment solutions.

architecturee-commerceorder management
0 likes · 23 min read
How Transaction and Order Systems Power Modern Payment Platforms
Architect
Architect
Oct 24, 2024 · Backend Development

Design and Implementation of Delivery Promise System in ZuanZuan App

This article explains how ZuanZuan designs and implements a high‑performance delivery‑promise (fulfilment timing) system, covering the definition of delivery promise, the order‑OMS‑WMS‑TMS workflow, estimated‑arrival calculations, high‑QPS handling with caching and Redis, and the logic behind next‑day and same‑day delivery filters.

High Concurrencydelivery promisee-commerce
0 likes · 9 min read
Design and Implementation of Delivery Promise System in ZuanZuan App
Architecture Digest
Architecture Digest
Oct 15, 2024 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains the typical order‑submission and payment workflow, identifies external and internal order‑loss issues, and provides practical backend strategies such as intermediate payment states, timeout queries, retry mechanisms, idempotent handling, and Redis‑based duplicate‑submission prevention.

idempotencyorder managementpayment
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
Sep 9, 2024 · Product Management

How Our Platform Products Empower Business: User Center & Order Management Blueprint

The article outlines G7’s 2024 product strategy, defining platform products as foundational services, detailing the design principles and challenges of the user center and order/waybill center, and presenting solutions for unified user identity, multi‑tenant support, and scalable logistics integration.

Platformaccount-integrationorder management
0 likes · 13 min read
How Our Platform Products Empower Business: User Center & Order Management Blueprint
Selected Java Interview Questions
Selected Java Interview Questions
Aug 28, 2024 · Backend Development

Payment Business Process Design and Technical Considerations

This article analyzes the complexities of payment business logic, breaking down the workflow into modules, outlining sequence diagrams, proposing data structures, and highlighting key technical challenges such as transaction management, locking, retry mechanisms, and settlement accuracy.

System Designorder managementpayment
0 likes · 11 min read
Payment Business Process Design and Technical Considerations
Architect
Architect
Feb 14, 2024 · Backend Development

Implementing Order Lifecycle Management with Spring Statemachine, Persistence, and AOP

This article explains the fundamentals of finite state machines, demonstrates how to model order states using Spring Statemachine, shows persistence options with in‑memory and Redis stores, and provides advanced techniques such as exception handling, extended state tracking, and AOP‑based result logging for reliable state transitions.

AOPJavaPersistence
0 likes · 23 min read
Implementing Order Lifecycle Management with Spring Statemachine, Persistence, and AOP
JD Tech
JD Tech
Oct 25, 2023 · Backend Development

Design and Implementation of JD Logistics Order System Architecture for High Scalability and Availability

The article details JD Logistics' order system redesign using a four‑layer transaction architecture, describing its decoupled backend, unified data model, high‑availability components such as CQRS, Redis, JMQ, HBase, and Elasticsearch, and outlines design advantages, extensible data modeling, future challenges, and overall performance outcomes.

Data Modelingbackend architecturedistributed systems
0 likes · 10 min read
Design and Implementation of JD Logistics Order System Architecture for High Scalability and Availability
macrozheng
macrozheng
Jun 30, 2023 · Backend Development

Mastering Order Management in a SpringBoot‑Vue E‑Commerce Project

This article walks through the design and implementation of the order module in the Mall project, covering both backend administration and frontend shopping flow, database schema, API design, and available video tutorials for a comprehensive e‑commerce solution.

BackendSpringBootVue
0 likes · 8 min read
Mastering Order Management in a SpringBoot‑Vue E‑Commerce Project
Architect
Architect
Dec 28, 2022 · Backend Development

Design and Implementation of Pickup Code Generation and Write‑off Logic for SaaS E‑commerce Platforms

This article explains the end‑to‑end design of a pickup code system—including simple single‑table implementation, sharding‑aware multi‑database strategies, code generation algorithms, concurrency handling with distributed locks, and practical solutions to common pitfalls—targeted at SaaS e‑commerce back‑ends.

SaaSorder managementpickup code
0 likes · 12 min read
Design and Implementation of Pickup Code Generation and Write‑off Logic for SaaS E‑commerce Platforms
Top Architect
Top Architect
Oct 10, 2022 · Databases

Designing Routing Keys for Sharding in an Order Platform

This article explains how to select and implement routing keys for database sharding in a food‑delivery order system, covering supported scenarios, single‑ and multi‑database strategies, hash‑based distribution for both user and merchant data, and practical flow diagrams to ensure balanced and efficient data access.

BackendHash PartitioningRouting Key
0 likes · 5 min read
Designing Routing Keys for Sharding in an Order Platform
Top Architect
Top Architect
Jul 18, 2021 · Backend Development

Design and Architecture of Enterprise E‑Commerce Order Systems

This article explains the role of order systems in traditional e‑commerce enterprises, outlines their main functional modules and business architecture, describes forward and reverse order processes, inventory deduction strategies, state‑machine design, and discusses future development challenges and the need for a unified order center.

Inventorye-commerceorder management
0 likes · 13 min read
Design and Architecture of Enterprise E‑Commerce Order Systems
IT Architects Alliance
IT Architects Alliance
Jul 5, 2021 · Backend Development

Design and Architecture of E-commerce Order Systems

This article provides a comprehensive overview of e‑commerce order system roles, core modules, workflow design, process engine, state machine, and future architectural evolution, offering practical guidance for building scalable and maintainable order management platforms.

Backende-commerceorder management
0 likes · 13 min read
Design and Architecture of E-commerce Order Systems
Java Architect Essentials
Java Architect Essentials
Jun 27, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains the typical payment order flow, identifies external and internal causes of order loss, and provides concrete backend strategies—such as intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based duplicate‑submission protection—to ensure reliable order processing.

Duplicate SubmissionRetryorder management
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Top Architect
Top Architect
May 27, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems: Best Practices

The article explains common causes of order loss and duplicate submissions in payment workflows, distinguishes external and internal loss, and provides concrete backend strategies such as intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based deduplication to ensure reliable order processing.

Backendidempotencyorder management
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems: Best Practices
Architecture Digest
Architecture Digest
May 20, 2021 · Backend Development

Design and Architecture of an E‑commerce Order System

This article explains the role of an order system in traditional e‑commerce enterprises, outlines its main functional modules, describes its upstream and downstream relationships, details core processes such as order creation, payment, fulfillment, and returns, and discusses future architectural evolution and state‑machine design.

Process Enginebackend architecturee-commerce
0 likes · 12 min read
Design and Architecture of an E‑commerce Order System
Architecture Digest
Architecture Digest
May 2, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains the typical payment flow, identifies causes of external and internal order loss, and provides concrete backend strategies—including intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based duplicate‑submission protection—to ensure reliable order processing.

RedisRetryWeChat Pay
0 likes · 4 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
21CTO
21CTO
Apr 18, 2021 · Backend Development

Designing Scalable E‑Commerce Order Systems: Architecture, Modules & Future Trends

This article examines the role of order systems in traditional e‑commerce, outlines their core functional modules, explains their relationships with upstream and downstream services, and discusses design considerations, workflow engines, state machines, and future architectural evolution.

backend architecturee-commerceorder management
0 likes · 14 min read
Designing Scalable E‑Commerce Order Systems: Architecture, Modules & Future Trends
Java Captain
Java Captain
Apr 3, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains common causes of order loss and duplicate submissions in payment workflows, and provides practical backend strategies such as intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based deduplication to ensure reliable order processing.

Retryidempotencyorder management
0 likes · 4 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
转转QA
转转QA
Mar 12, 2021 · Operations

Case Study: UI Automation for Automatic Order Placement in Zhuanzhuan App

This article presents a detailed case study of how UI automation was applied to the Zhuanzhuan platform to replace manual order entry, reducing labor costs, improving efficiency, and automating logistics tracking, ultimately saving several hours of work each day.

Process AutomationUI automationorder management
0 likes · 7 min read
Case Study: UI Automation for Automatic Order Placement in Zhuanzhuan App
vivo Internet Technology
vivo Internet Technology
Dec 9, 2020 · Backend Development

vivo Mall Consignment Business: Heterogeneous System Integration Architecture and Practice

The article details vivo Mall’s heterogenous system integration architecture for a consignment model with NetEase Yanxuan, describing platform selection criteria, an API‑gateway‑style design with modular routing, adapters, unified callbacks and configuration, and the integration of product and order centers, while outlining plans for proprietary API standards to lower future integration costs.

API DesignAdapter Patternconsignment business
0 likes · 10 min read
vivo Mall Consignment Business: Heterogeneous System Integration Architecture and Practice
Architecture Digest
Architecture Digest
Nov 7, 2020 · Backend Development

Design and Core Functions of an E‑commerce Order System

This article explains the role of an order system in traditional e‑commerce enterprises, outlines its main functional modules, describes its relationships with upstream and downstream services, and discusses core processes, inventory strategies, reverse flows, state‑machine design, and future architectural evolution.

e-commerceorder managementorder-system
0 likes · 14 min read
Design and Core Functions of an E‑commerce Order System
Programmer DD
Programmer DD
Oct 23, 2020 · Databases

Auto‑Close Unpaid Orders with Redis Key Expiration Events in Spring Boot

This guide explains how to use Redis key expiration notifications in a Spring Boot application to automatically close unpaid orders by storing an order‑ID key with a TTL, configuring Redis to emit expiration events, and implementing a listener that updates order status when the key expires.

JavaKey ExpirationRedis
0 likes · 6 min read
Auto‑Close Unpaid Orders with Redis Key Expiration Events in Spring Boot
Big Data Technology & Architecture
Big Data Technology & Architecture
Sep 11, 2020 · Big Data

Evolution of JD.com Order Center Elasticsearch Cluster Architecture

This article details how JD.com's order center migrated its Elasticsearch cluster from a simple, default‑configured setup to a highly available, multi‑replica, dual‑cluster architecture with version upgrades, data synchronization strategies, and performance optimizations to support billions of documents and hundreds of millions of daily queries.

ElasticsearchPerformance Optimizationbig data
0 likes · 12 min read
Evolution of JD.com Order Center Elasticsearch Cluster Architecture
MaGe Linux Operations
MaGe Linux Operations
Jul 28, 2020 · Big Data

How Leading Chinese Companies Scale Elasticsearch for Billions of Orders

This article surveys how major Chinese tech firms such as JD.com, Ctrip, Didi, and 58.com deploy and evolve Elasticsearch clusters to handle massive order data, log analysis, real‑time monitoring, and security tasks, detailing architecture choices, shard strategies, multi‑cluster designs, and performance optimizations.

ElasticsearchSearch Architecturebig data
0 likes · 11 min read
How Leading Chinese Companies Scale Elasticsearch for Billions of Orders
macrozheng
macrozheng
Jul 18, 2019 · Databases

Unlocking Order Management: Complete Database Schema for E‑Commerce Orders

This article provides a detailed analysis of the order-related database tables—including orders, order items, operation history, and order settings—along with their fields, data types, and meanings, and showcases how these tables are presented in both admin and mobile interfaces of an e‑commerce system.

Backend DevelopmentSQLdatabase design
0 likes · 9 min read
Unlocking Order Management: Complete Database Schema for E‑Commerce Orders
Youzan Coder
Youzan Coder
Apr 17, 2019 · Big Data

Order Data Synchronization Architecture at YouZan: From MySQL to ES and HBase

YouZan’s order data synchronization moves changes from MySQL through Canal‑parsed binlogs into a message queue, then uses sequential SeqNo‑based optimistic locking and HBase’s column‑version timestamps to guarantee ordering for both single‑ and multi‑table updates, while a Logstash‑style configurable pipeline feeds ES for search and HBase for detail queries, eliminating ordered‑queue bottlenecks and ensuring high‑throughput consistency.

BinlogCanalElasticsearch
0 likes · 12 min read
Order Data Synchronization Architecture at YouZan: From MySQL to ES and HBase
Youzan Coder
Youzan Coder
Dec 7, 2018 · Backend Development

How Youzan Scaled Order Management: Sharding, Elasticsearch, and HBase

The article details Youzan's three‑stage evolution of its order management system—from database sharding to Elasticsearch‑based cross‑table search and finally HBase for fast detail assembly—while addressing data sync, real‑time consistency, and idempotency strategies.

backend architecturedata synchronizationorder management
0 likes · 9 min read
How Youzan Scaled Order Management: Sharding, Elasticsearch, and HBase
Ctrip Technology
Ctrip Technology
Sep 23, 2016 · Backend Development

Design and Evolution of Qunar Order Center: From 1.0 to 3.0

The article details the Qunar Order Center's architecture evolution—addressing fragmented order data, introducing unified query APIs, JSON‑based storage, merge/diff services, asynchronous I/O, Elasticsearch integration, data sharding, business isolation, rate limiting, adapter layers, micro‑service decomposition, and a centralized configuration system to improve scalability, reliability, and maintainability.

ElasticsearchRate Limitingbackend architecture
0 likes · 10 min read
Design and Evolution of Qunar Order Center: From 1.0 to 3.0
Qunar Tech Salon
Qunar Tech Salon
Aug 24, 2016 · Backend Development

Design and Evolution of Qunar Order Center: From 1.0 to 3.0

This article presents a comprehensive technical case study of Qunar's Order Center, describing its initial architecture, the challenges faced with scaling and reliability, and the successive redesigns in versions 2.0 and 3.0 that introduced Elasticsearch, asynchronous I/O, micro‑service decomposition, rate‑limiting, and a configurable adapter layer to support massive, multi‑line order processing.

ElasticsearchJSON Diffasynchronous I/O
0 likes · 9 min read
Design and Evolution of Qunar Order Center: From 1.0 to 3.0
Qunar Tech Salon
Qunar Tech Salon
Aug 23, 2016 · Backend Development

Evolution of Qunar Flight Ticket Transaction System Architecture and Database Refactoring

This article details the step‑by‑step evolution of Qunar's domestic flight ticket transaction system, covering early monolithic design, service‑oriented decomposition, database schema migration, adoption of non‑relational storage, and the implementation of an ELK‑based logging and monitoring platform to improve scalability and maintainability.

ELKorder managementservice decomposition
0 likes · 22 min read
Evolution of Qunar Flight Ticket Transaction System Architecture and Database Refactoring
Qunar Tech Salon
Qunar Tech Salon
Aug 22, 2016 · Backend Development

Hotel Order Transaction System Architecture and Actor Framework Overview

This article presents the event‑driven architecture of a hotel order transaction system, outlines common challenges such as QMQ configuration, exception handling, and coupling, and introduces an Actor‑based solution that provides decoupling, customizable retry, fault‑recovery, and detailed monitoring for over twenty business services.

Actor modelevent-drivenorder management
0 likes · 6 min read
Hotel Order Transaction System Architecture and Actor Framework Overview
21CTO
21CTO
Apr 27, 2016 · Databases

How to Scale an Order Database Beyond 200GB: Vertical & Horizontal Sharding Strategies

This article explains how a rapidly growing order database exceeding 200 GB can be scaled using vertical and horizontal partitioning, various sharding strategies, custom ID generation, migration phases, and practical considerations for transactions and complex queries.

Horizontal PartitioningVertical Partitioningdata migration
0 likes · 9 min read
How to Scale an Order Database Beyond 200GB: Vertical & Horizontal Sharding Strategies