frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Heartbeats in Distributed Systems

https://arpitbhayani.me/blogs/heartbeats-in-distributed-systems/
26•sebg•2h ago

Comments

paulsutter•1h ago
> When a system uses very short intervals, such as sending heartbeats every 500 milliseconds

500 milliseconds is a very long interval, on a CPU timescale. Funny how we all tend to judge intervals based on human timescales

Of course the best way to choose heartbeat intervals is based on metrics like transaction failure rate or latency

macintux•34m ago
Related advice based on my days working at Basho: find a way to recognize, and terminate, slow-running (or erratically-behaving) servers.

A dead server is much better for a distributed system than a misbehaving one. The latter can bring down your entire application.

toast0•16m ago
> Consider a system with 1000 nodes where each node sends heartbeats to a central monitor every 500 milliseconds. This results in 2000 heartbeat messages per second just for health monitoring. In a busy production environment, this overhead can interfere with actual application traffic.

If your 1000-node busy production environment is run so close to the edge that 2000 heartbeat messages per second, push it into overload, that's impressive resource scheduling.

Really, setting the interval balances speed of detection/cost of slow detection vs cost of reacting to a momentary interruption. If the node actually dies, you'd like to react as soon as possible; but if it's something like a link flap or system pause (GC or otherwise), most applications would prefer to wait and not transition state; some applications like live broadcast are better served by moving very rapidly and 500 ms might be too long.

Re: network partitioning, the author left out the really fun splits. Say you have servers in DC, TX, and CA. If there's a damaged (but not severed) link between TX and CA, there's a good chance that DC can talk to everyone, but TX and CA can't communicate. You can have that inside a datacenter too, maybe each node can only reach 75% of the other nodes, but A can reach B and B can reach C does not indicate A can reach C. Lots of fun times there.

Britain's railway privatization was an abject failure

https://www.rosalux.de/en/news/id/53917/britains-railway-privatization-was-an-abject-failure
298•robtherobber•2h ago•241 comments

Launch HN: Tweeks (YC W25) – Browser extension to de-enshittify the web

https://www.tweeks.io/onboarding
19•jmadeano•19m ago•5 comments

GitHub Partial Outage

https://www.githubstatus.com/incidents/1jw8ltnr1qrj
57•danfritz•1h ago•28 comments

European Nations Decide Against Acquiring Boeing E-7 Awacs Aircraft

https://defensemirror.com/news/40527/European_Nations_Decide_Against_Acquiring_Boeing_E_7_AWACS_A...
44•saubeidl•52m ago•33 comments

Checkout.com hacked, refuses ransom payment, donates to security labs

https://www.checkout.com/blog/protecting-our-merchants-standing-up-to-extortion
352•StrangeSound•6h ago•187 comments

Zed Is Our Office

https://zed.dev/blog/zed-is-our-office
20•sagacity•41m ago•1 comments

Blender Lab

https://www.blender.org/news/introducing-blender-lab/
83•radeeyate•2h ago•30 comments

Android developer verification: Early access starts

https://android-developers.googleblog.com/2025/11/android-developer-verification-early.html
1210•erohead•15h ago•547 comments

Denx (a.k.a. U-Boot) Retires

https://www.denx.de/
40•synergy20•2h ago•4 comments

SIMA 2: An Agent That Plays, Reasons, and Learns with You in Virtual 3D Worlds

https://deepmind.google/blog/sima-2-an-agent-that-plays-reasons-and-learns-with-you-in-virtual-3d...
24•meetpateltech•53m ago•4 comments

Kratos - Cloud native Auth0 open-source alternative (self-hosted)

https://github.com/ory/kratos
46•curtistyr•2h ago•26 comments

We cut our Mongo DB costs by 90% by moving to Hetzner

https://prosopo.io/blog/we-cut-our-mongodb-costs-by-90-percent/
44•arbol•1h ago•40 comments

COBOL to Kotlin via Formal Models (IR and Alloy and Golden Master)

https://marcoeg.medium.com/from-cobol-to-kotlin-795920b1f371
8•marcoeg•5d ago•1 comments

Heartbeats in Distributed Systems

https://arpitbhayani.me/blogs/heartbeats-in-distributed-systems/
26•sebg•2h ago•3 comments

Switching from GPG to Age

https://luke.hsiao.dev/blog/gpg-to-age/
64•speckx•1w ago•35 comments

Tesla Is Recalling Cybertrucks Again. Yep, More Pieces Are Falling Off

https://www.popularmechanics.com/cars/hybrid-electric/a69384091/cybertruck-lightbar-recall/
69•2OEH8eoCRo0•44m ago•28 comments

Human Fovea Detector

https://www.shadertoy.com/view/4dsXzM
349•AbuAssar•15h ago•76 comments

Android 16 QPR1 is being pushed to the Android Open Source Project

https://grapheneos.social/@GrapheneOS/115533432439509433
198•uneven9434•12h ago•95 comments

A Challenge to Roboticists: My Humanoid Olympics

https://spectrum.ieee.org/humanoid-robot-olympics
16•quapster•1w ago•4 comments

Telli (Voice AI – YC F24) is hiring engineers in Berlin

https://hi.telli.com/eng
1•sebselassie•6h ago

Steam Machine

https://store.steampowered.com/sale/steammachine
2428•davikr•22h ago•1128 comments

Seed. LINE's Custom Typeface

https://seed.line.me/index_en.html
74•totetsu•6h ago•33 comments

Shader Glass

https://github.com/mausimus/ShaderGlass
54•erickhill•5d ago•10 comments

Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software

https://github.com/Homebrew/brew/issues/20755
293•firexcy•18h ago•228 comments

Continuous Autoregressive Language Models

https://arxiv.org/abs/2510.27688
86•Anon84•1w ago•6 comments

Reverse Engineering Yaesu FT-70D Firmware Encryption

https://landaire.net/reversing-yaesu-firmware-encryption/
90•austinallegro•9h ago•14 comments

GPT-5.1: A smarter, more conversational ChatGPT

https://openai.com/index/gpt-5-1/
470•tedsanders•21h ago•586 comments

Randomness Testing Guide

https://random.tastemaker.design/
29•user070223•1w ago•9 comments

Steam Frame

https://store.steampowered.com/sale/steamframe
1736•Philpax•22h ago•628 comments

Transpiler, a Meaningless Word (2023)

https://people.csail.mit.edu/rachit/post/transpiler/
88•jumploops•6d ago•77 comments