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
yxxhero 310ba0858f
style: Fix spacing in ComputePieceSize comment (#3969)
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-04-21 14:02:22 +08:00
.github refactor(lint): update golangci-lint to v2 and configure .golangci.yml (#3956) 2025-04-15 21:14:13 +08:00
api feat: adds the audit middleware to records the system audit events (#3958) 2025-04-16 17:58:24 +08:00
build chore: bump golang version to 1.23.8 (#3960) 2025-04-16 17:56:34 +08:00
client comments(rpcserver): add Stop method to gracefully stop servers (#3965) 2025-04-17 10:27:34 +00:00
client-rs@cfab09f4c0 chore: bump client-rs to v0.2.23 (#3955) 2025-04-15 18:53:01 +08:00
cmd comments(genDocCommand): add runDoc method to generate markdown docs (#3967) 2025-04-17 21:33:55 +08:00
deploy feat: update helm charts and remove storage config in scheduler (#3873) 2025-03-10 17:30:20 +08:00
docs docs: add security audit report (#2729) 2023-09-15 14:44:41 +08:00
hack chore: bump golang version to 1.23.8 (#3960) 2025-04-16 17:56:34 +08:00
internal style: Fix spacing in ComputePieceSize comment (#3969) 2025-04-21 14:02:22 +08:00
manager feat(manager): add default value for operated_at (#3966) 2025-04-17 11:13:57 +00:00
pkg refactor: modernize the code by new features provided by golang stand… (#3963) 2025-04-17 07:48:42 +00:00
scheduler refactor: modernize the code by new features provided by golang stand… (#3963) 2025-04-17 07:48:42 +00:00
test refactor: modernize the code by new features provided by golang stand… (#3963) 2025-04-17 07:48:42 +00:00
version chore: update client version to 0.2.0 (#3735) 2024-12-31 12:18:06 +08:00
.gitignore chore: change gitignore for vendor (#3225) 2024-04-23 17:08:53 +08:00
.gitmodules chore: add client-rs submodule to main (#3114) 2024-03-12 21:18:42 +08:00
.golangci.yml refactor(lint): update golangci-lint to v2 and configure .golangci.yml (#3956) 2025-04-15 21:14:13 +08:00
.goreleaser.yml fix: replace builds with ids in config (#3943) 2025-04-11 00:09:43 +08:00
.markdownlint.yml docs: add metrics document (#1075) 2023-06-28 17:32:57 +08:00
ADOPTERS.md chore: rename repo from Dragonfly2 to dragonfly (#3715) 2024-12-20 17:21:53 +08:00
CHANGELOG.md feat: adds the audit middleware to records the system audit events (#3958) 2025-04-16 17:58:24 +08:00
CODE_OF_CONDUCT.md docs: add slack and google groups (#1203) 2023-06-28 17:33:09 +08:00
CONTRIBUTING.md chore: rename repo from Dragonfly2 to dragonfly (#3715) 2024-12-20 17:21:53 +08:00
GOVERNANCE.md docs: add the responsibilities of contributor roles (#3345) 2024-06-26 23:14:59 +08:00
LICENSE Merge branch main-rc to branch main 2023-06-28 17:20:20 +08:00
MAINTAINERS.md Add CormickKneey as maintainer (#3727) 2024-12-24 11:49:08 +08:00
Makefile chore: update client version to 0.2.0 (#3735) 2024-12-31 12:18:06 +08:00
OWNERS.md Add CormickKneey as maintainer (#3727) 2024-12-24 11:49:08 +08:00
README.md chore(README.md): change OpenSSF badge (#3959) 2025-04-16 14:14:53 +08:00
SECURITY.md docs: update SECURITY.md for Dragonfly (#3680) 2024-12-03 17:55:05 +08:00
codecov.yml feat: implement FindCandidatePersistentCacheParents for scheduling persistent cache task (#3770) 2025-01-17 20:01:59 +08:00
go.mod chore: bump golang version to 1.23.8 (#3960) 2025-04-16 17:56:34 +08:00
go.sum chore(deps): bump github.com/gin-contrib/gzip from 1.2.2 to 1.2.3 (#3951) 2025-04-15 11:18:51 +08:00

README.md

Dragonfly

alt

GitHub release Artifact Hub OpenSSF Scorecard CI Go Report Card Discussions OpenSSF Best Practices Twitter LICENSE

Provide efficient, stable and secure file distribution and image acceleration based on p2p technology to be the best practice and standard solution in cloud native architectures.

Introduction

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. Its goal is to tackle all distribution problems in cloud native architectures. Currently Dragonfly focuses on being:

  • Simple: Well-defined user-facing API (HTTP), non-invasive to all container engines;
  • Efficient: Seed peer 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.

Architecture

alt

Manager: Maintain the relationship between each P2P cluster, dynamic configuration management and RBAC. It also includes a front-end console, which is convenient for users to visually operate the cluster.

Scheduler: Select the optimal download parent peer for the download peer. Exceptions control Dfdaemon's back-to-source.

Seed Peer: Dfdaemon turns on the Seed Peer mode can be used as a back-to-source download peer in a P2P cluster, which is the root peer for download in the entire cluster.

Peer: Deploy with dfdaemon, based on the C/S architecture, it provides the dfget command download tool, and the dfget daemon running daemon to provide task download capabilities.

Documentation

You can find the full documentation on the d7y.io.

Security

Security Audit

A third party security audit was performed by Trail of Bits, you can see the full report here.

Community

Join the conversation and help the community.

Contributing

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

Code of Conduct

Please refer to our Code of Conduct.