frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Bzfs 1.13.0 – 1‑second (even sub‑second) ZFS replication across fleets

1•werwolf•2h ago
bzfs is a simple, reliable CLI for replicating ZFS snapshots (zfs send/receive) locally or over SSH. Its companion, bzfs_jobrunner, turns that into periodic snapshot/replication/pruning jobs across N source hosts and M destination hosts, driven by one versioned job config.

This release makes 1‑second replication frequency practical for small incrementals, and even sub‑second frequency possible in constrained setups (low RTT, few datasets, daemon mode).

v1.13.0 focuses on cutting per‑iteration latency — the enemy of high‑frequency replication at fleet scale:

- SSH reuse across datasets and on startup: fewer handshakes and fewer round‑trips, which is where small incremental sends spend much of their time. - Earlier stream start: estimate "bytes to send" in parallel so the data path can open sooner instead of blocking on preflight. - Smarter caching: faster snapshot list hashing and shorter cache paths to reduce repeated ZFS queries in tight loops. - More resilient connects: retry the SSH control path briefly before failing to smooth over transient blips. - Cleaner ops: normalized exit codes; suppress “Broken pipe” noise when a user kills a pipeline.

Why this matters - At 1s cadence, fixed costs (session setup, snapshot enumeration) dominate. Shaving RTTs and redundant `zfs list` calls yields bigger wins than raw throughput. - For fleets, the tail matters: reducing per‑job jitter and startup overhead improves end‑to‑end staleness when multiplied by N×M jobs.

1‑second (and sub‑second) replication - Use daemon mode to avoid per‑process startup costs; keep the process hot and loop at `--daemon-replication-frequency` (e.g., `1s`, even `100ms` for constrained cases). - Reuse SSH connections (now default) to avoid handshakes even for new processes. - Keep per‑dataset snapshot counts low and prune aggressively; fewer entries make `zfs list -t snapshot` faster. - Limit scope to only datasets that truly need the cadence (filters like `--exclude-dataset`, `--skip-parent`). - In fleets, add small jitter to avoid thundering herds, and cap workers to match CPU, I/O, and link RTT.

How it works (nutshell) - Incremental sends from the latest common snapshot; bookmarks supported for safety and reduced state. - Persistent SSH sessions are reused across datasets/zpools and across runs to avoid handshake/exec overhead. - Snapshot enumeration uses a cache to avoid re‑scanning when nothing changed. - Job orchestration via bzfs_jobrunner: same config file runs on all hosts; add jitter to avoid thundering herds; set worker counts/timeouts for scale.

High‑frequency tips - Prune at a frequency proportional to snapshot creation to keep enumerations fast. - Use daemon mode; split snapshot/replicate/prune into dedicated loops. - Add small random start jitter across hosts to reduce cross‑fleet contention. - Tune jobrunner `--workers` and per‑worker timeouts for your I/O and RTT envelope.

Quick examples - Local replicate: `bzfs pool/src/ds pool/backup/ds` - Pull from remote: `bzfs user@host:pool/src/ds pool/backup/ds` - Jobrunner (periodic): run the shared jobconfig with daemon mode for 1s cadence: `... --replicate --daemon-replication-frequency 1s` (sub‑second like `100ms` is possible in constrained setups). Use separate daemons for `--create-src-snapshots`, `--replicate`, and `--prune-

`.

Links - Code and docs: https://github.com/whoschek/bzfs - README: quickstart, filters, safety flags, examples - Jobrunner README: multi‑host orchestration, jitter, daemon mode, frequencies - 1.13.0 diff: https://github.com/whoschek/bzfs/compare/v1.12.0...v1.13.0

Notes - Standard tooling only (ZFS/Unix and Python); no extra runtime deps.

I’d love performance feedback from folks running 1s or sub‑second replication across multiple datasets/hosts: - per‑iteration wall time, number/size of incremental snapshots, dataset counts, and link RTTs help contextualize results.

Happy to answer questions!

Investors are on edge as talk of an AI bubble gets louder

https://www.thetimes.com/business-money/companies/article/ai-bubble-stock-market-399vdvxkx
1•zerosizedweasle•42s ago•0 comments

'Your basis to live is checked at every step': India's ID system divides opinion

https://www.theguardian.com/world/2025/oct/14/india-id-system-divide-opinion
1•sandebert•3m ago•0 comments

Observability in Go: What Real Engineers Are Saying in 2025

https://quesma.com/blog/observability-in-go-what-real-engineers-are-saying-in-2025/
1•darccio•8m ago•0 comments

Reclining on your next WestJet flight may mean having to upgrade seats

