Skip to content
Tagged articles

state machine

178 articles · Page 2 of 2
Shepherd Advanced Notes
Shepherd Advanced Notes
Sep 1, 2023 · Big Data

Visual Guide to Kafka’s Architecture and Core Principles

This article explains Kafka’s architecture in depth, covering components such as producers, consumers, topics, partitions, replication, Zookeeper coordination, the Controller’s election and responsibilities, state machines, and the NIO‑based network model, using clear diagrams and analogies.

ControllerKafkaNetwork Model
0 likes · 14 min read
Visual Guide to Kafka’s Architecture and Core Principles
JD Cloud Developers
JD Cloud Developers
Aug 3, 2023 · Backend Development

Mastering State Machines: From Theory to Spring and COLA Implementations

This article introduces the fundamentals of state machines, explains the four core concepts, explores domain‑specific languages (DSL) and their classifications, and provides practical Java examples using Spring Statemachine and the COLA framework, ending with a comparison and adoption guidance.

BackendCOLADSL
0 likes · 18 min read
Mastering State Machines: From Theory to Spring and COLA Implementations
Liangxu Linux
Liangxu Linux
Jul 30, 2023 · Fundamentals

How Event‑Driven State Machines Power Embedded Systems: From ISR to Message Queues

This article explains the principles of event‑driven programming and state‑machine design for microcontrollers, compares them with interrupt handling, introduces a message‑based architecture with concrete data structures and APIs, and shows how to build a reusable framework that solves ordering and loss problems in embedded applications.

ISRembedded systemsevent-driven
0 likes · 33 min read
How Event‑Driven State Machines Power Embedded Systems: From ISR to Message Queues
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 28, 2023 · Backend Development

Extracting Business System Knowledge through FSM‑X Visualization: A Practical Exploration

This article describes a practical approach to automatically extract and visualize business system knowledge from code by abstracting workflow control logic into a generalized design pattern using the FSM‑X state‑machine framework, discussing its background, methodology, implementation details, and current limitations.

BackendKnowledge Extractiondomain-driven design
0 likes · 10 min read
Extracting Business System Knowledge through FSM‑X Visualization: A Practical Exploration
21CTO
21CTO
Jun 20, 2023 · Backend Development

Mastering Spring State Machine: Build Robust Order Workflows with Persistence

This article introduces the fundamentals of finite state machines, explains their four core concepts, demonstrates how to model order workflows with state diagrams, and provides a comprehensive guide to implementing, configuring, persisting, and testing Spring Statemachine in a Java backend, including solutions for exception handling and AOP enhancements.

AOPSpringWorkflow
0 likes · 23 min read
Mastering Spring State Machine: Build Robust Order Workflows with Persistence
Java Interview Crash Guide
Java Interview Crash Guide
Jun 15, 2023 · Backend Development

Mastering Spring Statemachine: Build Robust Order Workflows with Persistent State

This guide explains the fundamentals of state machines, introduces the four core concepts, shows how to model order transitions with diagrams, and provides a complete Spring Statemachine implementation—including database schema, enums, configuration, persistence, controller, service, listeners, testing, and advanced error‑handling techniques—so developers can create reliable, persisted workflows in Java.

Finite State MachineSpring StateMachinepersistence
0 likes · 30 min read
Mastering Spring Statemachine: Build Robust Order Workflows with Persistent State
DeWu Technology
DeWu Technology
Jun 7, 2023 · Backend Development

Ensuring Data Consistency Across Microservices: Strategies and Design Principles

This article examines why data consistency between microservices is critical, defines key terminology, and presents two practical approaches—business‑side final consistency and platform‑side final consistency—detailing their core ideas, design principles, workflow diagrams, and real‑world implementation considerations such as idempotency, storage choices, latency tolerance, state‑machine design, concurrency control, and observability.

ConcurrencyData ConsistencyIdempotency
0 likes · 17 min read
Ensuring Data Consistency Across Microservices: Strategies and Design Principles
Architecture Digest
Architecture Digest
May 31, 2023 · Backend Development

Understanding State Machines and Implementing Spring Statemachine for Order Processing

This article explains the fundamentals of finite state machines, introduces the four core concepts of state, event, action, and transition, and provides a detailed guide on using Spring Statemachine with Java—including configuration, persistence, service and controller implementations, testing, and advanced troubleshooting techniques.

