Home / Function/ calculateMaxThroughput() — supabase Function Reference

calculateMaxThroughput() — supabase Function Reference

Architecture documentation for the calculateMaxThroughput() function in DiskManagement.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  b1a22ce9_2609_ba8f_e6e9_b726bb60d6ce["calculateMaxThroughput()"]
  36093eba_fdee_f0d6_0930_e23cece03c50["CreateDiskStorageSchema()"]
  36093eba_fdee_f0d6_0930_e23cece03c50 -->|calls| b1a22ce9_2609_ba8f_e6e9_b726bb60d6ce
  style b1a22ce9_2609_ba8f_e6e9_b726bb60d6ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/DiskManagement/DiskManagement.utils.ts lines 300–302

export const calculateMaxThroughput = (iops: number) => {
  return Math.min(0.256 * iops, 1000)
}

Subdomains

Frequently Asked Questions

What does calculateMaxThroughput() do?
calculateMaxThroughput() is a function in the supabase codebase.
What calls calculateMaxThroughput()?
calculateMaxThroughput() is called by 1 function(s): CreateDiskStorageSchema.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free