[go-nuts] Re: ANN: jcp does rsync, but 3x faster

2025-03-28 Thread Jason E. Aten
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

[go-nuts] Re: ANN: jcp does rsync, but 3x faster

2025-03-28 Thread G
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

[go-nuts] Logging best practices with log/slog

2025-03-28 Thread cpu...@gmail.com
I'm in the process of converting our application (evcc.io) from using spf13/jwalterweatherman for logging to log/slog. One current pain point is passing loggers around the application and deriving child loggers. With using slog there are various options for doing that: Passing loggers: - pa