~/talk

How Doctrine Caching Can Skyrocket Your Application

Talkat PHP UK Conference 2018 · 2018-02-14..02-16· [databases, web-performance]
slides:none on file

Explains concrete wins and limits: Doctrine 2.5 Second Level Cache stores identifiers and raw values (not hydrated objects) and cuts database round-trips; enabling metadata + query cache yields an immediate performance spike; result cache saves SQL result but still requires hydration; caching modes are read-only, non-strict readwrite, read/write (locks required); tracking policies include deferred implicit/explicit and the fastest notify tracking policy which requires manual change notifications; limitations: single primary keys, cross-process invalidation needed, hydrated-entity caching is fragile.

AI-written summary · about

  1. 0:00Start
  2. 1:28WHAT IS DOCTRINE
  3. 12:01ENTITYMANAGER
  4. 13:10TRANSACTIONAL WRITE- BEHIND
  5. 16:48HYDRATION
  6. 23:11TRACKING CHANGES
  7. 24:52CHANGE TRACKING POLICIES
  8. 28:17FURTHER IMPROVEMENTS
  9. 39:57HYDRATED RESULT
  10. 40:08REPOSITORY DECORATOR
  11. 41:47SECOND LEVEL CACHING
  12. 46:13QUERY CACHE: DELETE / UPDATE QUERIES
~/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.