~/talk

How Redis broke our application

TalkinItalianat laravelday 2023 · on Thursday, 2023-11-09· [databases, php, laravel]
links:none on file
slides:none on file

A Laravel deployment switched queue driver from the database to Redis and broke job references because Redis uses alphanumeric job IDs while the MySQL jobs table expects integer IDs, causing truncated foreign keys and inconsistent notifications. The migration involved opening the Redis port and configuring it, but tests and staging didn’t run against Redis so the bug was missed; the concrete fixes are to run tests on multiple drivers and avoid putting business logic into infrastructure.

AI-written summary · about

  1. 0:00Introduction
  2. 9:00What could have happened?
  3. 15:00Why didn’t we notice?
  4. 18:00Laravel is a fantastic framework
  5. 21:00You shouldn’t mix these two things
  6. 23:00Testing on multiple drivers
  7. 26:00Abstraction
  8. 29:00Questions
~/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.