Nicheloom visits: 58,050 all-time · 7,694 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

Herd

A Go sidecar to stop stateful processes Puppeteer/LLMs from OOM

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

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

HN · launched Mar 25, 2026 · 6 upvotes (top 71%) · 0 views

Niche: ai agent runtime environments · 745 launches, 498 in the last 7 days ▲ +916% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Commercial product

Source listing ↗

Could you build this?

Yes This is a lightweight Go daemon/sidecar that monitors parent process PIDs or network sockets and terminates orphaned child processes (Puppeteer/Ollama) upon disconnection.

Discussion

1 comment analyzed.

Concerns raised: Complexity of microvm/cgroups implementation may be too high for project scope

Competitors

Other products that read as similar to this one : 281 launches clear the similarity bar, closest 8 shown.

Attention rank: #223 of 282 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 144 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.