Tag

timeout handling

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Apr 7, 2025 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

The article explains a simplified order‑payment flow, identifies common causes of lost orders and duplicate payments, and provides practical backend strategies such as intermediate payment states, timeout queries, idempotent notifications, and Redis‑based duplicate‑submission protection.

Idempotencyduplicate submissionorder processing
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 10, 2024 · Databases

Understanding InnoDB Lock‑Wait Timeout Thread and Its Processing Logic

This article explains the inner workings of InnoDB’s lock‑wait timeout thread, detailing how it scans waiting slots, identifies timed‑out transactions, processes timeout logic, and notifies the affected transactions, while also covering related data structures and configuration variables.

Database InternalsInnoDBMySQL
0 likes · 8 min read
Understanding InnoDB Lock‑Wait Timeout Thread and Its Processing Logic
DevOps
DevOps
Jun 26, 2024 · Backend Development

Understanding Distributed Transaction Challenges and Practical Solutions in Microservices

This article analyzes why distributed transactions are difficult in large‑scale microservice architectures, explains the importance of unique transaction IDs, idempotency, and timeout handling, and presents pragmatic approaches such as local logging, undo‑log tables, NoSQL ID arrays, and selective locking to achieve reliable consistency.

DatabaseIdempotencydistributed transactions
0 likes · 15 min read
Understanding Distributed Transaction Challenges and Practical Solutions in Microservices
Tencent Cloud Developer
Tencent Cloud Developer
Jun 25, 2024 · Backend Development

Understanding the Challenges of Distributed Transactions in Microservices

The article explains that distributed transactions in micro‑service architectures are difficult because they must guarantee atomicity across heterogeneous services, handle time‑outs, and reconcile results using unique transaction IDs, undo‑logs, or NoSQL strategies, while balancing locking, availability, and consistency trade‑offs.

Idempotencydistributed transactionslocking
0 likes · 18 min read
Understanding the Challenges of Distributed Transactions in Microservices
Test Development Learning Exchange
Test Development Learning Exchange
Feb 5, 2024 · Fundamentals

Handling Asynchronous Operations and Waiting in Python Playwright

This article explains how to handle asynchronous operations and waiting in Python Playwright using proper wait conditions, explicit waits, and condition variables to improve test stability.

AsynchronousPlaywrightPython
0 likes · 6 min read
Handling Asynchronous Operations and Waiting in Python Playwright
Selected Java Interview Questions
Selected Java Interview Questions
Nov 22, 2023 · Backend Development

Thread Pool Pitfalls and Best Practices in Java Backend Development

This article analyzes a real production incident caused by improper thread‑pool usage, explains common misconceptions about core parameters, demonstrates faulty code examples, and provides concrete recommendations for configuring thread pools, handling timeouts, and avoiding deadlocks in Java backend services.

CompletableFutureJava ConcurrencySpring Async
0 likes · 14 min read
Thread Pool Pitfalls and Best Practices in Java Backend Development
Tencent Cloud Developer
Tencent Cloud Developer
Apr 26, 2022 · Backend Development

Understanding Distributed Transactions in Microservices: Challenges and Practical Solutions

The article explains why distributed transactions in micro‑service architectures are hard—due to remote failures, timeouts, and lack of atomic guarantees—and outlines practical approaches such as unique transaction IDs, audit logs, SQL/NoSQL persistence, TCC, Saga or compensation patterns to achieve reliable consistency while balancing availability.

Backend DevelopmentIdempotencydistributed transactions
0 likes · 17 min read
Understanding Distributed Transactions in Microservices: Challenges and Practical Solutions
Architecture Digest
Architecture Digest
Jan 20, 2022 · Backend Development

Preventing Order Loss in Payment Systems: Best Practices and Strategies

This article explains the typical order flow in payment systems, identifies external and internal order loss scenarios, and provides concrete measures such as adding a "payment in progress" state, setting timeout queries, ensuring idempotent notifications, and using Redis hashes to avoid duplicate submissions.

IdempotencyPayment GatewayRedis
0 likes · 5 min read
Preventing Order Loss in Payment Systems: Best Practices and Strategies