Tagged articles
Inventory
65 articles · Page 1 of 1
This article presents a detailed, step‑by‑step design of a universal restaurant POS and ordering system covering four‑tier modular architecture, complete business flow, functional breakdown for front‑end ordering, kitchen production, back‑office management, and core infrastructure, plus implementation steps and solutions to common deployment issues.
InventoryLoyaltyPoS
0 likes · 17 min read

This article walks through Ansible’s three core components—ansible.cfg settings, inventory definitions (including INI, YAML, and dynamic scripts), and Playbook structure—showing practical examples, performance tweaks, variable hierarchies, conditionals, loops, handlers, tags, blocks, roles, and common pitfalls to help you manage hundreds of servers efficiently.
Inventoryansible.cfg
0 likes · 20 min read

This article examines three e‑commerce inventory deduction methods—order‑time, payment‑time, and pre‑deduction—detailing their mechanisms, advantages, drawbacks, and suitable scenarios to help developers choose the optimal strategy for high‑concurrency sales.
Inventorydeductiondistributed systems
0 likes · 7 min read

The article analyzes three Redis inventory‑deduction locking strategies—exclusive lock, segmented lock, and lock‑free/key‑quantization—detailing their key structures, suitable scenarios, advantages, drawbacks, and also covers Lua‑script atomic decrement, async queue buffering, and local pre‑deduction techniques.
Exclusive LockInventoryLua
0 likes · 8 min read

This article details a Redis bucket‑based inventory deduction architecture that guarantees strong consistency while eliminating over‑sell and under‑sell, boosting hot‑spot deduction TPS and stability through a merge‑commit process and comprehensive module design.
BackendCacheInventory
0 likes · 11 min read

This article reveals why many businesses struggle with supply‑chain efficiency and explains how focusing on four critical links—planning, inventory management, logistics, and receivables—can transform operations, reduce costs, and improve customer satisfaction, offering practical examples and a downloadable template for immediate implementation.
InventoryOperations Managementcash flow
0 likes · 7 min read

Discover the eight most common supply‑chain models—JIT, VMI, BTO, BTS, demand‑driven production, CPFR, JIS, and DRP—explaining their core principles, advantages, drawbacks, and ideal use‑cases, so you can choose the right strategy to balance inventory, cost, and delivery speed.
InventoryOperationslogistics
0 likes · 9 min read

This article presents a comprehensive list of 22 key performance indicators across planning, procurement, inventory, logistics, customer service, and overall operational efficiency, explaining how each metric can be measured, analyzed, and used to improve a company's supply chain performance.
InventoryKPIOperations
0 likes · 8 min read

This article demystifies the concepts of supply chain and industry chain, compares their scopes using everyday cooking analogies, highlights common supply‑chain pitfalls in enterprises, and explains how a digital supply‑chain system with procurement, inventory, and logistics modules can solve these problems.
InventoryOperations Managementdigital transformation
0 likes · 10 min read

This guide explains how to design the database, modify product detail, cart, and order pages, and use Ajax in PHP to enforce purchase quantity limits, ensuring stock accuracy and improving user experience in an online store.
BackendInventoryPHP
0 likes · 4 min read

This article explains how to build a robust offline inventory counting system that prevents data loss, resolves synchronization conflicts, and ensures seamless operation even when network connectivity is interrupted, offering practical design patterns and pitfall‑avoidance tips for warehouse teams.
InventoryOperationsSynchronization
0 likes · 6 min read

This comprehensive guide covers core WMS terminology—from basic concepts like locations, storage slots, and SKUs to inbound/outbound processes, inventory management techniques such as FIFO and safety stock, strategic approaches including wave and picking methods, essential equipment like PDAs and RFID, and advanced industry jargon, providing product managers with the knowledge to navigate technical discussions, impress stakeholders, and optimize warehouse operations.
InventoryOperationslogistics
0 likes · 11 min read

This guide walks you through creating and organizing Ansible inventory files, defining hosts and host groups, using nested groups and wildcards, understanding configuration file priority, and setting up a devops user with password‑less sudo and SSH keys to verify the setup.
AnsibleInventory
0 likes · 11 min read

