百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

parsync

> 编程语言
开源

通过 SSH 使用恢复功能进行类似 rsync 的并行拉取同步

606 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

通过 SSH 使用恢复功能进行类似 rsync 的并行拉取同步

parsync

parsync is a high-throughput, resumable sync tool for SSH remotes and local-to-local transfers, with parallel file transfers, optional block-delta sync, and a Linux RDMA fast path when both hosts support it.

Installation

Linux and macOS:

bash
curl -fsSL https://alpindale.net/install.sh | bash

Windows:

powershell
powershell -ExecutionPolicy Bypass -c "irm https://alpindale.net/install.ps1 | iex"

You can also install with cargo:

bash
cargo install parsync

You may also download the binary for your platform from the releases page, or install from source:

bash
make build
make install

Platform support

  • Linux: x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu
  • macOS: aarch64-apple-darwin, x86_64-apple-darwin
  • Windows: x86_64-pc-windows-msvc (best-effort metadata support)

Usage

bash
parsync -vrPlu [email protected]:/remote/path /local/destination

With non-default SSH port:

bash
parsync -vrPlu [email protected]:2222:/remote/path /local/destination

SSH config host aliases are supported.

RDMA fast path

On Linux, SSH transfers can use a direct RDMA fast path for large whole-file copies when RDMA devices and rdma-core librdmacm rsockets are available on both hosts. parsync opens a local RDMA receiver, starts parsync --internal-rdma-send on the source host over SSH, and falls back to the normal SFTP/chunk transfer if RDMA is not available. RDMA support, including its CLI controls and internal helper, is not built on Windows or other non-Linux platforms.

The fast path can be tested without RDMA hardware by using the Linux RXE software RDMA driver (rdma_rxe) with rdma-core installed. An ignored integration test wraps the VM validation:

bash
cargo test --test rdma_rxe_vm -- --ignored

RDMA is enabled in auto mode by default for SSH sources and only applies to files at least 64 MiB. Useful controls:

bash
parsync --rdma=require [email protected]:/remote/path /local/destination
parsync --rdma=off [email protected]:/remote/path /local/destination
parsync --rdma-bind 10.10.0.12 [email protected]:/remote/path /local/destination
parsync --rdma-min-size 1048576 [email protected]:/remote/path /local/destination

Use --rdma-bind when the RDMA fabric uses a different local IPv4 address than the route selected for SSH. The same settings are available through PARSYNC_RDMA, PARSYNC_RDMA_BIND, PARSYNC_RDMA_MIN_SIZE, and PARSYNC_RDMA_HELPER, or the config file keys rdma_mode, rdma_bind, rdma_min_size, and rdma_helper.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言