Tag

distributed transaction

0 views collected around this technical thread.

Java Captain
Java Captain
Jun 3, 2025 · Backend Development

Implementation of Order Service with Distributed Transactions, Locks, and Asynchronous Processing in Java

This article explains how to build a robust order service using Seata distributed transactions, Redisson distributed locks, CompletableFuture for asynchronous operations, token-based duplicate‑submission prevention, and RabbitMQ delayed queues for automatic order cancellation, with full Java code examples.

Distributed LockJavaRabbitMQ
0 likes · 21 min read
Implementation of Order Service with Distributed Transactions, Locks, and Asynchronous Processing in Java
Architect
Architect
Apr 13, 2025 · Fundamentals

Account Bookkeeping Theory, Design, and Performance in Payment Platforms

This article explains the accounting equation, double‑entry bookkeeping, and the core account architecture of third‑party payment platforms, covering internal account types, balance, transaction logs and vouchers, performance challenges such as distributed transactions and hotspot accounts, and proposes solutions like pre‑debit/post‑credit, balance simplification, merged posting, and multi‑account designs.

accountingbookkeepingdistributed transaction
0 likes · 18 min read
Account Bookkeeping Theory, Design, and Performance in Payment Platforms
Cognitive Technology Team
Cognitive Technology Team
Apr 12, 2025 · Backend Development

Implementation Principles of RocketMQ Distributed Transaction Messages

The article explains how RocketMQ implements distributed transaction messages using a two‑phase commit model to ensure data consistency across micro‑service subsystems, detailing the workflow from half‑message production, broker handling, local transaction execution, commit/rollback decisions, and periodic status checks.

Message QueueTwo-Phase Commitbackend development
0 likes · 7 min read
Implementation Principles of RocketMQ Distributed Transaction Messages
macrozheng
macrozheng
Jan 7, 2025 · Backend Development

8 Real-World Scenarios for Using Message Queues in Modern Applications

This article explores eight practical use cases for message queues—including asynchronous processing, service decoupling, traffic shaping, delayed tasks, log collection, distributed transactions, remote calls, and broadcast notifications—providing code examples and architectural guidance for building robust backend systems.

Message QueueService DecouplingSpring Boot
0 likes · 13 min read
8 Real-World Scenarios for Using Message Queues in Modern Applications
Tencent Cloud Developer
Tencent Cloud Developer
Nov 13, 2024 · Backend Development

Design and Implementation of an E‑commerce Coupon System

The article details a high‑concurrency e‑commerce coupon system that separates creation and distribution, uses Redis‑Lua atomic stock deduction with asynchronous replenishment and coupon generation, employs a lightweight distributed‑transaction table, and adds bucket and batch optimizations to safely handle tens of thousands of TPS.

Redis Luabackend developmentcoupon system
0 likes · 11 min read
Design and Implementation of an E‑commerce Coupon System
macrozheng
macrozheng
Jun 25, 2024 · Backend Development

7 Real-World Message Queue Patterns Every Backend Engineer Should Master

This article explores seven classic message‑queue use cases—from asynchronous decoupling and traffic‑shaping to delayed tasks, broadcast consumption, distributed transactions, and using Kafka as a data hub—illustrated with real‑world examples and code snippets.

Broadcast ConsumptionDelayed MessageKafka
0 likes · 12 min read
7 Real-World Message Queue Patterns Every Backend Engineer Should Master
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 26, 2023 · Backend Development

How to Configure Seata with Nacos in Spring Boot: A Step‑by‑Step Guide

This guide walks through setting up Seata's configuration and registry centers using Nacos, creating the required config files, initializing the database, and implementing account and storage services in a Spring Boot micro‑service project, complete with code samples and verification steps.

JavaNacosSpring Boot
0 likes · 12 min read
How to Configure Seata with Nacos in Spring Boot: A Step‑by‑Step Guide
Qunar Tech Salon
Qunar Tech Salon
May 30, 2023 · Databases

Smooth Migration to Sharding: Design, Implementation, and Componentization of Qunar's Database Sharding Solution

This article describes the challenges of migrating a long‑running monolithic database to a sharded architecture, presents a two‑stage smooth migration strategy using double‑write, diff verification, and mapping‑key techniques, and details the componentized design, core implementation, and configuration of a reusable sharding framework built on MyBatis and Spring.

Data SynchronizationMyBatisSharding
0 likes · 34 min read
Smooth Migration to Sharding: Design, Implementation, and Componentization of Qunar's Database Sharding Solution
Architecture Digest
Architecture Digest
May 17, 2023 · Backend Development

Step-by-Step Guide to Setting Up Nacos and Seata for Distributed Transactions in Spring Cloud Alibaba

This tutorial walks through the complete environment setup, including rapid installation of Nacos with MySQL mode, configuring Seata 1.5.0 for distributed transactions, creating the required MySQL tables, building micro‑services with Spring Boot, defining Feign clients, enabling global transactions, testing the workflow, and noting important version compatibility issues.

