~/talk

A Journey to Postgres Productivity with Go

Talkat GopherCon 2020 · 2020-11-09..11-13· [databases, go]
links:none on file
slides:none on file

Recommend Postgres with Go using a concrete stack: pgx driver plus pgx copy_from for bulk inserts that show an order‑of‑magnitude speedup in the demo, migrations with golang-migrate embedded via go:generate, queries generated by sqlc type-safe generation (it uses Postgres’ parser to catch mismatches), dynamic filters with squirrel, and integration tests run against real databases using dockertest (example start under 5 seconds). The repo is a gRPC server with streaming that works end to end.

AI-written summary · about

  1. 0:00Start
  2. 1:10State management
  3. 1:56In memory
  4. 5:01Document stores
  5. 9:17Problems with standard library
  6. 10:51Postgres tooling
  7. 12:45Query builders
  8. 13:37The five pillars of our Postgres stack
  9. 14:10Example repo
  10. 21:50golang-migrate/migrate
  11. 22:33Writing migrations
  12. 23:41Integrating the migrations
  13. 33:33Dynamic query building
  14. 34:20Masterminds/squirrel
  15. 46:23Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.