Project post originally published on Github by Dragonfly maintainers
Dragonfly v2.0.9 is released! 🎉🎉🎉 Thanks to the Google Cloud Platform (GCP) Team, Volcano Engine Team, and Baidu AI Cloud Team for helping Dragonfly integrate with their public clouds. Welcome to visit d7y.io website.
Features
- Download tasks based on priority. Priority can be passed as parameter during the download task, or can be associated with priority in the application of the Manager console, refer to priority protoc definition.
- Scheduler adds PieceDownloadTimeout parameter, which indicates that if the piece download times out, the scheduler will change the task state to TaskStateFailed.
- Add health service to each GRPC service.
- Add reflection to each GRPC service.
- Manager supports redis sentinal model.
- Refactor dynconfig package to remove json.Unmarshal, improving its runtime efficiency.
- Fix panic caused by hashring not being built.
- Previously, most of the pieces were downloaded from the same parent. Now, different pieces are downloaded from different parents to improve download efficiency and distribute bandwidth among multiple parents.
- If Manager’s searcher can not found candidate scheduler clusters, It will return all the clusters for peers to check health. If check health is successful, the scheduler cluster can be used.
- Support ORAS source client to pull image.
- Add UDP ping package and GRPC protoc definition for building virtual network topology.
- The V2 P2P protocol has been added, and both Scheduler and Manager have implemented the API of the V2 P2P protocol, in preparation for the future Rust version of Dfdaemon.
- OSS source client supports STS access, user can set security token in header.
- Dynconfig supports to resolve addresses with health service.
- Add hostTTL and hostGCInterval in Scheduler to prevent information of abnormally exited Dfdaemon from becoming dirty data in the Scheduler.
- Add CIDR to searcher to provide more precise scheduler cluster selection for Dfdaemon.
- Refactor the metric definitions for the V1 P2P protocol and add the metric definitions for the V2 P2P protocol. Additionally, reorganize the Dragonfly Grafana Dashboards, refer to monitoring.
Break Change
- Using the default value for the key used to generate JWT tokens in Manager can lead to security issues. Therefore, Manager has added JWT Key in the configuration, and upgrading Manager requires generating a new JWT Key and setting it in the Manager configuration.
Public Cloud Providers
- Google Cloud Platform(GCP) – GCP provides click to deploy Dragonfly in Google Kubernetes Engine (GKE) through Marketplace, refer to Click to Deploy Dragonfly.
- Alibaba Cloud(Aliyun) – Aliyun provides install Dragonfly 1.x in Container Registry, refer to Use P2P Acceleration in ASK. Recommend to deploy the more efficient and stable Dragonfly 2.0, refer to Setup Dragonfly in Kubernetes.
- Volcano Engine – Volcano Engine provides Dragonfly integration in Volcano Engine Kubernetes Engine(VKE) and Container Registry(CR), visit VKE & CR to Learn more.
- Baidu AI Cloud – Baidu AI Cloud provides click to P2P Acceleration in Cloud Container Engine (CCE), power by Dragonfly.
Others
You can see CHANGELOG for more details.
Links
- Dragonfly Website: https://d7y.io/
- Dragonfly Github: https://github.com/dragonflyoss/Dragonfly2
- Dragonfly Charts Github: https://github.com/dragonflyoss/helm-charts
- Dragonfly Monitor Github: https://github.com/dragonflyoss/monitoring
- Google Kubernetes Engine(GKE): https://cloud.google.com/kubernetes-engine
- Google Cloud Platform(GCP) Dragonfly Marketplace: https://console.cloud.google.com/marketplace/product/google/dragonfly
- Alibaba Cloud Container Registry: https://www.alibabacloud.com/product/container-registry
- Alibaba Cloud Container Service for Kubernetes (ACK): https://www.alibabacloud.com/product/kubernetes
- Volcano Engine Kubernetes Engine(VKE): https://www.volcengine.com/product/vke
- Volcano Engine Container Registry(CR): https://www.volcengine.com/product/cr
- Baidu AI Cloud Cloud Container Engine(CCE): https://intl.cloud.baidu.com/product/cce.html