Skip to main content

SQL and databases


Platform · SQL

Platform concern — Make persistence predictable under concurrency, retries, migrations, and partial failure.
A query boundary with transaction ownership, pool limits, migration discipline, and safe errors.

Key concepts

Pool

Finite connections

Transaction

Atomic unit

Migration

Compatible step

Operating model

Decisions to make before production

Boundary and failure behavior

Database behavior dominates many heavy workloads; correctness and saturation matter before query micro-optimizations.

Questions for review

Implementation notes

Decision lens

References

Last modified on September 10, 2026