Workflowstate machine
0 likes · 24 min read
Understanding State Machines and Implementing Spring Statemachine for Order Processing
Top Architect
Top Architect
May 29, 2023 · Backend Development

Understanding Finite State Machines and Spring Statemachine for Order Processing in Java

This article explains the fundamentals of finite state machines, introduces the four core concepts of state, event, action, and transition, demonstrates how to model an order lifecycle with a state‑machine diagram, and provides a complete Spring Statemachine implementation—including enums, configuration, persistence (memory and Redis), listeners, testing, and solutions to common exception‑handling issues—complete with runnable Java code examples.

AOPOrder Processingpersistence
0 likes · 26 min read
Understanding Finite State Machines and Spring Statemachine for Order Processing in Java
Code Ape Tech Column
Code Ape Tech Column
May 23, 2023 · Backend Development

Message Notification Architecture and Design in Microservices

This article explains the principles, process management, sequence, and structural design of a message notification system within microservice architectures, highlighting production‑consumption patterns, task handling, state transitions, channel integration, and practical considerations for effective backend implementation.

Message Notificationbackend architecturemessage center
0 likes · 9 min read
Message Notification Architecture and Design in Microservices
Sohu Tech Products
Sohu Tech Products
Apr 26, 2023 · Fundamentals

Understanding JavaScript Generators: Basics, Syntax, and Advanced Usage

JavaScript Generators, introduced in ES6, allow functions to pause and resume execution, yielding multiple values; this article explains their syntax, basic usage, advanced features like yield* and data exchange, and demonstrates practical scenarios such as asynchronous flow control, memory-efficient data processing, and state machine implementation.

JavaScriptasyncdata processing
0 likes · 11 min read
Understanding JavaScript Generators: Basics, Syntax, and Advanced Usage
Architecture Digest
Architecture Digest
Apr 25, 2023 · Backend Development

Design and Implementation of a Scalable Transaction Platform for Vivo Global Mall

This article details the design principles, architecture, multi‑tenant sharding strategy, state‑machine workflow, distributed transaction handling, and high‑availability measures of Vivo's transaction platform, illustrating how a micro‑service‑based e‑commerce system achieves low cost, extensibility, and robust performance.

e-commercestate machinetransaction
0 likes · 12 min read
Design and Implementation of a Scalable Transaction Platform for Vivo Global Mall
Architecture Digest
Architecture Digest
Apr 14, 2023 · Backend Development

Design and Architecture of a Scalable Transaction Platform for Vivo Global Mall

This article presents the design philosophy, overall architecture, multi‑tenant sharding strategy, state‑machine workflow, distributed transaction handling, and high‑availability measures of Vivo’s global e‑commerce transaction platform, sharing practical challenges and solutions encountered during its development and ongoing evolution.

distributed transactionse-commercestate machine
0 likes · 14 min read
Design and Architecture of a Scalable Transaction Platform for Vivo Global Mall
vivo Internet Technology
vivo Internet Technology
Apr 12, 2023 · Backend Development

vivo Transaction Platform: Architecture Design and Key Technical Solutions

The article details vivo’s transition from a monolithic mall to a micro‑service transaction platform, outlining a multi‑tenant architecture with ShardingSphere‑sharded MySQL, Snowflake IDs, Elasticsearch search, configurable state machines, generic delayed tasks, Seata and local‑message distributed transactions, plus high‑availability safeguards, emphasizing pragmatic solution selection.

High AvailabilityMulti-tenant ArchitectureSeata
0 likes · 11 min read
vivo Transaction Platform: Architecture Design and Key Technical Solutions
HomeTech
HomeTech
Apr 11, 2023 · Backend Development

Applying Finite State Machines with Spring Statemachine and Squirrel-foundation in Java

This article explains the concept of finite state machines, outlines scenarios where they are beneficial, compares Spring Statemachine and Squirrel-foundation implementations, and provides detailed configuration, guard/action code, persistence, testing, and practical usage tips for managing complex business workflows in Java backend services.

SpringWorkflowsquirrel-foundation
0 likes · 17 min read
Applying Finite State Machines with Spring Statemachine and Squirrel-foundation in Java
Thoughts on Knowledge and Action
Thoughts on Knowledge and Action
Mar 29, 2023 · Backend Development

