~/talk

How I made a powerful cache system using Go

Talkat ContainerDays 2022 · 2022-09-05..09-07· [go, databases]
slides:none on file

A cache proxy called swan is written in Go and ships as middleware for Traefik, Caddy and others, using Badger or pluggable providers and a YAML config. It claims first call 14 ms then cached <3 ms, implements request coalescing via singleflight, exposes JWT‑protected APIs to list keys and purge by id/regex/tag, and runs as version 1.6.19. Configuration hot‑reload, TTL/tag invalidation, and async backend updates are implemented; benchmarks show thousands of requests with max latencies in the tens of milliseconds.

AI-written summary · about

  1. 0:00Start
  2. 7:43The power of
  3. 14:36YAML configuration
  4. 26:39Cache management
  5. 27:20Security API
  6. 28:09How to code this?
  7. 32:59Run E2E tests on plugin
  8. 33:42Generate docker
  9. 34:09Generate artefacts
~/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.