Back to services

SeaweedFS

SeaweedFS is an open source distributed file system supporting WebDAV, S3 API, FUSE mount, HDFS, etc, optimized for lots of small files, and easy to add capacity.

View alternatives to SeaweedFS
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The official website could not be fetched this time. The content below is compiled from existing knowledge of the project, so please refer to the latest information in the GitHub repository for specific details.

Introduction

SeaweedFS is an open-source distributed storage system that can store blobs, objects and files, and can also be used as data lake storage. It is written in Go and licensed under Apache 2.0. Its design draws on Facebook's Haystack paper: file metadata is spread across the individual volume servers, so the central node does not have to manage the metadata of every file. As a result, reading a file generally takes only a single disk seek, and huge numbers of small files can be stored and retrieved efficiently.

Architecture

  • Master server: Manages the cluster topology and volume allocation. Multiple nodes can be deployed for high availability.
  • Volume server: Stores the actual file data and handles volume reads, writes and replicas.
  • Filer: Provides directory and file system semantics on top of the object store. Metadata can be kept in a variety of databases, such as LevelDB, MySQL, PostgreSQL, Redis and Cassandra.
  • Gateways and interfaces: Include the S3 gateway, WebDAV, FUSE mount and a Hadoop-compatible interface.

Key Features

  • Compatible with the Amazon S3 API, so it can directly replace a typical S3 object store
  • Can be mounted as a local POSIX file system via FUSE
  • Supports multi-replica policies by rack and data center
  • Supports erasure coding to reduce storage costs
  • Supports cloud tiering, so cold data can be moved to public clouds
  • Supports asynchronous replication across clusters and data centers
  • Provides a Kubernetes CSI driver to supply persistent storage for containers

Target Users and Use Cases

Suited to developers, operations teams and enterprises that need to build their own large-scale storage, for example storing and distributing huge numbers of small files such as images and videos, self-hosted S3-compatible object storage, underlying storage for big data and data lakes, and persistent volumes for Kubernetes clusters.

Core Strengths

  • Good read/write performance for small files, with low metadata overhead
  • Simple architecture: all components are packaged in a single binary called weed, which makes deployment easy
  • Scales smoothly from a single machine to a large cluster
  • Many access interfaces, so it integrates with existing toolchains

Installation and Deployment

  • Download the weed binary for your platform from GitHub Releases. You can start quickly on a single machine, for example with weed server -dir=/data -s3, a single command that starts the master, volume, filer and S3 gateway together.
  • Can be deployed with the official Docker image.
  • Can be deployed on Kubernetes with a Helm Chart.

Technical Requirements

Supports multiple platforms, including Linux, macOS and Windows. For production environments, it is recommended to deploy multiple master nodes for high availability and to configure the metadata database used by the Filer as needed.

Notable Points

The project has an active community and is updated frequently. In addition to the open-source version, there is an enterprise edition that offers extra features and support.