Why Choose Workflow Engines Over State Machines for Complex Business Processes?

This article examines the challenges of virtual asset operations, compares workflow engines and finite state machines, outlines their core concepts, implementation methods, and open‑source options, and presents a practical internal‑DSL‑based solution for high‑performance, asynchronous backend processing.

DSLFinite State MachineJava
0 likes · 10 min read
Why Choose Workflow Engines Over State Machines for Complex Business Processes?
Baidu Geek Talk
Baidu Geek Talk
Mar 1, 2023 · Artificial Intelligence

How Baidu Built a Scalable AIGC Video Production Engine with State‑Machine Orchestration

This article details Baidu's end‑to‑end AIGC video production pipeline, explaining the business drivers, the challenges of automating script‑to‑video conversion, the service‑orchestration architecture based on state‑machine scheduling, module‑component decomposition, configuration files, and the practical workflow that now supports tens of thousands of videos per day.

AIGCService Orchestrationmicroservices
0 likes · 16 min read
How Baidu Built a Scalable AIGC Video Production Engine with State‑Machine Orchestration
Java Architect Essentials
Java Architect Essentials
Feb 9, 2023 · Backend Development

Design and Architecture of an E‑commerce Order System

This article explains the role of an order system in traditional e‑commerce, outlines its main functional modules, describes the end‑to‑end order flow—including creation, payment, production, confirmation and completion—covers inventory reduction strategies, order splitting, reverse processes, state‑machine design, and discusses future evolution toward a unified order center.

backend architecturee-commerceinventory management
0 likes · 13 min read
Design and Architecture of an E‑commerce Order System
Xianyu Technology
Xianyu Technology
Jan 10, 2023 · Backend Development

Lightweight State Machine Framework for Order Fulfillment in Xianyu Industry Transactions

The Xianyu team introduced a lightweight, API‑driven state‑machine framework that replaces massive IF‑ELSE order‑fulfillment code with a three‑layer architecture—core topology, glue adapters, and business processors—enabling concise topology definitions, reusable validation/action logic, automatic logging, monitoring, and effortless extension across recycling, consignment, and inspection services.

Workflow Designbackend architectureorder fulfillment
0 likes · 10 min read
Lightweight State Machine Framework for Order Fulfillment in Xianyu Industry Transactions
Xianyu Technology
Xianyu Technology
Jan 3, 2023 · Frontend Development

Using XState for Collaborative Frontend Development and State Management

By adopting the XState state‑machine library, the team transformed a complex, interactive page’s development from costly component‑wise coordination into a collaborative workflow where a small core group maintains a visual state graph while UI developers work on lightweight components, improving performance and reducing render overhead.

CollaborationReactState Management
0 likes · 12 min read
Using XState for Collaborative Frontend Development and State Management
Java High-Performance Architecture
Java High-Performance Architecture
Nov 8, 2022 · Backend Development

Designing High‑Performance E‑Commerce Order Systems: Architecture & Core Functions

This article examines the role of order systems in traditional e‑commerce enterprises, outlines their essential functional modules and design principles, explores upstream and downstream relationships, details core processes such as order creation, payment, fulfillment, and returns, and discusses future architectural evolution.

backend designe-commerce-architectureorder-system
0 likes · 17 min read
Designing High‑Performance E‑Commerce Order Systems: Architecture & Core Functions
IT Architects Alliance
IT Architects Alliance
Nov 6, 2022 · Industry Insights

How Modern E‑Commerce Order Systems Are Designed and Evolve

This article examines the role of order systems in traditional e‑commerce enterprises, outlines their core functional modules, maps upstream and downstream relationships, details the end‑to‑end order lifecycle—including creation, payment, fulfillment, confirmation, completion and reverse processes—and discusses future architectural trends and challenges.

backend designe-commerce-architectureindustry insights
0 likes · 14 min read
How Modern E‑Commerce Order Systems Are Designed and Evolve
Architect's Guide
Architect's Guide
Oct 28, 2022 · Backend Development

Design and Architecture of Enterprise E‑Commerce Order Systems

