Growing rate limiting frequency

Our app is hitting a wall. It has only 2 users, very limited traffic as we prepare to go into live Beta.

Unfortunately, the rate limiting has been increasing to the point of being too frequent for viability. If we launch with this rate limit frequency, we will not be able to gain or retain users, our app will 100% fail.

I am reviewing WU usage, searches, etc… Any suggestions would be greatly welcomed.

The concern is that even if we incorporated more efficiency, the limiting is relatively tight that the app would not be viable for even 10 - 50 concurrent users.

HELP!

How your app has 2 users and it is hitting the limits? Can you explain more? Are you using filtering in searches correctly?

@pxlhstlr you sent me a DM, keep posting in your topic, is better to the community so we can investigate what’s going on with your app. Give us more information.

QuIck actions you can do: go to Settings → My Plan → View metrics and post here what is consuming your app WU’s

There could be a lot of things that could be breaking your app. Even if you build it outside of Bubble, you still need to make sure it’s built properly. It sounds like your app might have some issues. Are you trying to bring in a lot of data at one time in your app? That is usually the culprit. Do you have an advanced filter? Or just a filter on a lot of data? Those are typically what I see users doing that breaks their apps. Hope that helps a bit. :blush:

Which rate? Explain more your issue. Give soecific example, show screencast.

So true. Bubble’s rate limits are strict but you only need to work around it. Managing your own rate limits for security and so you don’t send your bills to the moon is painful to do right.

I think at this stage and state. Bubble actually protecting you from going to the cosmos naked

What rate limit are you experiencing?

Thank you everyone for jumping in and offering assistance. I am gathering more data to share. I noticed some things that can clearly be contributing. It seems there are some features that are just not practical for a single-page bubble app. Will update soon.

Write the problems briefly here will help

Well, on the bright side, you’ve accidentally built the world’s most efficient stress-testing tool.

But, rate limiting at 2 users means you have an infinite loop or a catastrophic database query firing on page load

What do you mean by rate limiting ? do you mean that you’ve exceeded your WU quota with 2 users ?

Rate limiting is a feature of cloudflare which bubble uses. It in essence prevents any actions from your app if it hits a certain number of actions within a certain amount of time, to prevent overload.

UPDATE: I found a preliminary efficiency issue I could use some feedback on.

I have a couple hidden panels with repeating groups that are firing on page load, which I mistakenly thought would not load until visible.

1 of the groups is a users image gallery that users can save their image generations to. (do a search for ‘media’ created by user)

Some context…

  • Users can generate images and then save them to their gallery
  • The gallery is visible when they save, so it updates in real-time
  • Users will likely save their images relatively often
  • Some users might frequently go between their gallery and other panels in the app

I understand that I first off need to make it so the data only loads when the element is made visible.

…but is a gallery (repeating group) like this ok, or is it too much of a burden on a bubble app, too costly in WU?

…or… how can I implement this in my app most efficiently?

:laughing: I do have a couple repeating groups hitting the db that I didn’t know fire when hidden.

Thanks. I had noticed a few unnecessary searches and repeating groups that I didn’t know trigger even if their hidden.

When you have the user upload their images, make sure to check the box on the image uploader to limit the size automatically. This will drastically reduce the size of the image and help with loading this images on the screen. If the images are full size, it will definitely slow things down as well. What if someone uploads a bunch of images that are raw and huge file size. This will make loading horrible.