Follow

A piece of mastoadmin wisdom.

When making a Fediverse social engine, and your design suggests that you have to save the data, especially media data, including avatars and headers, from remote servers, please make sure that you:

1) Separate local data and remote data into different directories, storages or whatever. An instance admin is first and foremost responsible for safety of the local users' data. Everything else is secondary.

2) Treat the remote data as a cache. Nuking remote data directory should be no biggie: all of this stuff can be re-downloaded later. Bonus points if you make your system re-download the missing data on demand.

Again, local data does have intrinsic value for your server. Remote cache does not, and should be safely disposable.

Sign in to participate in the conversation
Mastodon.ml

Русская нода социальной сети "Мастодонт", части Fediverse - всемирной федерации социальных сетей. Зона общения, свободная от рекламы и шпионажа, теперь и в России.