This article explains the role of an order system in traditional e‑commerce enterprises, outlines its main functional modules and design ideas, describes the forward and reverse order processes, state‑machine management, and discusses future architectural evolution and best‑practice considerations.

Order Workflowbackend architecturee-commerce
0 likes · 13 min read
Design and Architecture of Enterprise E‑Commerce Order Systems
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 8, 2022 · Mobile Development

RTC Framework Design for Cloud Music Apps: A Unified Real-Time Communication Architecture

The article describes NetEase Cloud Music’s unified real‑time communication framework, which consolidates disparate audio/video features into a single, container‑based architecture using a common IPlayer interface, dynamic method generation, switchable players, and state‑machine management to streamline development, ensure business isolation, and provide seamless, controllable RTC services across all apps.

Decorator PatternFramework DesignKotlin
0 likes · 11 min read
RTC Framework Design for Cloud Music Apps: A Unified Real-Time Communication Architecture
vivo Internet Technology
vivo Internet Technology
Jul 13, 2022 · Backend Development

Workflow Engine Practice in Marketing Automation Platform

The article explains how marketing automation platforms adopt industrial‑grade workflow engines to streamline complex user‑journey processes, outlines sequential, state‑machine and rule‑driven engine types, describes a self‑developed engine’s core modules and service interfaces, and highlights performance, versioning, plugin and monitoring considerations.

Marketing Automationbackend developmentbusiness process
0 likes · 12 min read
Workflow Engine Practice in Marketing Automation Platform
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 13, 2022 · Fundamentals

Introduction to Finite State Machines and Their Application in Business Systems

This article introduces deterministic finite state machines, explains their core elements, discusses their advantages for code clarity and separation of concerns, and demonstrates a practical Java implementation for order processing in a commerce platform, including configuration, business logic, exception handling, and extensibility considerations.

Business LogicFinite State Machinestate machine
0 likes · 12 min read
Introduction to Finite State Machines and Their Application in Business Systems
Top Architect
Top Architect
May 9, 2022 · Backend Development

Design and Evolution of an E‑commerce Order System

This article examines the role of an order system in traditional e‑commerce enterprises, outlines its core functional modules, describes its upstream and downstream relationships, explains workflow and state‑machine design, and discusses future architectural evolution and best‑practice considerations.

backend architecturee-commerceorder-system
0 likes · 18 min read
Design and Evolution of an E‑commerce Order System
vivo Internet Technology
vivo Internet Technology
Apr 6, 2022 · Backend Development

State Machine Design and Implementation for Marketing Automation Activities

To orchestrate multi‑channel marketing activities, the article explains how a finite‑state machine models status flows, compares conditional, state‑pattern, and DSL implementations, evaluates Spring Statemachine, Squirrel, and Cola frameworks, and showcases Vivo’s high‑performance DSL‑based FSM as a practical solution.

BackendDSLFinite State Machine
0 likes · 18 min read
State Machine Design and Implementation for Marketing Automation Activities
Selected Java Interview Questions
Selected Java Interview Questions
Mar 24, 2022 · Backend Development

Design and Core Functions of an E‑commerce Order System

This article explains the roles, architecture, core modules, workflow engine, inventory management strategies, and state machine design of order systems in traditional e‑commerce enterprises, offering insights into their future development and integration with other business services.

backend architecturee-commerceorder-system
0 likes · 13 min read
Design and Core Functions of an E‑commerce Order System
dbaplus Community
dbaplus Community
Mar 22, 2022 · Fundamentals

Master Raft in 10 Minutes: A Clear Guide to Consensus Algorithms

This article demystifies consensus algorithms by explaining the difference between consistency and consensus, introducing the replicated state machine concept, and providing a concise, step‑by‑step walkthrough of the Raft algorithm—including state simplification, leader election, log replication, and safety guarantees.

Consensus AlgorithmLeader ElectionLog Replication
0 likes · 12 min read
Master Raft in 10 Minutes: A Clear Guide to Consensus Algorithms
IT Architects Alliance
IT Architects Alliance
Mar 15, 2022 · Backend Development

Designing a Scalable Order State Machine for Complex Transaction Systems

This article presents a comprehensive design of an order state machine for transaction systems, addressing multi‑state, multi‑type, multi‑scenario complexities through vertical business isolation, horizontal logic reuse, state pattern, template methods, validators, plugins, and consistency mechanisms between database updates and messaging.

