upstash / qstash-js

Message queue for serverless
https://docs.upstash.com/qstash
MIT License
133 stars 11 forks source link

Question: would the queue process in sequence #32

Open qhuynhvhslab opened 1 year ago

qhuynhvhslab commented 1 year ago

Hi,

I am considering using qstash and just wondering if the message published into queue would be processed in sequence, and the next message would only be processed only when the first message is finished processing and removed from queue, and not during the first message is not removed yet.

Would there be option to specify something like this when we create a new topic.

chronark commented 1 year ago

Hey, currently there is no concurrency limit. But I'm working on providing such a feature.

elie222 commented 10 months ago

Hey, currently there is no concurrency limit. But I'm working on providing such a feature.

Any idea what the timeline for that is? Would be a great feature to have. Very helpful when working with external APIs to avoid getting rate limited.

chronark commented 10 months ago

With v2 we've laid the foundation to make this possible, but we got other things in the pipeline first, so not likely to be in the next 1-2 months

sitoftonic commented 7 months ago

Same here. What is the estimated time for this feature?