DealForge autonomously sources, scores, and writes investment memos on venture deals. Stop manually hunting.

1,180+ deals tracked  ·  22 AI investment memos  ·  Updated daily

← Back to leaderboard

Herd

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

40 AI Score
Show_hn other Added Mar 25, 2026

Details

Sector
other
Total Funding
$0
Last Round
$0

About

Hey HN.<p>I&#x27;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.<p>I couldn&#x27;t find a good local process pool that actually cleaned up dead stateful sessions reliably, so I built Herd in Go.<p>It uses a persistent stream (gRPC&#x2F;Unix sockets) strictly as a dead-man&#x27;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&#x27;s internal proxy, which routes it directly to the active process port.<p>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.<p>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.<p>I&#x27;d love for you guys to roast the architecture. Specifically: is relying on Pdeathsig actually robust enough for a local dead-man&#x27;s switch in production, or am I being naive and need to just bite the bullet and wrap everything in cgroups &amp; microvms right now?<p>Repo link: <a href="https:&#x2F;&#x2F;github.com&#x2F;herd-core&#x2F;herd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;herd-core&#x2F;herd</a>

AI Score Reasoning

Heuristic score based on available signals. Funding: $0, Source: show_hn.

Source

Show_hn — View original →