When you write backend code in Velo, you may encounter some limitations. These limitations protect Wix's resources from abuse, whether from malicious users or bad code. They ensure that Wix servers aren't overwhelmed, and that all users can get the resources they need for their sites.
The backend limitations apply when you make requests to your backend code, including the following:
Wix-data queries from your frontend code
Backend requests (web modules) from your frontend code
Loading dynamic pages
Router hooks
Calling HTTP functions
Requests per minute (RPM)
Wix allows you to make up to 7,000 backend requests per minute (RPM) on premium sites, and 5,000 requests on free sites. If your site exceeds the limit, any additional requests within a 1-minute window will be blocked and you'll receive a 429 error code.
Time
Wix allows your web modules called from the frontend, HTTP functions, and router hooks to run for up to 14 seconds. This limitation applies to both free and premium sites. Any of these methods that take longer than 14 seconds will receive a 504 status code.
To learn more, including what you can do when encountering these limitations, check out this article:
https://support.wix.com/en/article/velo-about-backend-limitations