Tag

seata

0 views collected around this technical thread.

macrozheng
macrozheng
Jun 5, 2025 · Backend Development

How to Integrate Dubbo with Seata for Distributed Transactions in Spring Boot

This tutorial walks through integrating Dubbo with Seata in a Spring Boot microservice architecture, showing how to create service interfaces, configure Maven dependencies, set up Nacos discovery, implement distributed transaction logic, test normal and rollback scenarios, and externalize Seata server addresses for scalable deployments.

DubboSpring Bootdistributed transactions
0 likes · 19 min read
How to Integrate Dubbo with Seata for Distributed Transactions in Spring Boot
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
Lobster Programming
Lobster Programming
May 6, 2025 · Backend Development

Mastering Seata TCC: A Practical Guide to Distributed Transactions

Learn how Seata's TCC mode addresses distributed transaction challenges when AT mode cannot handle non-relational resources, by detailing its three-phase workflow, handling of common anomalies like empty rollbacks, idempotency, and hanging, and weighing its benefits against complexity.

BackendCompensating Transactionsdistributed transactions
0 likes · 7 min read
Mastering Seata TCC: A Practical Guide to Distributed Transactions
Lobster Programming
Lobster Programming
Apr 23, 2025 · Backend Development

How Seata’s AT Mode Implements Two-Phase Commit for Distributed Transactions

This article explains Seata’s AT transaction mode, its reliance on the classic two‑phase commit protocol, the roles of TC, TM, and RM, and how snapshot‑based SQL interception ensures consistency and rollback in microservice architectures.

Two-Phase Commitbackend developmentdistributed transactions
0 likes · 6 min read
How Seata’s AT Mode Implements Two-Phase Commit for Distributed Transactions
macrozheng
macrozheng
Dec 23, 2024 · Backend Development

Why MyBatis‑Plus ID Collisions Occur and How Seata’s Optimized Snowflake Solves Them

This article explains the primary‑key duplication issue caused by MyBatis‑Plus in clustered Docker/K8S environments, analyzes the limitations of the standard Snowflake algorithm, and presents Seata’s improved Snowflake implementation that provides globally unique, high‑performance IDs while minimizing database page splits.

BackendMySQLdistributed ID
0 likes · 19 min read
Why MyBatis‑Plus ID Collisions Occur and How Seata’s Optimized Snowflake Solves Them
IT Services Circle
IT Services Circle
Dec 9, 2024 · Backend Development

Optimized Snowflake ID Generation with Seata: Solving MyBatis-Plus Duplicate Key Issues

This article analyzes why MyBatis-Plus generates duplicate primary keys in clustered Docker/K8S environments due to worker‑id and datacenter‑id collisions, introduces Seata's improved Snowflake algorithm that decouples from the OS clock, explains its implementation with Java code, and shows how to integrate it as a global ID generator to improve database performance and avoid page splits.

JavaMyBatis-Plusdatabase performance
0 likes · 18 min read
Optimized Snowflake ID Generation with Seata: Solving MyBatis-Plus Duplicate Key Issues
Sanyou's Java Diary
Sanyou's Java Diary
Nov 11, 2024 · Backend Development

Mastering Distributed Transactions: From 2PC to Seata AT Mode

This article explains the fundamentals of ACID transactions, the challenges of multi‑data‑source operations, surveys common distributed‑transaction solutions such as 2PC, 3PC, TCC, transaction‑status tables and message‑queue based eventual consistency, and then details the implementation of Seata’s AT mode in a micro‑service e‑commerce scenario.

2PCAT ModeMessage Queue
0 likes · 31 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
Code Ape Tech Column
Code Ape Tech Column
Oct 16, 2024 · Backend Development

Distributed Transaction Solutions and Seata: Theory, Configuration, and AT Mode Implementation

This article provides a comprehensive overview of mainstream distributed transaction solutions, explains the CAP theorem and consistency models, compares various approaches such as 2PC, 3PC, TCC, Saga, and demonstrates how to configure and use Seata's AT mode in a micro‑service environment.

2PCAT ModeJava
0 likes · 39 min read
Distributed Transaction Solutions and Seata: Theory, Configuration, and AT Mode Implementation
Code Ape Tech Column
Code Ape Tech Column
Oct 9, 2024 · Backend Development

Implementing TCC Transaction Mode with Seata: Concepts, Types, and Code Example

This article explains the TCC (Try‑Confirm‑Cancel) distributed transaction model, its three phases, three practical variants, and provides a complete Seata‑based Java implementation with code samples, exception handling strategies, and deployment tips for backend services.

