104
How does Lemmy/Mastodon/Fediverse store videos and images?
(programming.dev)
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
Looking for support?
Looking for a community?
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
Edit: I am partially wrong. (See below)
They're stored on their host Instance. Only text is copied across instances.
That sounds good for reliability since an instance can still lookup posts even if another fails.
For videos and images, do they store them as blobs in the database or do they use something more catered to files like object storage or maybe a regular filesystem with metadata on a database?
They use pict-rs which looks like it was file system, but is now object storage
That's an awesome name. The Rust community never fails to deliver lol