https://globalnews.ca/news/11450528/westjet-new-seats-no-recline/
1•sipofwater•16m ago•1 comments

Freed Israeli hostages recount brutal beatings, starvation

https://nypost.com/2025/10/14/world-news/freed-israeli-hostages-recount-brutal-beatings-starvatio...
3•ThomasPw•19m ago•1 comments

A toolkit for improving the quality of your LeRobot datasets

https://github.com/RoboticsData/score_lerobot_episodes
1•machinelearning•24m ago•0 comments

Avian Physics 0.4

https://joonaa.dev/blog/09/avian-0-4
2•todsacerdoti•26m ago•0 comments

Ask HN: Which cross platform desktop GUI to use instead of Electron?

2•tones411•28m ago•1 comments

Yzma = embedding+inference on VLM/LLM/SLM/TLM in pure Go using llama.cpp

https://github.com/hybridgroup/yzma
1•deadprogram•28m ago•0 comments

What's the Deal with GitHub Spec Kit

https://den.dev/blog/github-spec-kit/
1•mohi-kalantari•30m ago•0 comments

SpaceX got what it needed from Starship V2

https://arstechnica.com/space/2025/10/after-year-of-hardships-spacexs-starship-finally-flirts-wit...
1•quapster•32m ago•0 comments

Hetzner Network Fault in NBG1

https://status.hetzner.com/incident/2483200c-0ad8-4b26-97e9-82b67a95618d
2•hyperknot•32m ago•1 comments

Show HN: Snapdeck – Generating presentation design, not templates

https://www.snapdeck.app/
1•bigmacfive•35m ago•1 comments

Build what makes you special. Buy the rest

https://werd.io/build-what-makes-you-special-buy-the-rest/
5•fside•38m ago•1 comments

Ask HN: What do you do while ChatGPT-5 is thinking?

4•cuber_messenger•41m ago•5 comments

What is my landing page missing? What can be improved?

https://excelsior.nu/
1•emilmoe•45m ago•2 comments

From Nginx to ngrok: Dogfooding our own website with Traffic Policy

https://ngrok.com/blog-post/nginx-ngrok-dogfooding
1•thunderbong•45m ago•0 comments

Windows 10 support ends on October 14, 2025

https://support.microsoft.com/en-us/windows/windows-10-support-ends-on-october-14-2025-2ca8b313-1...
4•MaximilianEmel•46m ago•0 comments

How one of the longest dinosaur trackways in the world was uncovered in the UK

https://www.bbc.co.uk/news/resources/idt-5f8c77b0-92bc-40f2-bf21-6793abbe5ffe
2•6LLvveMx2koXfwn•47m ago•0 comments

Problem Details for HTTP APIs

https://datatracker.ietf.org/doc/html/rfc7807
1•LelouBil•49m ago•0 comments

The problem is humans 'can't stand each other'

https://fortune.com/2025/10/13/brene-brown-key-to-surviving-ai-embrace-humanity-fortune-most-powe...
3•hansmayer•51m ago•0 comments

I Create Presentations in HTML

https://hartenfeller.dev/blog/presentations-in-html
3•groseje•56m ago•1 comments

Porta Alpina

https://en.wikipedia.org/wiki/Porta_Alpina
1•xg15•57m ago•0 comments

I let my AI agents run unsupervised and they burned $200 in 2 hours

https://blog.justcopy.ai/p/i-let-my-ai-agents-run-unsupervised
18•anupsingh123•1h ago•15 comments

Comparing the power consumption of a 30 year old refrigerator to a brand new one

https://ounapuu.ee/posts/2025/10/14/fridge-power-consumption/
3•furkansahin•1h ago•0 comments

Technical Debt: Make Developers Happier Now or Pay More Later

https://devops.com/technical-debt-make-developers-happier-now-or-pay-more-later/
1•birdculture•1h ago•0 comments

CSI Driver for Rclone

https://github.com/veloxpack/csi-driver-rclone
1•paulgrammer•1h ago•0 comments

Ouvriers de Luxe

https://www.lrb.co.uk/the-paper/v47/n19/julian-barnes/ouvriers-de-luxe
1•pepys•1h ago•0 comments

Apple's Jobs says Michael Dell should eat his own words (2006)

https://appleinsider.com/articles/06/01/16/apples_jobs_says_michael_dell_should_eat_his_own_words
1•susam•1h ago•0 comments

AI Avatars Have Been in Politics for a Decade, but Diella Is Different

https://algorithmwatch.org/en/ai-avatars-have-been-in-politics-for-a-decade-but-diella-is-different/
2•jruohonen•1h ago•0 comments