Order Processingdesign patternsmessaging
0 likes · 30 min read
Designing a Scalable Order State Machine for Complex Transaction Systems
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 14, 2022 · Backend Development

How to Build a Scalable Multi‑State Order Processing Engine with State‑Machine Patterns

This article explains how to design a robust order‑status flow engine for transaction systems by applying state‑machine and strategy patterns, separating business logic vertically and horizontally, using annotations, context objects, plug‑in extensions, and ensuring scalability, maintainability, and message‑database consistency.

Order Processingdesign patternsstate machine
0 likes · 32 min read
How to Build a Scalable Multi‑State Order Processing Engine with State‑Machine Patterns
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Dec 31, 2021 · Game Development

Automated Test Case Script Writing and Framework Applications in Game Development

This article explains how to write automated test case scripts for game development, distinguishing good and bad test cases, detailing script language selection, state‑machine based Lua examples, timer usage, AI‑driven testing, performance and version checks, and best practices for maintainable, reliable automation.

AIautomated testingperformance testing
0 likes · 24 min read
Automated Test Case Script Writing and Framework Applications in Game Development
Kuaishou Tech
Kuaishou Tech
Dec 30, 2021 · Frontend Development

Micro‑Frontend Design and Loading Strategies: From Monolithic Workbench to Single‑spa

This article analyzes the challenges of monolithic admin workbenches, explains how micro‑frontend architecture—especially the single‑spa library—addresses routing, state‑machine coordination, resource loading, and lifecycle management, and compares practical loader implementations using Ajax and tag‑based approaches for production environments.

Frontend Architectureloader designmicro-frontend
0 likes · 17 min read
Micro‑Frontend Design and Loading Strategies: From Monolithic Workbench to Single‑spa
TAL Education Technology
TAL Education Technology
Nov 25, 2021 · Backend Development

Design and Implementation of a Code‑less Distributed Task Orchestration Platform for XES

This article presents a comprehensive design and implementation of a drag‑and‑drop, code‑less workflow orchestration system that abstracts business logic into DAG‑based state machines, detailing architecture, core data structures, Go code examples, and two practical use cases for arithmetic and data‑consumption scenarios.

BackendWorkflowcode-less
0 likes · 18 min read
Design and Implementation of a Code‑less Distributed Task Orchestration Platform for XES
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Nov 12, 2021 · Backend Development

Code-less Business Process Orchestration: Design, Implementation, and Application

This article presents a code-less business process orchestration framework that transforms static Go code into configurable drag‑and‑drop workflows, detailing the underlying concepts, architecture, core Go data structures, dynamic configuration, and practical deployment examples for distributed task scheduling and execution.

Workflowcloud-nativedistributed systems
0 likes · 18 min read
Code-less Business Process Orchestration: Design, Implementation, and Application
vivo Internet Technology
vivo Internet Technology
Oct 8, 2021 · Fundamentals

Applying Design Patterns to Improve Extensibility in Vivo Marketing Automation Engine

The Vivo Internet Server Team demonstrates how applying classic design patterns—factory, template method, strategy, and state—alongside finite‑state machines or workflow engines can dramatically improve the scalability, maintainability, and extensibility of a visual marketing automation engine for rapidly changing business scenarios.

Factory PatternMarketing AutomationStrategy Pattern
0 likes · 19 min read
Applying Design Patterns to Improve Extensibility in Vivo Marketing Automation Engine
Programmer DD
Programmer DD
Sep 10, 2021 · Backend Development

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

This article examines the role of order systems in traditional e‑commerce enterprises, outlines their core functional modules and architectural design, explains upstream and downstream relationships, details key processes such as order creation, payment, fulfillment, and reverse flows, and discusses future development directions and best practices.

e-commerce-architectureorder-systemprocess engine
0 likes · 15 min read
Designing Scalable E‑Commerce Order Systems: Architecture & Future Trends
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
Java High-Performance Architecture
Java High-Performance Architecture
Jul 7, 2021 · Backend Development

Designing Scalable E‑Commerce Order Systems: Architecture, Modules, and Workflow

