My Symfony project stores PDFs on a Couchbase server and I want to stream them to the client instead of simply load them in memory and redistribute them directly. The goal is to not overload my server memory by only transiting small (something like 64ko) chunks of data.
I’ve seen some old topics about "handling that to Nginx" but I am unfamiliar with that process. I know also that Guzzle offers a Stream object that may be the solution I seek.
How would you handle that situation?
Source: Symfony Questions
Was this helpful?
0 / 0