GO LEARNING PATH · 5 LESSONS
Around Go: SQL services
Shared pools, rows, transactions, isolation, deadlocks and retry-safe commands.
SQL: one pool, explicit capacity and observable waiting
Configure database/sql as a shared pool and measure its actual pressure.
3 min · Worked lesson
SQL rows: close, check errors and bound the result
Write a cancellation-aware query loop without losing iteration failures.
3 min · Worked lesson
SQL transactions: every participating call uses the transaction
Place an atomic business transition inside one explicit transaction owner.
3 min · Worked lesson
SQL isolation and deadlocks: test the business invariant
Explain why atomic statements alone may not preserve a multi-row invariant.
3 min · Worked lesson
SQL retries: restart a safe transaction, reconcile an unknown result
Separate retryable transaction aborts from an ambiguous committed operation.
3 min · Worked lesson