MySQLNacosSpring Cloud Alibaba
0 likes · 15 min read
Step-by-Step Guide to Setting Up Nacos and Seata for Distributed Transactions in Spring Cloud Alibaba
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.

ShardingState MachineTransaction
0 likes · 12 min read
Design and Implementation of a Scalable Transaction Platform for Vivo Global Mall
Top Architect
Top Architect
Nov 6, 2022 · Backend Development

Implementing Distributed Transactions with RocketMQ Transaction Messages

This article explains the concept of distributed transactions, presents typical micro‑service scenarios that generate them, and demonstrates a complete solution using RocketMQ transaction messages together with SQL table definitions and Java code for producers, transaction listeners, and consumers to achieve eventual consistency.

JavaSQLTransactional Messaging
0 likes · 14 min read
Implementing Distributed Transactions with RocketMQ Transaction Messages
Wukong Talks Architecture
Wukong Talks Architecture
Aug 11, 2022 · Fundamentals

Common Pitfalls and Core Concepts of Distributed Systems, Message Queues, Caching, Sharding, and Transactions

This article provides a comprehensive overview of distributed system fundamentals—including CAP and BASE theories—while detailing typical pitfalls and mitigation strategies for message queues, distributed caches, database sharding, and distributed transactions, helping engineers decide when and how to adopt distributed architectures.

BASE modelCAP theoremMessage Queue
0 likes · 23 min read
Common Pitfalls and Core Concepts of Distributed Systems, Message Queues, Caching, Sharding, and Transactions
Code Ape Tech Column
Code Ape Tech Column
Jun 17, 2022 · Databases

Understanding Local Transactions in Sharding-JDBC and Their Limits for Distributed Transactions

This article explains why the @Transactional annotation in Sharding-JDBC can roll back across multiple databases in some scenarios, clarifies the cases it truly supports, details the internal rollback implementation, and outlines the situations where local transactions cannot guarantee distributed consistency.

JavaLocal TransactionSharding-JDBC
0 likes · 8 min read
Understanding Local Transactions in Sharding-JDBC and Their Limits for Distributed Transactions
macrozheng
macrozheng
May 27, 2022 · Backend Development

Designing a Scalable Coupon System: From Distribution to Redemption

This article explains the end‑to‑end design of a coupon system for e‑commerce, covering promotion types, core workflows, service architecture, database schema, distributed transaction handling, scaling strategies, rate limiting, and consistency mechanisms such as TCC.

Redisbackend designcoupon system
0 likes · 15 min read
Designing a Scalable Coupon System: From Distribution to Redemption
Shopee Tech Team
Shopee Tech Team
May 5, 2022 · Backend Development

seadt: Golang Distributed Transaction Solution – Design, Integration, and Code Implementation

seadt is a Golang‑based TCC distributed‑transaction framework for Shopee Financial Products that lets initiators run multi‑service operations as if they were local DB actions, providing TM, RM, and TC components, automatic proxy generation, and robust handling of empty commits, rollbacks, hanging branches, and concurrency issues.

Transaction Managementdistributed transactiongolang
0 likes · 32 min read
seadt: Golang Distributed Transaction Solution – Design, Integration, and Code Implementation
Wukong Talks Architecture
Wukong Talks Architecture
Mar 24, 2022 · Backend Development

Microservice Ecosystem Overview with Spring Cloud Alibaba: Components, Configuration, and Code Examples

This article provides a comprehensive overview of the microservice ecosystem built on Spring Cloud Alibaba, detailing essential modules such as service registration, discovery, load balancing, configuration, messaging, gateway, circuit breaking, distributed tracing, and transaction management, and includes practical code snippets and configuration examples for each component.

Distributed TracingLoad BalancingSpring Cloud Alibaba
0 likes · 21 min read
Microservice Ecosystem Overview with Spring Cloud Alibaba: Components, Configuration, and Code Examples
IT Architects Alliance
IT Architects Alliance
Feb 3, 2022 · Backend Development

Common Issues in Message Queues and Distributed Transaction Solutions

This article explains the typical problems encountered with message queues, such as message loss, duplicate delivery, and distributed transaction handling, and details various solutions including local message tables, MQ‑based transactions, and the specific mechanisms used by RocketMQ, Kafka, and RabbitMQ to ensure reliability and consistency.

KafkaMQMessage Queue
0 likes · 20 min read
Common Issues in Message Queues and Distributed Transaction Solutions
Java Tech Enthusiast
Java Tech Enthusiast
Oct 19, 2021 · Backend Development

Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot

To handle distributed transactions in micro‑service systems, the article compares 2PC, TCC, maximum‑effort notification and reliable messaging, then shows how Spring Boot can use RabbitMQ delayed queues—leveraging dead‑letter exchanges, TTL and routing—to achieve eventual consistency for order‑payment workflows.

2PCDelayed QueueRabbitMQ
0 likes · 11 min read
Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot