Is Vercel Queue ready for testing?

Hi team,

I saw the package on npm https://www.npmjs.com/package/@vercel/queue published 15 days ago.

Is it ready for people to integrate? or is it still under limited beta that’s invite only?

Thanks!

1 Like

Hi @chihangwang, welcome to the Vercel Community!

Thanks for asking this question here. As you can see on the NPM versions list that the queues project is in alpha.

However, we’ve recently announced public beta for the open-source Workflow Development Kit (WDK) that you can use with Vercel Workflow.

This is built on top of Vercel Queues and Vercel Functions, so you don’t have to worry about the infrastructure and use the high level TypeScript API to build business logic as you wish.

3 Likes

Wow, this is so nice!

Thanks team!

2 Likes

Is it possible to use Queues directly as well? Or are there any examples of queue-like patterns within Workflows, especially ones that involve writing to databases? I have a strong use case where queues would fit well.

Hi @kulterryan, you can use the Workflows kit for any queue based use case. There are plenty of examples in this repo. Here’s one that involves Postgres database:

I hope you find this helpful.

1 Like

Still no official word from Vercel staff in that thread. From the changelog, Queues is in Limited Beta, so probably invite-only for now. Someone on page 5 was asking about direct queue use versus workflow patterns, but nothing resolved. If you need it soon, might be worth posting a request to join the beta.

Hi, I need a queue service that will enqueue tasks and execute a workflow ‘one by one’, i.e waiting for the workflow to finish before loading the next task and re using the workflow. Can I use the workflow development kit for this? I looked at the repo you posted but could not find anything like this. Thank you

We’re still in beta! Appreciate your patience.

1 Like