Skip to content

Storage Server Notes #172

Description

@shleeable

Regional storage server accepting file uploads (bypassing the regional instance server)

Most servers are regional... as HA across regions is generally a heavy engineering effort.
This generally means that the speed and success of uploading files depends on the location of the client to the server. A client on the other side of the world with a bad route might upload slowly or not at all.

My understanding is the file path travels... client -> Web -> Sidekiq -> S3 bucket -> CDN -> Client

This is obviously a stretch goal as I believe this "storage server" project is to store/cache media from mastodon instances as a CDN layer and not a primary data source... but I'd imagine instances COULD have multiple storage servers around the world that accept inbound files.

A nice ANYCAST IP or GEO-Aware DNS that points to the faster local server for any client around the world but the file ends up on the local instances control would be a nice bonus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions