~/talk

Demystifying cache in Doctrine ORM

Talkat phpDay 2018 · 2018-05-11..05-12· [php, databases]

Explains concrete levers: Doctrine ORM metadata cache via opcache files speeds startup, query cache stores DQL→SQL translations, result cache holds full result sets with TTL, and second-level cache with read-only / non-strict read/write / read-write modes handles entity, collection and query regions and performs invalidation. Recommends Redis for caches, namespace per deployment plus cache warmup to avoid a stampede, warns about distributed lock limits and gives versions: Doctrine 2.6.1 requires PHP 7.1 and Doctrine 3 is being rewritten.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Why Doctrine
  3. 2:28Maintainability
  4. 5:52Concurrency
  5. 7:22Doctrine
  6. 9:59Entity Manager
  7. 11:11Unit of Work
  8. 12:13The Big Bowl of Mud
  9. 13:47Hydration
  10. 16:43External API
  11. 22:13Query
  12. 25:21Second level cache
  13. 30:10Query cache
~/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.