1
0 Comments

Solving Vercel's Queueing Problem with Next.js Queue: Feedback Needed!

Hey Indie Hackers,

If you've ever deployed projects on Vercel, you know how amazing their serverless infrastructure is—blazing fast deployments, automatic scaling, and a developer-friendly experience. But there's one thing Vercel doesn't natively support: queueing jobs.

If you're dealing with tasks that require background processing—like sending emails, generating reports, or processing large datasets—you're left scrambling for solutions outside the Vercel ecosystem. That’s where Next.js Queue comes in.

What is Next.js Queue?

Next.js Queue is a simple and effective solution to introduce queueing functionality to your Next.js applications deployed on Vercel. It allows you to:

Send requests to queue jobs and process them asynchronously.

Forward jobs to your Vercel functions, enabling background processing within your existing serverless environment.

Avoid timeouts and performance issues by decoupling long-running tasks from user-facing requests.

Why I Built This

I found myself facing this exact problem while building SaaS products. Vercel's serverless functions are great, but running anything that takes longer than a few seconds becomes a bottleneck. I wanted a solution that integrates seamlessly into the Next.js/Vercel workflow without needing additional infrastructure like AWS Lambda queues or third-party services.

How It Works

  • Push Jobs to the Queue: Use the provided API to enqueue tasks.

  • Background Processing: Your Vercel function picks up the queued jobs.

  • Retry Mechanisms & Logging: Built-in retries and logging help track job execution.

The goal is to make it as developer-friendly as possible—no additional setup beyond what you're already doing with Next.js.

Looking for Feedback!

I'm currently refining the idea and would love your feedback:

Would you find this useful for your Next.js projects?

What are the pain points you face with long-running tasks on Vercel?

Any must-have features you'd expect from a queueing solution?

I’d love to hear your thoughts, suggestions, or if you'd be interested in early access. Let’s make serverless even better!

Drop a comment below or DM me.

Thanks

posted to Icon for group Developers
Developers
on January 22, 2025
Trending on Indie Hackers
The most underrated distribution channel in SaaS is hiding in your browser toolbar User Avatar 185 comments I launched on Product Hunt today with 0 followers, 0 network, and 0 users. Here's what I learned in 12 hours. User Avatar 157 comments I gave 7 AI agents $100 each to build a startup. Here's what happened on Day 1. User Avatar 98 comments How are you handling memory and context across AI tools? User Avatar 85 comments Do you actually own what you build? User Avatar 48 comments Show IH: RetryFix - Automatically recover failed Stripe payments and earn 10% on everything we win back User Avatar 34 comments