BackendJavadistributed transactions
0 likes · 17 min read
Implementing TCC Transaction Mode with Seata: Concepts, Types, and Code Example
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 12, 2024 · Backend Development

Comprehensive Guide to Seata Distributed Transaction Framework

This article provides an in‑depth overview of Seata, an open‑source distributed transaction solution, covering its core components, workflow, and the four transaction modes (AT, TCC, SAGA, XA) along with their characteristics and usage in microservice architectures.

Transaction Modesbackend developmentdistributed transactions
0 likes · 7 min read
Comprehensive Guide to Seata Distributed Transaction Framework
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 7, 2024 · Backend Development

Mastering Seata AT Mode: A Step‑by‑Step Guide for Distributed Transactions

This article explains how to set up and use Seata's AT mode with Spring Boot, Spring Cloud, and Alibaba components, providing detailed configuration, code examples, database scripts, and testing procedures to achieve reliable distributed transaction management in microservice architectures.

AT ModeDatabaseSpring Cloud
0 likes · 15 min read
Mastering Seata AT Mode: A Step‑by‑Step Guide for Distributed Transactions
Lobster Programming
Lobster Programming
Apr 23, 2024 · Backend Development

Comparing Distributed Transaction Strategies: Local Messages, RocketMQ, and Seata (AT & TCC)

This article compares four distributed transaction solutions—local message tables, RocketMQ transactional messages, Seata AT mode, and Seata TCC mode—detailing their advantages, limitations, workflow phases, and common exception‑handling techniques for ensuring data consistency across services.

Transactional Messagingbackend architecturedistributed transactions
0 likes · 6 min read
Comparing Distributed Transaction Strategies: Local Messages, RocketMQ, and Seata (AT & TCC)
Architect's Tech Stack
Architect's Tech Stack
Dec 29, 2023 · Cloud Native

Spring Cloud Alibaba Core Components and Practices: Nacos, Sentinel, Seata, RocketMQ

This article provides a comprehensive overview of Spring Cloud Alibaba’s core features—including Nacos service registration and configuration, Sentinel flow‑control and degradation rules, Seata distributed transaction modes, RocketMQ messaging capabilities, as well as guidance on service discovery, security, gray releases, and dynamic routing.

NacosSentinelSpring Cloud Alibaba
0 likes · 33 min read
Spring Cloud Alibaba Core Components and Practices: Nacos, Sentinel, Seata, RocketMQ
Sanyou's Java Diary
Sanyou's Java Diary
Sep 27, 2023 · Backend Development

Mastering Distributed Transactions: From 2PC to Seata AT Mode

This article explains ACID properties of single‑node transactions, the challenges of multi‑data‑source operations, surveys common distributed‑transaction solutions such as 2PC, 3PC, TCC, status‑table and message‑queue approaches, and details the implementation of Seata's AT mode with lock and rollback mechanisms.

2PCAT ModeMessage Queue
0 likes · 32 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
政采云技术
政采云技术
Sep 5, 2023 · Cloud Computing

Seata Distributed Transaction Framework: Architecture and Implementation

This article provides a comprehensive overview of Seata, a distributed transaction framework that ensures data consistency across microservices through four transaction modes: AT, XA, TCC, and Saga, each with distinct characteristics and use cases.

AT ModeSaga modeTCC mode
0 likes · 11 min read
Seata Distributed Transaction Framework: Architecture and Implementation
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
政采云技术
政采云技术
Jul 18, 2023 · Databases

Transaction Overview and Implementation Strategies: Database, Spring, and Distributed Solutions

This article explains the ACID properties of transactions and compares various implementation approaches—including database‑level mechanisms, Spring single‑datasource transactions, and distributed transaction frameworks such as Seata and RocketMQ—while analyzing their advantages, drawbacks, and suitable scenarios.

ACIDDatabaseSpring
0 likes · 9 min read
Transaction Overview and Implementation Strategies: Database, Spring, and Distributed Solutions
Sanyou's Java Diary
Sanyou's Java Diary
Jul 13, 2023 · Backend Development

Mastering Distributed Transactions with Seata: Theory, Options, and Hands‑On Practice

This article explains the concept of distributed transactions, compares common solutions such as 2PC, 3PC, TCC, and message‑based eventual consistency, and provides a detailed walkthrough of configuring and using the Seata middleware—including AT mode workflow, server and client setup, and real‑world testing—so developers can confidently implement reliable cross‑service transactions.

2PCAT ModeTransaction Management
0 likes · 18 min read
Mastering Distributed Transactions with Seata: Theory, Options, and Hands‑On Practice
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
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 ArchitectureState Machine
0 likes · 11 min read
vivo Transaction Platform: Architecture Design and Key Technical Solutions