Hello everyone,
The issue is related to one of my client’s app. The app has had a stable daily WU consumption of 10-20K for months, but starting from September 6th, there’s been a spike in consumption, reaching up to 600K WU per day.
The strange part is: I haven’t done any development or new deployments on this app for weeks. There hasn’t been a significant increase in usage either. Here are the 3-month “page view” and “workflow runs” graphs:
As clearly shown in the image, the usage now is almost the same as it was 3 months ago, or even lower.
I reached out directly to Bubble Support, and after 3 days, they responded as follows:
I can see from your App Metrics that the workload has indeed spiked the last few days, and when looking at the pie charts showing the usage, it primarily stems from four third-party chart plugin elements in the reusable element "Screen - Analytics. When you click into the specific sections, it should take you directly to the element reference itself, and each one is referencing the PotentialCustomers data type, which as over 26,000 live data entries.
The third-party plugin they referred to is the Apex Chart plugin. It has 10.8K installs and a 4.9 rating. If there were an issue with the plugin, thousands of apps would be affected, and the forum would be post about complaints. So, I find this highly unlikely.
They also mentioned the number of entries in the app. However, if that were the issue, there wouldn’t have been a 20x WU consumption spike in a single day. Instead, it would have gradually increased, as this many data entries don’t get created in a single day.
Here is the count of data entry created from 10 Jul 24 to 09 Aug 24
Here is the count of data entry created from 10 Aug 24 to 09 Sep 24
I mean, this problem occurred despite the decrease in data entry growth rate.
Despite everyting, I disabled the “Screen - Analytics” reusable element they mentioned, so that screen is no longer in use. But still, when I check the app metrics, it shows 37K WU consumed in a single hour. When I look into the details, it shows only 3 WU consumed during the same hour. As you can see, there’s a major discrepancy.
Moreover, if I’m not mistaken, all this confusion started with the UI update in the “Logs” tab. So, I think it might be the source of problem.
As a result, my client is being charged unnecessarily every hour because they’re exceeding their WU limit. The app is a critical CRM app for a large organization, so we don’t want to deactivate the WU overage.
Has anyone experienced a similar issue? Or does anyone have an idea of what might be happening?