frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Herd – A Go sidecar to stop stateful processes Puppeteer/LLMs from OOM

6•sankalpnarula•1h ago
Hey HN.

I'm an engineering student at Waterloo building stateful AI agents, and I kept hitting the same wall: whenever my Python scripts crashed or dropped a connection, the underlying Puppeteer or Ollama processes would just sit there orphaned, eating RAM until the node OOM-killed itself. Standard load balancers break sticky sessions, and passive HTTP timeouts are too slow for cleanup.

I couldn't find a good local process pool that actually cleaned up dead stateful sessions reliably, so I built Herd in Go.

It uses a persistent stream (gRPC/Unix sockets) strictly as a dead-man's switch. If your client script dies, the stream breaks. Herd registers the EOF and instantly fires a SIGKILL to the worker process (relying on Pdeathsig on Linux). For the actual heavy data, you just blast HTTP traffic through Herd's internal proxy, which routes it directly to the active process port.

My actual goal is to turn this into a multi-node distributed mesh with a Redis registry, where a client can drop off and an edge gateway routes them back to the exact pod holding their stateful memory.

But I know building a distributed mesh on top of a leaky local engine is a death sentence. The single-node cleanup has to be flawless first.

I'd love for you guys to roast the architecture. Specifically: is relying on Pdeathsig actually robust enough for a local dead-man's switch in production, or am I being naive and need to just bite the bullet and wrap everything in cgroups & microvms right now?

Repo link: https://github.com/herd-core/herd

6 Active AI Training Projects on Alignerr Right Now [March 2026]

https://aitrainer.work/guides/alignerr-active-projects-march-2026
2•celadondev•4m ago•0 comments

From Zip to Nought: The Rise and Fall of Iomega

https://hackaday.com/2026/03/24/from-zip-to-nought-the-rise-and-fall-of-iomega/
1•lxm•7m ago•0 comments

Ask HN: What shell/terminal setup would you recommend to beginners today?

1•GeekUses9527•8m ago•0 comments

My Stay at the Biltmore Mayfair

https://substack.com/profile/484399211-lolipop/note/c-232884584
1•Btmviolet123•10m ago•0 comments

Url to Video – Transform Product URLs into High-Converting AI Video Ads

https://urltovideo.ai
2•Lisheng•13m ago•0 comments

Primary School Children Face Having to Work Until They Are 75

https://www.thetimes.com/money/pensions/article/primary-school-children-work-until-75-retirement-...
3•karakoram•15m ago•1 comments

Fantastic Anime Edit

https://www.youtube.com/watch?v=mEyrsy6PWgo
1•nivethan•17m ago•0 comments

Show HN: I built a team of AI executives to build my startup – I fired one

https://www.agentmadness.ai/entries/mise-inc
1•jonflaig13•22m ago•0 comments

Why Microsoft and OpenAI are at odds

https://finshots.in/archive/why-microsoft-and-openai-are-at-odds/
1•vismit2000•24m ago•0 comments

Nginx ingress controller has been archived

https://github.com/kubernetes/ingress-NGINX
1•Doublon•26m ago•0 comments

New Mexico just handed Meta its first courtroom defeat over child safety

https://techcrunch.com/2026/03/24/new-mexico-just-handed-meta-its-first-courtroom-defeat-over-chi...
1•pseudolus•27m ago•1 comments

Why Speech Has Never Become Context

https://zhenthinks.substack.com/p/why-speech-has-never-become-context
1•zhenthinks•29m ago•0 comments

The Ocean of Numbers: How India Shaped the Way We Calculate [video]

https://www.youtube.com/watch?v=sa2kN-li984
1•vismit2000•29m ago•0 comments

Data Transformation in the Browser

https://www.smartquerytools.com/
1•dango2506•31m ago•0 comments

StationeryObject

https://stationeryobject.com/archive/
1•NaOH•31m ago•0 comments

Levine Links: Money Stuff but enhanced with O paywalls

https://levine.yet-to-be.com/
1•wyxuan•32m ago•1 comments

LiteLLM got supply-chain attacked: 97M downloads/month, credential stealer

https://hexaclaw.com/blog/litellm-supply-chain-attack
1•hexaclawdevs•34m ago•1 comments

OpenAI killed Sora. Here are 11 video APIs that still work, with pricing

https://hexaclaw.com/blog/sora-is-dead-video-alternatives
1•hexaclawdevs•35m ago•0 comments

DOSS $55M Series B

https://www.doss.com/news/doss-raises-55m-series-b
1•doppp•38m ago•0 comments

So far AI has mostly proven the inherent worth of menial laborers

https://www.theverge.com/ai-artificial-intelligence/899086/jensen-huang-nvidia-agi
4•wrqvrwvq•39m ago•2 comments

Pidgin HTML Markup for Writing, or How Much Can HTML Sustain?

https://aartaka.me/pidgin.html
1•pabs3•41m ago•0 comments

Singapore's Sound Card Hero [video]

https://www.youtube.com/watch?v=VTPa6wRECw0
1•arbayi•41m ago•0 comments

Show HN: JaaS platform: AI panhandler charges $1 minimum per joke

https://doyouhaveadollar.com
1•flarite•43m ago•0 comments

What we learned after 6 months of building an AI podcast app nobody used

https://ansenhuang.substack.com/p/instapodz-from-ai-podcast-platform
2•AnsenHuang•45m ago•0 comments

Intel's Binary Optimization Tool may be cheating on Geekbench 6

https://www.geekbench.com/blog/2026/03/geekbench-6-and-intels-binary-optimization-tool/
1•wmf•47m ago•0 comments

Show HN: Give your agents the ability to operate interactive TUI apps

https://github.com/flipbit03/terminal-use
2•fb03•47m ago•0 comments

NeurIPS bans submissions from US-sanctioned institutions

https://neurips.cc/Conferences/2026/MainTrackHandbook
2•xucheng•53m ago•1 comments

DigitalOcean Announces Proposed Public Offering of Common Stock

https://investors.digitalocean.com/news/news-details/2026/DigitalOcean-Announces-Proposed-Public-...
3•SergeAx•53m ago•1 comments

Building superconducting and neutral atom quantum computers

https://blog.google/innovation-and-ai/technology/research/neutral-atom-quantum-computers/
2•qnleigh•57m ago•0 comments

Pokopia Atlas – a companion database and tracker for Pokopia

https://pokopiaatlas.netlify.app/
2•Xez13•1h ago•0 comments