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 7306aec508
feat: correct grpc error code and implement StatPeer and LeavePeer (#2115)
Correct grpc error from codes.Unknow to codes.Internal in gorm
operation. Implement StatPeer and LeavePeer interface in v2 version of
grpc.

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:34 +08:00
.github feat: rename scheduler package to scheduling (#2087) 2023-06-28 17:34:31 +08:00
api feat: add CIDR affinity to searcher (#2111) 2023-06-28 17:34:33 +08:00
build feat: remove NetTopology from scheduler and manager (#2007) 2023-06-28 17:34:25 +08:00
client feat: add SyncNetworkTopology and SyncProbes to scheduler client (#2114) 2023-06-28 17:34:33 +08:00
cmd feat: add v2 version of dfdaemon client (#2050) 2023-06-28 17:34:29 +08:00
deploy feat: add host ttl to scheduler (#2089) 2023-06-28 17:34:31 +08:00
docs feat: update dingtalk qrcode (#2016) 2023-06-28 17:34:26 +08:00
hack feat: storage collects upload piece count, peer cost and error details (#1907) 2023-06-28 17:34:16 +08:00
internal refactor: resource task with v2 version of grpc (#2078) 2023-06-28 17:34:30 +08:00
manager feat: correct grpc error code and implement StatPeer and LeavePeer (#2115) 2023-06-28 17:34:34 +08:00
pkg feat: add SyncNetworkTopology and SyncProbes to scheduler client (#2114) 2023-06-28 17:34:33 +08:00
scheduler feat: correct grpc error code and implement StatPeer and LeavePeer (#2115) 2023-06-28 17:34:34 +08:00
test refactor: resource task with v2 version of grpc (#2078) 2023-06-28 17:34:30 +08:00
version feat: update version guage metrics (#1927) 2023-06-28 17:34:18 +08:00
.gitignore chore: ignore configs generate with docker compose (#2034) 2023-06-28 17:34:27 +08:00
.gitmodules feat: add console submodule (#549) 2023-06-28 17:31:36 +08:00
.golangci.yml feat: manager add advertiseIP (#1695) 2023-06-28 17:33:57 +08:00
.goreleaser.yml chore: goreleaser set rlcp field (#1967) 2023-06-28 17:34:21 +08:00
.markdownlint.yml docs: add metrics document (#1075) 2023-06-28 17:32:57 +08:00
ADOPTERS.md chore: add miHoYo to ADOPTERS.md (#2054) 2023-06-28 17:34:29 +08:00
CHANGELOG.md fix: spelling mistakes (#2027) 2023-06-28 17:34:27 +08:00
CODE_OF_CONDUCT.md docs: add slack and google groups (#1203) 2023-06-28 17:33:09 +08:00
CONTRIBUTING.md docs: readme add seed peer (#1349) 2023-06-28 17:33:24 +08:00
LICENSE Merge branch main-rc to branch main 2023-06-28 17:20:20 +08:00
MAINTAINERS.md chore: change maintainers informations (#2038) 2023-06-28 17:34:27 +08:00
Makefile chore: release v2.0.8 (#1877) 2023-06-28 17:34:13 +08:00
README.md docs: change introduction in readem (#2017) 2023-06-28 17:34:26 +08:00
SECURITY.md docs: add slack and google groups (#1203) 2023-06-28 17:33:09 +08:00
codecov.yml feat: add S3ForcePathStyle to object storage (#1976) 2023-06-28 17:34:22 +08:00
go.mod feat: add CIDR affinity to searcher (#2111) 2023-06-28 17:34:33 +08:00
go.sum feat: add CIDR affinity to searcher (#2111) 2023-06-28 17:34:33 +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 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.

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.