@codemia_systemdes: Storing user uploads in your database is quietly killing it. Here's where files actually belong. 👇 You let users upload images and videos, and you store the files right in your database as blobs. It feels convenient, but the database balloons. Backups crawl, every query gets slower, and worst of all, every download has to stream those bytes out through your app servers. Your app is now a file server, and it buckles under the bandwidth. Object storage fixes this. The big files go to a store built just for blobs, like Amazon S3. Each file gets a unique key, and your database keeps only a tiny row of metadata: the name, the size, and that key. Then the best part: clients upload and download directly using a presigned URL, a temporary signed link the app hands out, usually served through a CDN. So the bytes never touch your servers at all. Your database stays small and fast, your app stops proxying gigabytes, and storage scales practically forever and cheaply. Rule of thumb: keep blobs in object storage, keep metadata in your database. Save it for your next system design interview. 🔖 Follow @codemia_systemdes for more. #systemdesign #objectstorage #s3 #awss3 #cloudstorage #cdn #presignedurl #backend #softwareengineer #codinginterview #systemdesigninterview #scalability #techtok #programming #faang

codemia_systemdesign
codemia_systemdesign
Open In TikTok:
Region: CA
Wednesday 22 July 2026 16:11:33 GMT
2520
129
2
10

Music

Download

Comments

snm134
sam :
so does the database have direct communication with the s3 or how will the key reach the s3 storage if the client wants access to their files?
2026-07-23 00:19:26
0
To see more videos from user @codemia_systemdes, please go to the Tikwm homepage.

Other Videos


About