Object Storage
Where do user-uploaded profile pictures actually go?
Where do user-uploaded profile pictures actually go?
After upload you get an address; the file itself stays in object storage.
Whole files go to object storage: Images, videos, and attachments are stored as whole objects, returning an accessible address.
Structured text goes to the database: Queryable fields like title, author, and status live in the database, which also stores the file address to link the two.
Each plays to its strength: Databases query fast, object storage stores large files reliably; forcing files into the database slows both.
Move article covers to an object-storage design: uploaded files go to object storage, and the database only stores the file address, ownership, and status; pages read the image by address. Afterward, upload a cover and confirm it still shows after refresh.