~/talk

Writing resilient code

Talkat Laracon AU 2025 · 2025-11-13..11-14· [laravel, web-performance]
slides:none on file

Covers techniques for making Laravel applications resilient to traffic spikes, flaky networks and failing third-party APIs by using robust input validation and sanitisation, safer error handling that avoids leaking sensitive info, and monitoring with tools like Sentry or Flare plus alerting. Walks through concrete practices such as using Laravel’s retry helper for quick recovery, graceful degradation and cached fallbacks when remote APIs fail, and testing edge cases and simulated outages (including expired caches) to catch non-happy-path failures.

AI-written summary · about

  1. 0:00Start
  2. 4:41Larabelles as a non profit, how it supports marginalised genders and a call for sponsors and allies
  3. 5:07From human resilience vs confidence to defining resilient code and different kinds of stress on our apps
  4. 7:12Users are creative and unpredictable, never trusting input, and introducing input validation and sanitisation
  5. 9:47Naughty users, and the importance of only using validated data
  6. 10:03Error handling that does not crash the application, avoids default error pages and protects sensitive information while keeping users informed
  7. 12:13Monitoring and logging for resilient code, using tools like Sentry and Flare, and logging context developers will actually need later
  8. 13:42Adding alerts so errors do not fail silently, being proactive instead of waiting for users to complain
  9. 14:40Quick error recovery, retries with Laravel’s retry helper, and accounting for users with bad connectivity
  10. 15:57Graceful degradation so one broken feature does not break everything
  11. 18:05Expecting third party APIs to fail
  12. 19:01Showing cached data when a remote API is down
  13. 19:35Testing edge cases, going beyond the happy path
  14. 20:25Simulating outages and expired caches in tests
  15. 21:41Putting yourself in the user’s shoes, asking non developers to try the app
  16. 22:13Resilient code checklist recap
  17. 23:07Final thanks
~/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.