You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go-storage is an application-oriented unified storage layer for Golang which allows the user to connect various storage services with the same interface. For now, go-storage supports s3, gcs, azblob, oss, cos, and more supports are on the way: beyondstorage/go-storage#536.
mediaapi only supports the local path and makes it hard to scale.
Proposal
So I propose to integrate mediaapi with go-storage to allow store files on various storage service.
NOTE: we still need a local cache as we need to calculate the sha256 hash of file.
Implementations
Replace mediaapi fileutil with go-storage.
Add storage connection string like we did on database.
The text was updated successfully, but these errors were encountered:
We have no plans to do this at present. We might extend the mediaapi to support something like https://github.com/turt2live/matrix-media-repo/ but ultimately there are plenty of options here. Dendrite needs to be able to work in embedded environments so a filesysytem backed storage will always be a requirement.
Background
go-storage is an application-oriented unified storage layer for Golang which allows the user to connect various storage services with the same interface. For now, go-storage supports s3, gcs, azblob, oss, cos, and more supports are on the way: beyondstorage/go-storage#536.
mediaapi only supports the local path and makes it hard to scale.
Proposal
So I propose to integrate mediaapi with go-storage to allow store files on various storage service.
NOTE: we still need a local cache as we need to calculate the sha256 hash of file.
Implementations
fileutil
with go-storage.The text was updated successfully, but these errors were encountered: