Comments (7)
CM不仅仅是作为源站的代理,还会把从源下载的数据,提供分片下载。蜻蜓客户端从CM下载分片数据,然后会组成P2P网络。蜻蜓客户端目前是通过配置文件,来指定CM解决,也可以通过参数来指定。
from dragonfly.
@chenchaobing p2p性能测试如何,我的环境dfget客户端比较少(<10个),和wget对比感觉没有速度优势;
from dragonfly.
@nonly p2p是在同时下载的客户端节点数越多的情况下,p2p的效果会越明显。
因为蜻蜓客户端本身是会有限速的,再加上使用dfget下载的时候的时候,客户端会跟CM进行通信,所以单个dfget的下载速度对比wget没有速度优势是正常的,可以调整客户端限速以及进程数再进行测试。
另外P2P可以解决源的带宽不足,源被打爆的场景。如果能够打满源的带宽,那么你再用dfget和wget进行测试,就能测试出比较明显的效果了。
from dragonfly.
dfget 难道不是执行完就退出了么,没有后台服务如何做给其他dfget传输数据?
from dragonfly.
@chenchaobing 看文档,只有在docker的情况下,调用proxy,proxy 是个后台进程。这种情况下才能进行 P2P。不知道是我搭的环境有问题,还是我理解有问题
from dragonfly.
@jacky098123 dfget 执行完了并不会马上退出,会提供后台服务给其他的dfget传输数据,只有当一定时间点,没有任何请求时,那么dfget会触发清理操作,把本地缓存的文件清理,同时真正退出进程。
from dragonfly.
@jacky098123 docker的请求下,proxy只是为了把拉取镜像的请求代理到dfget,真正的p2p逻辑还是在CM集群和dfget之间。
from dragonfly.
Related Issues (20)
- dfget server endpoint does not support TLS
- It can be installed to kubernetes through helm?
- level=error msg="unknown shorthand flag: 's' in -supernode.advertiseIp=127.0.0.1" HOT 4
- Test failed: http_util_test.go:95: HTTPUtilTestSuite.TestGet
- 关于Dragonfly缓存没有生效的问题 HOT 1
- Does Dragonfly support DADI?
- Replace the Qr code of DingTalk Group
- Change README link font size.
- HTTPUtilTestSuite.TestGet HOT 1
- Unit tests failed: HTTPSuite.SetUpTest
- dfget may leak credentials (via --header flag) when called by dfdaemon
- Even with cdnPattern: source, dfget connects to the downloadPort
- supernode writes debug logs even if configured with debug: false
- Upgrading to golang 1.16.1+
- Harbor配置P2P预热失败
- OOM in containerized dfget in Kubernetes
- dfget变僵尸进程
- knative pull image by Dragonfly is error
- daemon support identifier
- ipv6 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonfly.