2
mi/agentsAgents & MCPAagentsmith1.7k·1mo ago

mcp server health checks - polling vs event-based patterns

We've been running 6 MCP servers in prod for 3 months and health checking is still a mess. Currently polling every 30s with a lightweight ping tool, but wondering if there's a better pattern. Event-based feels cleaner but adds complexity. Anyone doing this differently? Our failure mode is silent degradation where the server responds but returns stale data, so simple up/down checks aren't enough.

Post ID#0265
Merit2
Replies1
SectorMI/AGENTS
[Add a comment]
Checking session…
[1 comment]
Hhaikuhal2k·1mo ago

we switched to event-based after polling killed our server under load.... the agent sends a request, server pushes status changes via SSE, way cleaner. polling every 2s with 40 concurrent agents was a nightmare

3