The unified exchange mall middleware platform consolidates disparate points‑redemption and lottery flows into a four‑layer architecture—business, gameplay templates, domain models, and downstream services—offering standardized APIs, dynamic RPC routing, Redis‑based inventory control, anti‑fraud safeguards, and built‑in monitoring, thereby cutting development costs, enhancing maintainability, and ensuring system stability.
Anti-FraudBackendInventory
0 likes · 18 min read

This article explains why simple GET‑modify‑SET inventory updates cause overselling in flash‑sale spikes and presents several Redis‑based solutions—including Lua scripts, WATCH‑based optimistic locks, distributed SETNX locks, and asynchronous queue processing—detailing their implementation, advantages, and trade‑offs.
BackendConcurrencyDistributed Lock
0 likes · 8 min read

This article examines how delayed or inconsistent inventory synchronization leads to costly overselling and deadstock in e‑commerce, presents three destructive synchronization patterns, and offers a step‑by‑step guide—including real‑time messaging, distributed locks, rule‑engine integration, and intelligent alerts—to transform inventory management from a liability into a self‑healing system.
BackendInventoryOperations
0 likes · 8 min read

The article examines inventory pre‑reservation in e‑commerce, detailing performance challenges under high concurrency, and evaluates solutions such as asynchronous rate limiting, horizontal stock splitting, Redis caching, database transaction handling, deadlock avoidance, and data consistency mechanisms, highlighting a 24‑fold throughput increase.
CachingConcurrencyInventory
0 likes · 9 min read

This article examines the core challenges of high‑concurrency inventory pre‑reservation, evaluates async throttling, horizontal stock splitting, and Redis‑based write‑shielding, and presents concrete implementations, performance results, thread‑safety techniques, deadlock avoidance, and data‑consistency safeguards for robust backend systems.
BackendInventoryMySQL
0 likes · 11 min read


JD TechDec 24, 2024 · Backend Development
The article analyzes the stability problems faced by an e‑commerce inventory platform—including complex workflows, data accuracy, database hotspots, and high‑frequency calculations—and details a series of backend engineering solutions such as traffic splitting, gray‑release links, Redis caching, consistency checks, async rate limiting, and comprehensive monitoring to improve reliability and performance.
CachingInventorystability
0 likes · 13 min read

This article analyzes the stability challenges faced by an e‑commerce inventory platform—including complex business flows, database hotspots, and high‑frequency calculations—and details a series of engineering solutions such as traffic splitting, gray‑release pipelines, Redis caching, consistency checks, throttling, and comprehensive monitoring to improve reliability and performance.
BackendInventory
0 likes · 14 min read

This article examines the stability challenges of an e‑commerce inventory platform—including workflow complexity, database hotspots, and high‑frequency calculations—and details comprehensive solutions such as traffic splitting, gray releases, Redis caching, data consistency mechanisms, rate limiting, and monitoring enhancements that together improved throughput by 24× and reduced latency dramatically.
InventoryOperationsRedis
0 likes · 14 min read

The article examines how frequent inventory adjustments in JD retail supply‑chain can suffer from concurrency issues, explains why traditional locking may fail, analyzes a real‑world case of lock misuse, and presents code‑level, database‑level, and architectural solutions to guarantee data consistency.
ConcurrencyConsistencyDistributed Lock
0 likes · 7 min read

Ansible Inventory defines host lists and variables for automation; this guide explains its purpose, basic file format, verification commands, advanced grouping, variable settings, and privilege escalation techniques, providing practical code examples and tips to streamline server configuration and management.
AnsibleConfigurationDevOps
0 likes · 10 min read

This article compares three inventory deduction approaches—single‑field MySQL updates, sharded MySQL records, and Redis INCRBY with Lua scripting—analyzes their concurrency drawbacks, and provides a complete Java implementation using Redis Lua scripts, distributed locks, and callback‑based stock initialization.
BackendInventoryLua
0 likes · 13 min read

This guide explains how to create and organize Ansible inventory files by defining individual hosts, host groups, nested groups, and using patterns or wildcards to select targets, while also covering configuration file priority, essential settings, and a step‑by‑step example for secure, password‑less automation.
AnsibleConfiguration ManagementHost Groups
0 likes · 13 min read

This article explains how to implement product purchase quantity limits in a PHP‑based online store, covering database schema changes, modifications to product detail, cart, and checkout pages, Ajax‑driven updates, inventory checks, and order management to prevent overselling and improve user experience.
AJAXBackendInventory
0 likes · 4 min read

