What is Distributed Locking?
Distributed locking is a concurrency control mechanism that ensures only one scraper worker in a fleet can access a specific resource — a target URL, an authenticated session, or a specific proxy IP — at any given time. Without it, parallel workers will inevitably fetch the same page twice, trigger concurrent login bans, or blow past target rate limits. It's the synchronization layer that makes horizontal scaling safe.