This article outlines the essential role of order systems in traditional e‑commerce enterprises, detailing their responsibilities, core functional modules, relationships with upstream and downstream services, workflow processes, state management, and future development considerations to guide robust system design.

Workflowbackend designe-commerce-architecture
0 likes · 16 min read
Designing Scalable E‑Commerce Order Systems: Architecture, Modules, and Workflow
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 1, 2021 · Fundamentals

Mastering Distributed Consensus: Inside Raft and the SOFAJRaft Library

This article explains the fundamentals of distributed consensus algorithms, compares Paxos, Zab, and Raft, dives deep into Raft's leader election, log replication, and commit mechanics, and showcases the Java‑based SOFAJRaft library with its architecture, linearizable read optimizations, and real‑world use cases.

Distributed ConsensusLeader ElectionLog Replication
0 likes · 19 min read
Mastering Distributed Consensus: Inside Raft and the SOFAJRaft Library
Java High-Performance Architecture
Java High-Performance Architecture
May 30, 2021 · Backend Development

How to Design a Scalable E‑Commerce Order System: Roles, Architecture & Future Trends

This article explains the role of an order system in traditional e‑commerce enterprises, outlines its main functional modules and design thinking, describes its upstream and downstream relationships, details core features, process engine, state machine, and discusses future architectural evolution.

backend designe-commerce-architectureorder-system
0 likes · 15 min read
How to Design a Scalable E‑Commerce Order System: Roles, Architecture & Future Trends
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.

backend architecturee-commerceorder management
0 likes · 12 min read
Design and Architecture of an E‑commerce Order System
Liangxu Linux
Liangxu Linux
May 16, 2021 · Fundamentals

Mastering TCP: Handshakes, Teardowns, and State Machines Explained

This article provides a comprehensive guide to TCP’s core mechanisms, covering connection establishment via the three‑way handshake, graceful termination with the four‑step teardown, half‑open and half‑close scenarios, simultaneous open/close, initial sequence numbers, and detailed state‑transition diagrams, all illustrated with diagrams.

NetworkingTCPconnection
0 likes · 18 min read
Mastering TCP: Handshakes, Teardowns, and State Machines Explained
Amap Tech
Amap Tech
May 11, 2021 · Backend Development

Design and Implementation of a Scalable Order State Machine for Complex Multi‑Dimensional Order Processing

The article presents a scalable, two‑dimensional order state machine architecture that separates vertical business isolation via annotated StateProcessor classes from horizontal logic reuse through modular checkers and plugins, employing distributed locks, optimistic DB locking, and a registry to ensure extensible, consistent multi‑dimensional order processing.

ConcurrencyOrder Processingdesign patterns
0 likes · 30 min read
Design and Implementation of a Scalable Order State Machine for Complex Multi‑Dimensional Order Processing
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.

Workflowbackend architecturee-commerce
0 likes · 14 min read
Designing Scalable E‑Commerce Order Systems: Architecture, Modules & Future Trends
IT Architects Alliance
IT Architects Alliance
Mar 20, 2021 · Industry Insights

How Modern E‑Commerce Order Systems Are Structured and Evolve

This article analyzes the role, core modules, upstream/downstream relationships, business architecture, process engine, state machine, and future development trends of order systems in traditional e‑commerce enterprises, offering a comprehensive guide for designing scalable and maintainable order platforms.

backend designe-commerce-architectureorder-system
0 likes · 15 min read
How Modern E‑Commerce Order Systems Are Structured and Evolve
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 17, 2021 · Backend Development

How to Design Scalable Order Systems for Traditional E‑Commerce

This article examines the role of order systems in traditional e‑commerce, outlines their core modules and architecture, explains upstream/downstream relationships, details workflow and state‑machine design, and discusses future development directions for building robust, maintainable order platforms.

Workflowbackend designe-commerce-architecture
0 likes · 14 min read
How to Design Scalable Order Systems for Traditional E‑Commerce
Java Captain
Java Captain
Mar 13, 2021 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

The article chronicles the step‑by‑step evolution of a custom workflow engine, detailing how sequential approvals, countersign, parallel, conditional, delegation, timeout, rejection, nesting, and scripting features were incrementally added to support increasingly complex business processes.