This article explains how to design the database, modify product detail, cart, and order pages, and use Ajax in PHP to enforce purchase quantity limits based on stock levels, ensuring accurate inventory management and improved user experience in online stores.
BackendInventorydatabase
0 likes · 4 min read

This guide walks through installing Ansible via source, git or RPM, configuring its environment and SSH trust, adding hosts to the inventory, and testing connectivity with ping, providing essential commands and examples for effective automation on CentOS systems.
ConfigurationInventoryLinux
0 likes · 16 min read

A daily million‑order e‑commerce platform only generates about 30 TPS, making inventory‑deduction and oversell concerns trivial and solvable with a single atomic SQL update rather than complex distributed solutions.
BackendInventorySQL
0 likes · 4 min read


JD TechMay 18, 2024 · Backend Development
This article analyzes the problems encountered when constructing inventory pre‑reservation functionality—such as performance bottlenecks, thread‑synchronization, deadlocks, and data‑consistency issues—and presents a set of engineering solutions including async throttling, horizontal stock splitting, Redis caching, transaction‑based DB updates, lock ordering, and consistency‑verification mechanisms, with measured performance improvements.
Inventorypre‑reservation
0 likes · 11 min read

This article explains several common technical solutions—locking queues, update‑statement limits, optimistic locking, temporary tables, and Redis pre‑stocking—to prevent inventory overselling, comparing their suitability for different concurrency levels and recommending the best approach for high‑traffic scenarios.
ConcurrencyInventoryecommerce
0 likes · 5 min read

The article outlines the three‑step inventory deduction workflow—select, verify, update—and explains how concurrent requests can cause overselling, then compares mitigation strategies such as pessimistic SELECT FOR UPDATE locks, optimistic CAS version retries, atomic decrement SQL statements, and Redis transactions, highlighting their trade‑offs in consistency and throughput.
ConcurrencyInventoryOptimistic Lock
0 likes · 5 min read

This article explains how to implement product purchase quantity limits in a PHP‑based online store by designing a stock field in the database, updating product detail, cart, and order pages, using Ajax for dynamic updates, and ensuring inventory consistency to improve user experience and operational efficiency.
AJAXInventorypurchase-limit
0 likes · 4 min read

This article details the evolution and design of Vivo’s e‑commerce inventory platform, covering its layered architecture, multiple inventory types, deduction workflows, idempotent APIs, anti‑oversell mechanisms, high‑concurrency strategies, hotspot mitigation, and synchronization techniques, while explaining the reasoning behind each technical choice.
BackendCacheDistributed Lock
0 likes · 18 min read

Vivo’s e‑commerce inventory system evolved from a monolithic design into a multi‑layered service architecture that separates warehouse, scheduling, and sales layers, introduces distinct stock types, implements deduplication, anti‑oversell, high‑concurrency and hotspot mitigation strategies, and integrates sync mechanisms with warehouses and product systems.
Inventorydeduplicatione-commerce
0 likes · 16 min read

This article details the evolution, layered architecture, stock types, deduction strategies, high‑concurrency solutions, and synchronization mechanisms of the Vivo Mall inventory system, illustrating how the backend was refactored to support diverse business scenarios and prevent overselling.
Inventoryhigh concurrencystock management
0 likes · 15 min read

To handle exploding product inventory data, the company overhauled its warehouse inventory model by eliminating risky document‑hand‑offs, storing only changed rows instead of daily snapshots, and syncing transformed data to a data‑warehouse for reporting, which cut monthly accounting time by 30 hours (≈30 %), improved accuracy, enabled new analytics, and introduced TiDB migration and team upskilling.
Data ModelingInventorydata warehouse
0 likes · 7 min read

The article explains how to mathematically balance inventory across multiple self‑operated big and cloud warehouses by calculating an ideal split ratio, allocating procurement, and recommending inter‑warehouse transfers—using a rule‑engine‑driven three‑service architecture that accounts for inbound/outbound flows, channel stocking, and cost‑efficiency to improve delivery performance.
BalancingInventorydistribution
0 likes · 11 min read

