4 ms·
We ran into issues doing this straightaway, because you also need to fetch the file out of the database in your application server, then send it to clients thro
by davedx 3y ago
We ran into issues doing this straightaway, because you also need to fetch the file out of the database in your application server, then send it to clients through the load balancer. That introduces bottlenecks.
Generally I agree don't prematurely optimize. But for us, not even having huge files (5-25 MB on average), it slowed our application down unacceptably storing file data in the database, and we ended up moving file data to S3 with a streaming API in front of it.