FiberOpticFox
FiberOpticFox•3mo ago

Functions limits

[URGENT QUESTION] How many convex functions can be running at once for a given project? On professional plan
22 Replies
Hmza
Hmza•3mo ago
What kind of limits are we talking about?
FiberOpticFox
FiberOpticFoxOP•3mo ago
The number of functions that run at once I have functions that were queued up an hour ago and are only running now
erquhart
erquhart•3mo ago
Scheduled functions?
FiberOpticFox
FiberOpticFoxOP•3mo ago
yes
erquhart
erquhart•3mo ago
Limits | Convex Developer Hub
We’d love for you to have unlimited joy building on Convex but engineering
erquhart
erquhart•3mo ago
There's no published numbers on parallelism that I'm aware of, it's an implementation detail. you can have up to 1m scheduled functions queued
FiberOpticFox
FiberOpticFoxOP•3mo ago
I just want to run more functions at the same time
erquhart
erquhart•3mo ago
I have functions that were queued up an hour ago and are only running now
Like ran an hour after they were scheduled to run? Were other functions running? Any idea how many-ish?
FiberOpticFox
FiberOpticFoxOP•3mo ago
They are scheulded to run 0ms after
erquhart
erquhart•3mo ago
Are we talking hundreds, thousands, more? Trying to understand the circumstance here
FiberOpticFox
FiberOpticFoxOP•3mo ago
probably around 20,000
erquhart
erquhart•3mo ago
So 20k functions were scheduled and then it took an hour to clear the queue, not like it waited doing nothing for an hour before running the scheduled function - is that correct?
FiberOpticFox
FiberOpticFoxOP•3mo ago
yes they are called with ctx.scheduler.runAfter(0, ...)
erquhart
erquhart•3mo ago
If this is impacting you in production and you're on pro plan, you have 24 hour email support, support@convex.dev
FiberOpticFox
FiberOpticFoxOP•3mo ago
so I should just ask there?
erquhart
erquhart•3mo ago
actually pro-support@convex.dev yes if this is a production impacting peformance issue if it's not that serious, I would open a post in #support-community
FiberOpticFox
FiberOpticFoxOP•3mo ago
it's impacting prod, but thanks for the help! Emailed support. How long does it usually take to get a response?
Hmza
Hmza•3mo ago
24 hours
FiberOpticFox
FiberOpticFoxOP•3mo ago
Ok that's a long time I think the issue is we need more compute And if there's a way to easily do that, please let me know ASAP
jamwt
jamwt•3mo ago
@FiberOpticFox hey! 1851 labs? we just responded to the support ticket. looking to set up a direct channel with you all. we can create a discord channel or a slack connect. we're working on scaling you all up so you can take this load (thread taken to slack connect) (technically, 24 hour is the guaranteed response window. for urgent requests, you'll get a response quite a bit faster than that)
FiberOpticFox
FiberOpticFoxOP•3mo ago
Confirmed ^, got response very quick
Hmza
Hmza•3mo ago
I meant within 24 hours btw 😂

Did you find this page helpful?