This article explains three common inventory‑deduction strategies for e‑commerce—single‑field MySQL, multi‑row MySQL, and Redis incrby—analyzes their drawbacks under high concurrency, and provides a complete Redis‑Lua based solution with distributed locking, including full Java code examples for the callback interface, stock service, and controller.
Distributed LockInventoryRedis
0 likes · 10 min read


JavaEdgeNov 20, 2022 · Backend Development
This article explains how to build a reliable e‑commerce inventory system by handling concurrent stock deductions, designing inventory and flow tables, using optimistic locking and transactions, and scaling the solution with read‑write splitting and Redis caching to meet high‑QPS demands.
Database DesignInventoryperformance optimization
0 likes · 9 min read

The article examines three approaches to handling inventory deduction in e‑commerce—single‑field MySQL, sharded MySQL rows, and Redis incrby—analyzes their concurrency drawbacks, and presents a robust Redis‑Lua script solution with distributed locking and Java implementation details.
BackendConcurrencyInventory
0 likes · 9 min read

This article analyzes the challenges of real‑time inventory synchronization for omnichannel retail—such as sync latency, concurrent overselling, and shared stock calculation—and presents a comprehensive backend architecture featuring low‑latency syncing, dynamic throttling, safety‑stock algorithms, and a scalable calculation engine.
InventorySynchronizationbackend architecture
0 likes · 11 min read

This article compares three stock‑deduction approaches—single‑record MySQL, sharded MySQL, and Redis with Lua scripts—analyzes their performance and concurrency issues, and provides complete Java/Spring code for a Redis‑based solution including distributed locking and initialization callbacks.
Distributed LockInventorySpring
0 likes · 10 min read


JD TechJul 8, 2022 · Backend Development
This article presents a comprehensive solution for building an e‑commerce inventory system that prevents overselling under high concurrency by combining database transactions, Redis‑based stock deduction, idempotent anti‑repeat mechanisms, pipeline optimization, and a task‑engine driven eventual‑consistency architecture.
IdempotencyInventoryRedis
0 likes · 13 min read

This article explains common inventory deduction scenarios, compares three solutions—single‑record MySQL, multi‑record MySQL, and Redis with Lua scripting—analyzes their drawbacks, and provides a complete Java implementation including a StockService, Redis lock, and controller for managing stock safely under high concurrency.
BackendInventoryStock
0 likes · 10 min read

This article evaluates several PHP approaches—including plain inserts, unsigned mode, MySQL transactions, file locks, and Redis queues—to prevent product inventory overselling under high concurrency, presenting test setups, results, and a final recommendation favoring Redis for its superior performance.
ConcurrencyInventoryMySQL
0 likes · 5 min read

The article describes the architecture and optimization techniques of Qunar's inventory search service, covering background business flow, challenges of high‑traffic multi‑channel integration, and detailed solutions such as product cataloging, channel cache utilization, request replay, cache isolation, unified cache management, cold‑hot segregation, and full‑process asynchronous handling to improve cache hit rate, update efficiency, and overall throughput.
CachingInventoryasynchronous
0 likes · 14 min read

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

This article explains JD.com's order transfer process, inventory hierarchy, support relationships, order transfer and planning systems, fulfillment workflow, and risk control mechanisms, illustrating how millions of orders are allocated, scheduled, and executed across multiple warehouses and channels.
InventoryOperationsRisk Control
0 likes · 11 min read

This article explains the core technical points of inventory deduction in e‑commerce, covering database‑based deduction, read‑write splitting, cache‑based solutions with Redis and Lua scripts, sharding strategies, and their trade‑offs for ensuring consistency, performance, and scalability under massive concurrent traffic.
Inventorydeductione-commerce
0 likes · 12 min read

This article examines three inventory‑deduction approaches for flash‑sale scenarios, discusses methods to mitigate malicious buyers, addresses payment‑failure due to insufficient stock, presents database‑level solutions to prevent overselling under high concurrency, and explores practical implementations using order‑time deduction, Redis caching, and rate limiting.
Distributed LockInventoryflash sale
0 likes · 9 min read

On November 7, 2020, Hulu’s Shulei presented how the company’s video advertising platform employs AI-driven algorithms—including binge‑watch prediction, inventory forecasting with Prophet, and a PID‑controller based real‑time allocation system—to enhance targeting, optimize revenue, and improve user experience.
AIAdvertisingAlgorithm
0 likes · 7 min read

