All posts
16 Jul 2026, 04:15 amvia dev.to

Two Workers Both Held the 'Only One' Lock. The Clock Was Never Synced.

codingdevelopers

The problem

We had a nightly billing-reconciliation job that was only supposed to run once. To enforce that across three worker instances, we did the standard thing: grab a Redis lock with SET lock:reconcile NX PX 30000 before starting, relea…

Source: dev.to

Read the full article on dev.to →


Curated for students by Skill Horizon. Want help applying these ideas to your project? Talk to a mentor for a free consultation.

Read full article on dev.to

Want help with your project?

Talk to a mentor for a free consultation — projects, papers, internships & more.