Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project.
Go to file
Gaius 48df6370db
feat: change compatibility version to v2.0.2-rc.0 (#1017)
* feat: change compatibility version to v2.0.2-rc.0

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: update helm charts submodule

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:53 +08:00
.github feat: change compatibility version to v2.0.2-rc.0 (#1017) 2023-06-28 17:32:53 +08:00
api feat: add scopes validation (#856) 2023-06-28 17:32:40 +08:00
build feat: optmize dfget package upgrade support (#804) 2023-06-28 17:32:45 +08:00
cdn Add begin seed piece hint task registered successfully (#997) 2023-06-28 17:32:53 +08:00
client chore: register to scheduler after updated running tasks (#1016) 2023-06-28 17:32:53 +08:00
cmd feat: update submodule charts (#1002) 2023-06-28 17:32:52 +08:00
deploy feat: change compatibility version to v2.0.2-rc.0 (#1017) 2023-06-28 17:32:53 +08:00
docs feat: when cdn peer is failed, peer should be back-to-source (#1005) 2023-06-28 17:32:53 +08:00
hack fix markdown lint error (#988) 2023-06-28 17:32:50 +08:00
internal Refactor scheduler service (#958) 2023-06-28 17:32:50 +08:00
manager Refactor scheduler service (#958) 2023-06-28 17:32:50 +08:00
pkg feat: task mutex replace sync kmutex (#1000) 2023-06-28 17:32:52 +08:00
scheduler feat: when cdn peer is failed, peer should be back-to-source (#1005) 2023-06-28 17:32:53 +08:00
test test: dump goroutine in e2e (#980) 2023-06-28 17:32:50 +08:00
version chore: add version metric (#954) 2023-06-28 17:32:48 +08:00
.gitignore feat: support create container without docker-compose (#915) 2023-06-28 17:32:45 +08:00
.gitmodules feat: add console submodule (#549) 2023-06-28 17:31:36 +08:00
.golangci.yml chore: add lint errcheck and fix errcheck(#766) 2023-06-28 17:32:35 +08:00
.goreleaser.yml chore: remove goreleaser go generate (#409) 2023-06-28 17:28:02 +08:00
.markdownlint.yml feat: lint sh (#876) 2023-06-28 17:32:42 +08:00
CHANGELOG.md fix typo in CHANGELOG.md (#976) 2023-06-28 17:32:49 +08:00
CODE_OF_CONDUCT.md chore: add markdown lint (#779) 2023-06-28 17:32:34 +08:00
CONTRIBUTING.md chore: add markdown lint (#779) 2023-06-28 17:32:34 +08:00
LICENSE Merge branch main-rc to branch main 2023-06-28 17:20:20 +08:00
MAINTAINERS.md chore: change zzy987 maintainers email (#649) 2023-06-28 17:31:48 +08:00
Makefile Ffix: typo in Makefile (#975) 2023-06-28 17:32:50 +08:00
README.md chore: add markdown lint (#779) 2023-06-28 17:32:34 +08:00
SECURITY.md chore: add SECURITY.md (#181) 2023-06-28 17:21:32 +08:00
codecov.yml Fix: use atomic to avoid data race in client (#254) 2023-06-28 17:22:38 +08:00
go.mod Refactor scheduler service (#958) 2023-06-28 17:32:50 +08:00
go.sum Refactor scheduler service (#958) 2023-06-28 17:32:50 +08:00

README.md

Dragonfly

alt

GitHub release Artifact Hub CI Coverage Go Report Card Open Source Helpers TODOs Discussions Twitter GoDoc LICENSE

Provide efficient, stable, secure, low-cost file and image distribution services to be the best practice and standard solution in the related Cloud-Native area.

Introduction

Dragonfly is an open source intelligent P2P based image and file distribution system. Its goal is to tackle all distribution problems in cloud native scenarios. Currently Dragonfly focuses on being:

  • Simple: well-defined user-facing API (HTTP), non-invasive to all container engines;
  • Efficient: CDN support, P2P based file distribution to save enterprise bandwidth;
  • Intelligent: host level speed limit, intelligent flow control due to host detection;
  • Secure: block transmission encryption, HTTPS connection support.

Dragonfly is now hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project. Originally it was born to solve all kinds of distribution at very large scales, such as application distribution, cache distribution, log distribution, image distribution, and so on.

Features

  • Implement P2P files distribution with various storage types (HDFS, storage services from various cloud vendors, Maven, Yum, etc.) through a unified back-to-source adapter layer.
  • Support more distribution modes: active pull, active push, real-time synchronization, remote replication, automatic warm-up, cross-cloud transmission, etc.
  • Provide separation and decoupling between systems, scheduling and plug-in CDN. Support on-demand deployment with flexible types: light or heavy, inside or outside, to meet the actual needs of different scenarios.
  • Newly designed P2P protocol framework based on GRPC with improved efficiency and stability.
  • Perform encrypted transmission, account-based transmission authentication and rate limit, and multi-tenant isolation mechanism.
  • Bear more efficient IO methods: multithreaded IO, memory mapping, DMA, etc.
  • Advocate dynamic compression, in-memory file systems, and more efficient scheduling algorithms to improve distribution efficiency.
  • Client allows third-party software to natively integrate Dragonflys P2P capabilities through C/S mode.
  • Productivity: Support file uploading, task management of various distribution modes, data visualization, global control, etc.
  • Consistent internal and external versions, shared core features, and individual extensions of non-generic features.
  • Enhanced integration with ecology: Harbor, Nydus (on-demand image download), warehouse services for various cloud vendors, etc.

Architecture

alt

Manager: Used to manage the dynamic configuration that each module depends on, and provide keepalive and metrics functions.

Scheduler: The tracker and scheduler in the P2P network that choose appropriate downloading net-path for each peer.

CDN: A CDN server that caches downloaded data from source to avoid downloading same files repeatedly.

Daemon: It's a daemon of dfget client. It establishes a proxy between containerd/CRI-O and registry.

Dfget: The client of Dragonfly used for downloading files. It's similar to wget.

Documentation

You can find the full documentation on the repo.

Community

Welcome developers to actively participate in community discussions and contribute code to Dragonfly. We will remain concerned about the issues discussed in the community and respond quickly.

Contributing

You should check out our CONTRIBUTING and develop the project together.

Code of Conduct

Please refer to our Code of Conduct.