Preventing Duplicate Records with FOR UPDATE Locking in Concurrent Queueables
How concurrent Queueable jobs create race conditions that lead to duplicate records, and how FOR UPDATE locking, External ID Upsert, and dedup queries provide defense-in-depth.