{"slug": "show-hn-nextmq-managed-bullmq-for-serverless-next-js", "title": "Show HN: NextMQ – managed BullMQ for serverless Next.js", "summary": "NextMQ launches a managed BullMQ service for serverless Next.js applications, handling job queues with auto-retry, backoff, rate-limiting, and deduplication without requiring Redis or infrastructure management. The service integrates via a single webhook handler and offers real-time queue monitoring and alerts.", "body_md": "### Auto-retry & backoff\n\nThrow, and we retry with fixed or exponential backoff.\n\nSchedule jobs with auto-retry, parallel execution, rate-limiting, deduplication, and parent-child dependencies.\n\n```\n// A slow LLM call outlives a serverless function, and a\n// burst trips the provider's 429 — run it off-request,\n// throttled and in parallel.\nimport { Worker } from '@nextmq/sdk'\n\nexport const ai = new Worker('ai', async (job) => {\n  return await openai.responses.create(job.data.input)\n}, {\n  limiter: { max: 10, duration: 1000 }, // 10 calls / sec\n  concurrency: 25,                      // 25 in flight\n})\n```\n\nThe same `Queue`\n\n, `Worker`\n\n, and `FlowProducer`\n\n— without the complex infrastructure, seamlessly integrated into your Next.js app.\n\n```\n// The logic runs in your app, the queue runs on ours \n// — connected by a single webhook handler.\n\nimport { createNextMQHandler } from '@nextmq/sdk/next'\nimport { ai } from '@/jobs/ai'\n\nexport const { GET, POST } = createNextMQHandler({\n  workers: [ai],\n})\n```\n\nNextMQ runs the open-source BullMQ engine that's processed billions of jobs a day since 2011. Battle-tested core, none of the ops.\n\nThrow, and we retry with fixed or exponential backoff.\n\nDelayed and repeating jobs on timezone-aware cron.\n\nSet per-queue concurrency; jobs run in parallel.\n\nCap calls per window so you never blow a provider quota.\n\nDrop duplicate jobs by key — the work runs once.\n\nFan out parent/child graphs and gather child results.\n\n| Queue | Completed | Failed | Err |\n|---|---|---|---|\n| ai | 62.4k | 180 | 0.3% |\n| 211k | 42 | 0.0% | |\n| payments | 47.9k | 610 | 1.3% |\n| webhooks | 18.3k | 96 | 0.5% |\n\nInspect, debug, or replay your BullMQ queues in real time — and get alerted the moment failures spike.\n\nStart free, upgrade to Pro for production, and talk to us for a dedicated setup.\n\nFor testing and small projects.\n\nFor production workloads.\n\nFor dedicated infrastructure.\n\nDrop-in BullMQ-compatible SDK.\n\nNo server, no Redis, no webhook plumbing.", "url": "https://wpnews.pro/news/show-hn-nextmq-managed-bullmq-for-serverless-next-js", "canonical_source": "https://nextmq.com/", "published_at": "2026-06-30 15:30:20+00:00", "updated_at": "2026-06-30 15:50:00.122084+00:00", "lang": "en", "topics": ["developer-tools", "ai-infrastructure"], "entities": ["NextMQ", "BullMQ", "Next.js", "OpenAI"], "alternates": {"html": "https://wpnews.pro/news/show-hn-nextmq-managed-bullmq-for-serverless-next-js", "markdown": "https://wpnews.pro/news/show-hn-nextmq-managed-bullmq-for-serverless-next-js.md", "text": "https://wpnews.pro/news/show-hn-nextmq-managed-bullmq-for-serverless-next-js.txt", "jsonld": "https://wpnews.pro/news/show-hn-nextmq-managed-bullmq-for-serverless-next-js.jsonld"}}