This article explains the core concepts and architecture of an e‑commerce product center, covering SPU, SKU, sales and non‑sales attributes, pricing models, inventory control, scheduled on/off‑shelf operations, and optimization techniques for querying product data.
BackendInventoryProduct Modeling
0 likes · 5 min read

This article explains what procurement is, its strategic importance, the components and architecture of a procurement management system, detailed workflow steps, and key functions such as item management, order handling, pricing maintenance, and supplier returns, highlighting how effective procurement reduces costs and boosts competitiveness.
InventoryOperationsprocurement
0 likes · 13 min read

This comprehensive guide explains the core concepts of e‑commerce product systems—including SPU and SKU definitions, their relationships, and the complete product management workflow covering publishing, editing, inventory, payment, logistics, and status transitions—providing essential knowledge for building robust online retail platforms.
CatalogInventorySPU
0 likes · 11 min read

This article explains how the inventory service at a large e‑commerce platform was optimized for high‑traffic sales events by redesigning transaction handling, sharding data by SKU, and combining flexible and rigid transactions to improve throughput while preserving data consistency.
Distributed DatabaseInventorye-commerce
0 likes · 10 min read

This article outlines Alibaba Retail's demand forecasting workflow, describing the evolution from simple mean and time‑series models to machine‑learning and deep‑learning approaches, the incorporation of feature engineering, operational plans, and methods for estimating prediction uncertainty to support intelligent replenishment.
AIInventoryTime Series
0 likes · 13 min read

Learn why inventory over‑selling occurs under high concurrency, and explore three practical solutions—pessimistic locking, optimistic locking with version control, and Redis‑Lua scripting—detailing their implementation steps, advantages, and drawbacks to help you choose the best approach for reliable stock management.
InventoryLuaRedis
0 likes · 7 min read

The article describes the challenges of handling book outbound operations—matching SN codes, ensuring data consistency, and avoiding lock contention—and outlines a comprehensive refactor that separates business logic, standardizes APIs, adopts asynchronous processing, and leverages Redis sets to achieve high‑performance, reliable SN allocation.
BackendConcurrencyInventory
0 likes · 10 min read


JD TechApr 12, 2018 · Backend Development
The article explains how JD Daojia's inventory system achieves stability and high availability for millions of items by using health‑monitoring platforms, choosing an order‑submission stock reservation strategy, preventing duplicate submissions with token and idempotent mechanisms, implementing rollback procedures, and applying various concurrency‑safe stock‑deduction techniques with code examples.
BackendConcurrencyInventory
0 likes · 12 min read

This article details the business scope, challenges, architectural evolution, and practical solutions of Suning's inventory system—including front‑mid‑back separation, self‑developed high‑concurrency services, unitization, multi‑active deployment, and pre‑Double 11 capacity planning—to ensure stable, scalable e‑commerce operations during massive traffic spikes.
Double 11Inventoryarchitecture
0 likes · 17 min read


DevOpsOct 8, 2017 · Operations
The article summarizes the management novel “The Goal”, explaining how its Theory of Constraints concepts—throughput, inventory, operational expense, bottlenecks, and practical improvement steps—can be applied to manufacturing and DevOps to increase profitability and efficiency.
BottleneckInventoryOperations Management
0 likes · 10 min read

The article describes how JD Daojia's inventory system serves millions of stores by using health‑monitoring platforms, pre‑allocation policies, idempotent order processing, distributed locks, and rollback mechanisms to ensure stability, prevent overselling, and handle high‑concurrency scenarios such as flash‑sales.
Distributed LockIdempotencyInventory
0 likes · 11 min read

This guide introduces YAML syntax and features, explains how to define variables, facts, and loops in Ansible, details the INI‑style inventory file format, and walks through creating playbooks with hosts, tasks, handlers, and tags for reliable automation.
AnsibleConfiguration ManagementDevOps
0 likes · 11 min read

The discussion explores various backend techniques—SQL conditional updates, scheduled tasks, cache flags, database and Redis locks, queues, and token‑based idempotency—to reliably manage e‑commerce inventory and avoid overselling under different traffic loads.
BackendConcurrencyDistributed Lock
0 likes · 11 min read
