Repair Event Loop Starvation

    by Mariusz Wrzeszczynski

    1

    Repair event-loop starvation from synchronous CPU work, blocking libraries, long callbacks, microtask monopolization, and unsafe offload boundaries.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    See it in action

    You say

    Our Node/TypeScript report endpoint parses a large JSON payload, runs pbkdf2Sync for every section, gzipSync-compresses the result, and writes it to storage. During a report request, unrelated health checks and WebSocket heartbeat timers are delayed for seconds. Repair locally with generated payloads and deterministic responsiveness tests. Preserve report ordering/output. Do not access production, change live worker counts, or invent our latency SLO.

    Your agent does

    Event-loop starvation found. The repair removes request-path blockers, preserves order and cancellation, and verifies responsiveness locally. Production capacity remains unverified.

    What you get

    Identify and offload blocking synchronous crypto or compression calls.Refactor oversized JSON parsing into non-blocking chunked operations.Implement event-loop-delay observability and heartbeat responsiveness tests.Convert blocking filesystem and SDK calls to safe asynchronous patterns.

    About this skill

    Event-loop starvation makes an application look randomly slow even when most handlers are async. One synchronous crypto, compression, parser, SDK, or serialization step can delay unrelated requests, heartbeat timers, cancellations, and sockets.

    This skill maps the blocking boundary, uses supported async or bounded worker paths, preserves ordering and cancellation, and verifies responsiveness locally.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Frequently Asked Questions

    Popular in Workflow Automation