Hi,
I am writing a Saas auction platform for which I will need to have high levels of concurrency from time to time usually at the end of the each auction - generally this is in the last hour where I will get 100 users or so all placing bids across a range of around 250 lots.
I have been doing some load testing against the app because I wanted to try to understand how responsive Bubble can be. I wanted to also understand which plan is going to be most appropriate.
During development I am on the Starter Plan and unsurprisingly, I have come up against rate limiting pretty quickly. But worryingly this has triggered with around 100 request per minute with a crude curl test, just hitting the same page quickly.
I’ve then set up a 12 droplets on Digital Ocean using self-hosted ddosify and run 12 simultaneous tests (from different IP Addresses to avoid hitting the rate limiter) where a range of 4 pages are hit once every second over the course of 100 seconds.
Even with this more structured test I am hitting rate limits and this is only simulating 12 users. Again this is unsurprising with the Starter Plan. But it does start to give me concerns about how quickly rate limits could be hit on better plans.
I have been reading the documentation on the rate limiting to understand the route to avoiding hitting the limits, but is unclear how it is applied and how I can access higher rate limits. Much of it refers to API connections.
The documentation also refers to pricing plans that are no longer (Professional or above) in place and it is unclear how purchasing additional capacity or buying higher plans provides higher rate limits and what would they be?
The documentation says the following:
The rate limit starts at 1,000/minute and then once on a Professional plan or above you can increase this limit. For every unit of capacity you add to your plan above 2 you’ll get an additional 1,000 requests per minute.
So the questions I have are as follows:
-
The documentation refers to capacity being added to my plan when capacity above 2 is added - what does that mean? Is that 2 blocks of something? I have looked at the additional work unit purchases and they are sold in the 000’s. It is not clear what 2 units of capacity are?
-
If I have upgrade to Growth or Team what are the starting rates for those plans and how do I calculate what the limits will be?
I am starting to wonder if the Enterprise dedicated server option will be the way forward (there will be load of others things I can do to make the app more efficient too).
I am interested in hearing other’s thoughts and opinions on this. And would appreciate feedback from those of you who have come up against similar challenges.
Many thanks.