Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: