dragonfly

module
v2.1.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: Apache-2.0

README

Dragonfly

alt

GitHub release Artifact Hub CI Coverage Go Report Card Open Source Helpers TODOs Discussions Twitter GoDoc OpenSSF Best Practices OpenSSF Scorecard 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.

Directories

Path Synopsis
api
manager
Package manager Code generated by swaggo/swag.
Package manager Code generated by swaggo/swag.
client
config
Package config holds all DaemonConfig of dfget.
Package config holds all DaemonConfig of dfget.
config/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
daemon/announcer/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
daemon/objectstorage/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
daemon/peer
Package peer is a generated GoMock package.
Package peer is a generated GoMock package.
daemon/proxy/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
daemon/rpcserver/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
daemon/storage/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
daemon/upload/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
dfstore/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
util/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
cmd
internal
dynconfig/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
job
auth/oauth/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
job
job/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
searcher/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
service/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
pkg
cache
Package cache is a generated GoMock package.
Package cache is a generated GoMock package.
container/set/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
dfpath/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
digest/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
gc
Package gc is a generated GoMock package.
Package gc is a generated GoMock package.
graph/dag/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
graph/dg/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
io
log
objectstorage/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
reachable/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc
rpc/cdnsystem/client/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc/dfdaemon/client/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc/health/client/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc/manager/client/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc/scheduler/client/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
rpc/security/client/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
source/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
announcer/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
config/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
job
job/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
resource/persistentcache
Package persistentcache is a generated GoMock package.
Package persistentcache is a generated GoMock package.
resource/standard
Package standard is a generated GoMock package.
Package standard is a generated GoMock package.
scheduling/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
storage/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL