I read G's question as whether jcp can efficiently update incremental backups from primary to secondary local storage, e.g. daily backup of a home dir to an attached memory stick or an alternate folder on the same filesystem.
On Friday, March 28, 2025 at 3:55:30 PM UTC-7 Jason E. Aten wrote: > Yes? The question is a bit confusing. jcp copies from > > host1 filesystem -> over the network -> (jsrv running on) host2 filesystem, > > and while (for testing mostly) you can leave off the host: prefix on > both giver and taker, to copy things from local disk > over the TCP/UDP network stack, and back to the same host's local storage > -- > this is going to be wildly less efficient than using tar or cp to do local > disk copies. > > On Friday, March 28, 2025 at 6:24:30 PM UTC G wrote: > > is it able to use a local storage as backup? > Thanks > > On Thursday, March 20, 2025 at 10:04:45 PM UTC-7 Jason E. Aten wrote: > > I've open sourced jcp, my rsync-like file transfer library and CLI. > > By using Go's fabulous multicore support, jcp can do diff-only filesystem > syncs > up to 3x faster than rsync (which is a single threaded C program). > It uses a parallelized version of the FastCDC algorithm with a > Gear table to ship only the changes, even in binaries. > > https://github.com/glycerine/jcp > > From the README: > > This project (jcp) was written to harden and polish my RPC system, > https://github.com/glycerine/rpc25519 , whose high-performance and novel > Peer/Circuit/Fragment paradigm is featured here. In this evolution of RPC, > peers communicate fragments of infinite data streams over any number of > persistent circuits. Since the roles are peer-to-peer rather than > client-server, any peer can run the code for any service (as here, in the > jcp case, either end can give or take a stream of filesystem updates). > > Enjoy. > - Jason > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/2438e476-cc5f-4352-a516-a28ed24bcf20n%40googlegroups.com.