DesignNodeWorkflow
0 likes · 9 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
Laravel Tech Community
Laravel Tech Community
Dec 11, 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 and architectural design, and discusses future development directions, covering system relationships, core processes, inventory and payment strategies, state‑machine management, and scalability considerations.

Workflowe-commerceinventory management
0 likes · 14 min read
Design and Core Functions of an E‑commerce Order System
Programmer DD
Programmer DD
Oct 29, 2020 · Backend Development

Designing Scalable E‑Commerce Order Systems: Architecture, Core Functions, and Future Trends

This article examines the role of order systems in traditional e‑commerce enterprises, outlines their main functional modules and architectural design, explains forward and reverse order flows, discusses inventory deduction strategies and state‑machine management, and explores future development directions for unified order platforms.

e-commerceorder-systemprocess engine
0 likes · 14 min read
Designing Scalable E‑Commerce Order Systems: Architecture, Core Functions, and Future Trends
Architecture Digest
Architecture Digest
Oct 2, 2020 · Backend Development

Design and Core Functions of an E‑commerce Order System

This article explains the role, architecture, key modules, workflow, state machine, and future evolution of an order system in traditional e‑commerce enterprises, providing a comprehensive guide for designing and improving order management solutions.

Workflowe-commerceinventory management
0 likes · 14 min read
Design and Core Functions of an E‑commerce Order System
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Jul 15, 2020 · Fundamentals

Mastering Paxos: A Step‑by‑Step Guide to Distributed Consensus

This article provides a comprehensive, step‑by‑step explanation of the Paxos consensus algorithm—including its basic principles, roles, prepare and accept phases, Multi‑Paxos extensions, leader election, and state‑machine integration—while offering practical insights for building reliable distributed systems.

Distributed ConsensusLeader ElectionMulti-Paxos
0 likes · 23 min read
Mastering Paxos: A Step‑by‑Step Guide to Distributed Consensus
58 Tech
58 Tech
Feb 14, 2020 · Backend Development

Finite State Machine Based Advertisement Status Management in the LEGO Advertising Platform

This article systematically introduces a finite state machine (FSM) based solution for managing advertisement status in the LEGO advertising platform, detailing the background challenges, problem review, two design alternatives (strategy‑factory pattern and configuration‑driven approach), their advantages, disadvantages, and a final recommendation.

AdvertisementConfiguration ManagementFSM
0 likes · 11 min read
Finite State Machine Based Advertisement Status Management in the LEGO Advertising Platform
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 6, 2019 · Backend Development

Why Your Java Service Breaks When Scaling and How to Fix It

This article examines five common Java backend pitfalls that startups face—single‑machine locking, improper multithreading, poorly defined workflows, unsafe system interactions, and non‑paginated queries—explains why they cause failures in distributed environments, and provides practical solutions such as distributed locks, message queues, state‑machine redesign, RPC interfaces, and pagination techniques.

JavaMessage QueueMultithreading
0 likes · 22 min read
Why Your Java Service Breaks When Scaling and How to Fix It
Programmer DD
Programmer DD
Sep 3, 2019 · Backend Development

Mastering Java State Machines with Enums: A Practical Guide

This article explains how Java developers can replace cumbersome if‑else status handling with a finite state machine implemented via enums, illustrating concepts, design patterns, and a complete example of an order‑delivery workflow, complete with diagrams and sample code.

Design PatternEnumJava
0 likes · 6 min read
Mastering Java State Machines with Enums: A Practical Guide
Mafengwo Technology
Mafengwo Technology
Apr 11, 2019 · Backend Development

Boosting Ticket Order Systems with State Machines: Design & Lessons

This article explores how applying finite state machines to a ticket order transaction system improves stability, scalability, and maintainability, detailing the system’s architecture, database design, framework selection, custom MSM implementation, and practical challenges such as transaction handling, action matching, asynchronous messaging, and concurrency control.

Asynchronous MessagingOrder Processingstate machine
0 likes · 12 min read
Boosting Ticket Order Systems with State Machines: Design & Lessons
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 28, 2018 · Backend Development

Evolution of ZhaiZhai Transaction System: From Monolithic Design to FSM‑Based Modular Architecture

This article chronicles the rapid growth of ZhaiZhai's second‑hand trading platform and explains how its transaction core was refactored from a single‑service monolith into a unified, configurable, FSM‑driven architecture that isolates business lines, abstracts common logic, and improves scalability and maintainability.

