Tag

pessimistic locking

0 views collected around this technical thread.

Architects' Tech Alliance
Architects' Tech Alliance
Jan 25, 2019 · Fundamentals

Optimistic vs Pessimistic Locking: Choosing the Right Concurrency Control Strategy

The article explains the concepts, advantages, disadvantages, and practical selection criteria of optimistic and pessimistic locking in concurrent systems, illustrating the ideas with version‑control examples and offering implementation tips for both database and web applications.

Databaseconcurrency controloptimistic locking
0 likes · 10 min read
Optimistic vs Pessimistic Locking: Choosing the Right Concurrency Control Strategy
Baixing.com Technical Team
Baixing.com Technical Team
Feb 8, 2018 · Backend Development

How to Solve Data Races with Lightweight Distributed Locks in High‑Concurrency Systems

This article explains how to avoid data races in high‑traffic distributed systems by comparing pessimistic and optimistic concurrency control, demonstrating RDBMS row locks and a Redis‑based distributed lock implementation with Python code examples.

PythonRDBMSconcurrency control
0 likes · 16 min read
How to Solve Data Races with Lightweight Distributed Locks in High‑Concurrency Systems