~/talk

Postgres as an Execution Environment for AI Workflows

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [databases, machine-learning]
links:none on file
slides:none on file

Postgres runs as an execution environment for AI pipelines but inheriting distributed failures: 200 concurrent DB connections cause 429 rate‑limit errors, 60,000+ rows lock and idle_in_transaction, retries amplify load and exhaust PG bouncer. Remedies shown include PGNet and PG cron background workers, PG advisory locks, audit/outbox tables, listen/notify and staging for idempotent writes. The presentation proposes concrete primitives — outbound-call abstraction with budgets and circuit breaking and official lineage/tracing hook — to make these patterns safe and repeatable.

AI-written summary · about

  1. 0:00Introduction to Postgres AI workflows
  2. 5:18Why Postgres for AI workloads
  3. 7:01Introducing the ORBIT framework
  4. 10:10Traditional vs execution environment view
  5. 11:13AI use case risk levels
  6. 14:22Production failure reality
  7. 17:11Outbox call challenges
  8. 20:46Rate limit enforcement
  9. 23:14Idempotency in AI pipelines
  10. 25:19Trigger vs background worker issues
  11. 29:14ORBIT background worker importance
  12. 31:41Observability gaps in Postgres
  13. 33:25PL/Python and PGNet alternatives
  14. 37:39AI workflow state management
  15. 39:45Missing Postgres primitives for AI
  16. 43:39Future Postgres AI enhancements
  17. 44:01Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.