The Hidden Cost of `return new Response()`
Most Symfony applications buffer everything: database rows, serialized objects, entire JSON payloads, and only then send a response.
It works... until scale hits. Memory spikes, slow time-to-first-byte, crashing exports.
What if the real problem isn't performance, but buffering?
In this talk, we'll redesign the data flow of a Symfony app: from StreamedResponse and incremental JSON encoding to iterable data sources and Server-Sent Events.
You'll see how to emit data progressively, power live updates and long-running exports, and keep memory usage flat using tools Symfony already provides.
Stop building responses. Start streaming them!
Thursday, June 4, 2026 at 11:00 AM – 11:35 AM