Bubble Workload (1/3) - Understanding Workload

Bubble Workload (1/3) - Understanding Workload

Understanding Workload in Bubble Apps

What is Workload?

  • Workload represents the server resources required to host, run, and scale applications built on Bubble. It simplifies resource management by aggregating various technical metrics traditionally monitored by software development teams.
  • Instead of managing complex infrastructures with multiple systems (servers, networking, storage), workload consolidates these into a single metric: workload units. This metric tracks the total server work consumed by an app.

How Workload Units are Calculated

  • Each month, Bubble calculates the total workload based on different activity types that contribute to overall consumption. The calculation resets at the beginning of each new month.
  • Activities have starting costs in workload units; for example, a database search costs 0.3 units while deleting an item costs 0.1 units. A full list of activities and their respective costs can be found in the manual.

Client-Side vs Server-Side Operations

  • It's crucial to differentiate between client-side and server-side operations when considering workload. Client-side actions (like setting custom states with basic data) do not incur any workload since they don't involve server interaction.
  • Conversely, if a client-side action requires fetching data from the server (e.g., using custom data types), it incurs a workload cost due to additional server processing involved.

Complexity and Cost Calculation

  • The complexity of operations affects final workload calculations; while activities have base costs, additional complexities increase total usage.
  • For instance, displaying user lists requires fetching data from the server (incurring cost), but selecting items within that list can be done client-side without incurring extra charges.

Importance of Understanding Workload

  • Grasping how workload functions is essential for optimizing app performance and scaling effectively based on actual usage rather than assumptions about operation costs.
  • For further details on understanding workload and its components, users are encouraged to consult the manual for comprehensive insights into activity types and their implications on resource consumption.

Turn any video into a summary like this

YouTube links, meetings, lectures. With transcripts, search, and chat.

Video description

In this video we will break down the concept of Workload and explain how it helps simplify the complex infrastructure behind your app. You'll learn how Bubble tracks server-side activities using Workload Units (WU), which aggregate various metrics like database searches and other server tasks, so you only need to focus on a single metric to manage your app's resources. We'll explore examples of server-side versus client-side operations, highlighting what contributes to Workload and what doesn’t, giving you the tools to optimize your app's performance without unnecessary overhead. Whether you're new to Bubble or looking to fine-tune your app's efficiency, this video will equip you with the knowledge to build smarter. Check out the full manual for a detailed list of activity types and their Workload costs. Manual ➡ manual.bubble.io * * * * * Chapters 0:00 - What is Workload? 0:21 - Workload Units 1:31 - Understanding WU Starting Costs 2:18 - WU Example (Custom State) 4:08 - Client Side vs Server Side 4:28 - WU Example (Repeating Group) 5:08 - Conclusion * * * * * Subscribe to this channel to be the first to hear about new videos! Bubble is a software development platform that enables anyone to build and launch web applications without writing code. Rather than specializing in one or two aspects of web development (like designing landing pages or building databases), Bubble’s full-stack visual programming interface does it all. That means anyone from first-time entrepreneurs to enterprise-level companies can take an idea from concept to fully functional, scalable reality — faster and cheaper than you could with just code. Have a question? Please visit bubble.io/support. Learn more about Bubble: Homepage ➡ https://bble.io/a6l4uf Twitter ➡ https://twitter.com/bubble Blog ➡ https://bubble.io/blog