~/talk

Real-Time Laravel

Talkat Laracon India 2024 · 2024-03-23..03-24· [php, web-performance]
slides:none on file

Overview of a live demo that adds websockets to Laravel 11 apps using Livewire, Alpine and Tailwind, shipping a new Rust/Go-free websocket server called Reverb that runs via PHP Artisan Reverb start. Demonstrates real-time chat, whisper events for typing indicators, presence channels for online status, Pusher Channels protocol compatibility, horizontal scaling across Reverb instances, Forge deployment toggles and Pulse monitoring. Code shows broadcasting events implemented with ShouldBroadcast, messages persisted to DB, and the demo works live with low-latency updates.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:05Theory of real-time apps
  3. 3:48Websockets deep dive
  4. 9:03Introducing Reverb
  5. 12:37Installing and setting up
  6. 15:00Wiring up messaging
  7. 22:38Indicators and presence
  8. 28:15Scaling and monitoring
  9. 32:46Closing thoughts
  10. 34:06Birthday surprise
~/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.