#Scalibility of Convex?

4 messages · Page 1 of 1 (latest)

quick roost
#

How much concurrent users convex can handle?

rigid mirageBOT
#

Hi @quick roost. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Convex is designed to handle a large number of concurrent users. The exact number can depend on various factors such as the complexity of the operations being performed and the specific plan you're on.

For example, Convex's implementation uses 64bit floats to represent the integer position, which allows for over 9 million billion sessions - that’s 30K sessions per second for 10 thousand years. Convex does support 64bit integers though, so this limit can be increased easily source (https://stack.convex.dev/waitlist#footnote-label).

In terms of function execution, actions can do up to 1000 concurrent operations, such as executing queries, mutations or performing fetch requests source (https://docs.convex.dev/functions/actions#limits).

Convex also has a feature called Funrun, which allows pro customers to run 10 times as many functions concurrently. This feature can easily scale horizontally by increasing the number of Funrun instances as the applications scale source (https://stack.convex.dev/horizontally-scaling-functions#impact).

However, it's important to note that there are limits on function calls and action execution depending on the plan you're on. For instance, the Starter plan allows for 1,000,000 function calls per month and 20 GiB-hours of action execution, while the Professional plan allows for 25,000,000 function calls per month (with additional costs for more) and 250 GiB-hours of action execution (with additional costs for more) source (https://docs.convex.dev/production/state/limits#functions).

In terms of database queries, Convex provides techniques to keep your database queries efficient as your app grows from tens to hundreds to thousands of users source (https://stack.convex.dev/queries-that-scale).

#

So, while there are some limits, Convex is designed to scale and handle a large number of concurrent users and operations.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: