Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Synapse uploads thumbnail data to S3 #5411

Open
rkfg opened this issue Jun 10, 2019 · 1 comment
Open

Synapse uploads thumbnail data to S3 #5411

rkfg opened this issue Jun 10, 2019 · 1 comment
Labels
A-Media-Repository Uploading, downloading images and video, thumbnailing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p2 (Deprecated Label)

Comments

@rkfg
Copy link
Contributor

rkfg commented Jun 10, 2019

Description

Synapse uploads not only local media but also URL cache (including thumbnails for both local media and URL previews). It shouldn't because this data is either temporary or can be generated locally without wasting money on S3 requests and storage.

Steps to reproduce

  • enable S3 storage provider
  • open the S3 bucket in AWS console
  • see redundant directories like url_cache, url_cache_thumbnails, local_thumbnails

I expect to only have local_content there (optionally remote_content if enabled in the config).

Version information

  • Homeserver:

Own server

  • Version:

0.99.2

  • Install method:

From apt repo

  • Platform:

Debian 9.9 amd64

@neilisfragile neilisfragile added enhancement z-p2 (Deprecated Label) labels Jun 13, 2019
@squahtx squahtx changed the title Synapse uploads cache data to S3 Synapse uploads thumbnail data to S3 Sep 23, 2021
@squahtx
Copy link
Contributor

squahtx commented Sep 23, 2021

Splitting the url_cache aspect of this issue out into #10862

@erikjohnston erikjohnston added T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. and removed z-enhancement labels Sep 24, 2021
@MadLittleMods MadLittleMods added the A-Media-Repository Uploading, downloading images and video, thumbnailing label Jun 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Media-Repository Uploading, downloading images and video, thumbnailing T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

5 participants