Skip to content

Add lesson 38: Locking#98

Merged
exekias merged 1 commit into
mainfrom
lesson/38-locking
Jul 14, 2026
Merged

Add lesson 38: Locking#98
exekias merged 1 commit into
mainfrom
lesson/38-locking

Conversation

@exekias

@exekias exekias commented Jul 2, 2026

Copy link
Copy Markdown
Member

Adds Locking (roadmap item 02-locking) — the new Module 9: Concurrency.

Summary

Explicit locks in Postgres — SELECT … FOR UPDATE, the read-modify-write pattern, NOWAIT and SKIP LOCKED for job queues, and reading pg_locks.

Check

One query-returns check (transfer-locked) — the learner performs a SELECT FOR UPDATE read-modify-write, verified by the resulting balances.

Verified end-to-end against a non-superuser Postgres 16. npm run lessons:validate (34/34) and next build both pass.

Part of #6

🤖 Generated with Claude Code

Part of #6

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-postgres Ready Ready Preview Jul 2, 2026 3:06pm

@exekias exekias merged commit 3866076 into main Jul 14, 2026
3 checks passed
@exekias exekias deleted the lesson/38-locking branch July 14, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant