← Course map

GO LEARNING PATH · 5 LESSONS

Around Go: SQL services

Shared pools, rows, transactions, isolation, deadlocks and retry-safe commands.

  1. SQL: one pool, explicit capacity and observable waiting

    Configure database/sql as a shared pool and measure its actual pressure.

    3 min · Worked lesson

  2. SQL rows: close, check errors and bound the result

    Write a cancellation-aware query loop without losing iteration failures.

    3 min · Worked lesson

  3. SQL transactions: every participating call uses the transaction

    Place an atomic business transition inside one explicit transaction owner.

    3 min · Worked lesson

  4. SQL isolation and deadlocks: test the business invariant

    Explain why atomic statements alone may not preserve a multi-row invariant.

    3 min · Worked lesson

  5. SQL retries: restart a safe transaction, reconcile an unknown result

    Separate retryable transaction aborts from an ambiguous committed operation.

    3 min · Worked lesson