talira

Dragonfly

P2P data distribution and acceleration for cloud native workloads

open sourceApache-2.0self-hostablefree

Dragonfly is a CNCF graduated project that distributes files, container images, OCI artifacts and AI/ML models across a cluster peer to peer, so nodes fetch from each other's idle bandwidth instead of all pulling from one registry or origin. A manager runs the P2P clusters with a web console, a scheduler picks the best parent peers with load-aware two-stage scheduling, and seed peers fetch from the source when needed; it ensures downloads are consistent and isolates failures by service, peer and task. It plugs into container runtimes, registries, download tools and AI infrastructure without changes to them, and its optional Nydus content-addressable filesystem speeds up container launch. Version 1.0 was open sourced in 2017. It is an alternative to Spegel.

Problems it solves

  • thousands of Kubernetes nodes pulling the same container image overload our registry
  • speed up distributing large AI model files to every GPU node in the cluster
  • cut registry egress costs by letting nodes share image layers with each other
  • start containers faster without waiting for the whole image to download

Features

  • peer-to-peer distribution of files, container images, OCI artifacts and AI models
  • load-aware two-stage scheduling
  • manager with a web console for P2P clusters
  • seed peers that fetch from the origin
  • download consistency checks
  • exception isolation by service, peer and task
  • per-peer load, concurrency and traffic limits
  • non-intrusive integration with container runtimes, registries and download tools
  • optional Nydus filesystem to speed up container launch

Alternatives

The same job

These do what Dragonfly does.

  1. Spegel Stateless cluster local OCI registry mirror

Compare Dragonfly with the top 3