Distributed TasksOrder Processingbackend design
0 likes · 12 min read
Evolution of ZhaiZhai Transaction System: From Monolithic Design to FSM‑Based Modular Architecture
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 27, 2018 · Databases

Designing Optimal Order Status Fields: Best Practices for Database Schemas

This article analyzes common disagreements in designing an order status field for e‑commerce systems, explores business state modeling, evaluates dictionary representations, recommends using varchar2 with a separate dictionary table, and provides a comprehensive set of status values and their handling guidelines.

Database Designbackend developmente-commerce
0 likes · 19 min read
Designing Optimal Order Status Fields: Best Practices for Database Schemas
360 Tech Engineering
360 Tech Engineering
Jul 4, 2018 · Backend Development

Understanding and Avoiding Common Concurrency Bugs in Java

This article introduces the four major categories of multithreaded bugs—data races, atomicity failures, ordering failures, and deadlocks—explains their causes with Java examples, and provides practical techniques such as using state machines, volatile variables, consistent lock ordering, and proper exception handling to prevent them.

Data RaceJavaMultithreading
0 likes · 7 min read
Understanding and Avoiding Common Concurrency Bugs in Java
21CTO
21CTO
Jul 12, 2017 · Fundamentals

Why Logs Are the Hidden Backbone of Distributed Systems and Real‑Time Data

This note distills Jay Kreps' extensive blog on logs, explaining their core role in distributed databases, real‑time data pipelines, replication, and state‑machine consistency, and showing how logs unify concepts from version control to streaming architectures.

data replicationlogsreal-time-data
0 likes · 12 min read
Why Logs Are the Hidden Backbone of Distributed Systems and Real‑Time Data
Qunar Tech Salon
Qunar Tech Salon
Sep 21, 2016 · Fundamentals

Understanding the TCP State Machine: Handshake, Four‑Way Termination, and Practical Experiments

This article explains the TCP three‑way handshake, four‑way termination, and related state transitions, illustrates uncommon scenarios such as simultaneous open and close, discusses half‑open connections, fd‑leak effects, and presents Linux‑based experiments with client.go and server.go code samples.

Connection terminationLinuxNetworking
0 likes · 15 min read
Understanding the TCP State Machine: Handshake, Four‑Way Termination, and Practical Experiments
Meituan Technology Team
Meituan Technology Team
Aug 5, 2016 · Backend Development

Optimizing Distributed Queue Programming: Producer, Consumer & Middleware Tips

This article examines practical optimization techniques for distributed queue systems, covering producer throughput and persistence improvements, cache and batch‑write strategies, middleware selection criteria, consumer ordering and serialization challenges, singleton service trade‑offs, leader‑election designs, and deduplication state‑machine implementations.

JavaLeader ElectionMiddleware Selection
0 likes · 30 min read
Optimizing Distributed Queue Programming: Producer, Consumer & Middleware Tips
WeChat Client Technology Team
WeChat Client Technology Team
Jun 22, 2016 · Fundamentals

Understanding Production‑Grade Paxos: How PhxPaxos Works and Its Engineering Secrets

This article explains the core principles and engineering details of the production‑grade Paxos library PhxPaxos, covering consistency concepts, the roles of proposer, acceptor and learner, instance management, state‑machine integration, performance optimizations, checkpointing, and correctness verification in distributed asynchronous environments.

ConsensusPaxosPhxPaxos
0 likes · 29 min read
Understanding Production‑Grade Paxos: How PhxPaxos Works and Its Engineering Secrets
WeChat Backend Team
WeChat Backend Team
Jun 22, 2016 · Fundamentals

How PhxPaxos Turns Paxos Theory into a Production‑Grade Consensus Library

This article provides a beginner-friendly, engineering-focused overview of the production‑grade Paxos library PhxPaxos, explaining the consensus protocol, its roles, instance management, state‑machine integration, performance optimizations, multi‑group deployment, and practical considerations such as disk durability, leader election, and log checkpointing.

Distributed ConsensusPaxosProduction-Grade
0 likes · 30 min read
How PhxPaxos Turns Paxos Theory into a Production‑Grade Consensus Library