Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
fogdownloader
Advanced tools
PearPlayer.js的发布吸引了业界的持续关注,同时,我们也收集到许多宝贵建议。 一方面我们将持续维护更新PearPlayer,使其支持更多的拓展功能; 另一方面我们将更底层、更基础且适用范围更广的相关组件重新整理,专注于节点的选择及数据的调度,将多源传输部分剥离出来,形成PearDownloader.js。
PearDownloader(梨享下载器)[Demo] 是PearPlayer的底层下载模块, 实现了融合HTTP(包含HTTPS、HTTP2)、WebRTC的多协议、多源、低延迟和高带宽利用率的无插件Web端下载加速能力。 基于高效的调度算法将来自多个节点的数据拼接形成完整的文件或将有序的数据/媒体流喂给上层应用,例如音视频播放器, PearDownloader由此能在保证下载速度的前提下最大化P2P率。
PearDownloader的发布,旨在降低已有成熟播放器的内容提供商(CP)的迁移成本:CP厂商可以按需将其集成到自有产品中,实现Web P2P能力;或者调度Pear Fog的海量节点资源,享受低成本、高质量的共享雾CDN服务。 PearDownloader支持更多样化的文件类型,以及更灵活的调度算法、调度策略的选择,满足更广阔、灵活、多变的业务场景与业务需求。
通过<script>
标签将pear-downloader.min.js
导入到HTML即可使用。
参考以下代码示例,或查看/examples/downloader-test.html
和get-started了解使用方法。
首先通过script标签导入pear-downloader.min.js:
<script src="./dist/pear-downloader.min.js"></script>
或使用CDN:
<script src="https://cdn.jsdelivr.net/npm/peardownloader@latest"></script>
假设要下载https://example.com/file.zip
<script>
var downloader = new PearDownloader('https://example.com/file.zip');
</script>
示例中的文件是已经分发过的,那么如何为任意文件加速呢?很简单,只需在文件分发系统中添加您的文件url,
即可利用Pear的海量节点为您的文件下载加速!具体教程请点击这里(文件的名字需要加上Pear-Demo-
前缀,
如Pear-Demo-file.zip
)
特别感谢以下项目,为本项目提供了部分灵感以及API设计参考:
2018.02.07
(36氪) - 「Pear梨享」让雾计算落地,百万边缘节点的背后是提高效率和成本控制2017.11.24
(金色财经) - 谛听科技正式进军区块链领域,战略投资梨享计算2017.09.01
(未来网络开放社区联盟) - 继云计算之后,雾计算再起 —— 谈谈 P2P CDN2017.08.18
(IT大咖说) - WebRTC会成主流吗?众包CDN时代到了!2017.07.11
(OSChina开源中国) - PearPlayer.js —— 混合P2P-CDN的流媒体播放器2017.06.24
(腾讯Web前端大会) - 基于WebRTC的P2P-CDN流媒体加速2017.05.17
(南方科技大学) - Edge Computing and Shared Fog Streaming2017.05.08
(台湾逢甲大学) - A Cooler Fruit Venture: Scaling up a Network from Cloud to Fog with Crowdsourcing2016.08.17
(香港科技大学) - From Cloud to Fog: Scaling up a Network with CrowdsourcingMIT. Copyright (c) Pear Limited and snowinszu.
E-mail: service@pear.hk;用户QQ群:373594967
;CP/CDN接入、OEM与其他商务合作
FAQs
PearDownloader.js
The npm package fogdownloader receives a total of 3 weekly downloads. As such, fogdownloader popularity was classified as not popular.
We found that fogdownloader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.