Regional invocations

Execute an Edge Function in a region close to your database.

Stage:
Beta
Available on self-hosted:
Yes

Supabase's Regional Invocations feature allows you to execute Edge Functions in a region close to your database, optimizing performance for database-intensive operations. This capability ensures low-latency communication between your functions and database, enhancing overall application responsiveness.

Key benefits

  1. Reduced latency: Minimize round-trip time between edge functions and database for faster operations.
  2. Improved performance: Enhance the speed of database queries and updates from your edge functions.
  3. Data locality: Keep data processing close to where the data is stored for efficiency.
  4. Consistency: Ensure that edge functions operate on the most up-to-date data with minimal delay.
  5. Cost optimization: Reduce data transfer costs between regions.
  6. Simplified architecture: Streamline your application's geographic setup for database operations.
  7. Compliance support: Help meet data residency requirements by processing data in specific regions.

Regional invocations are particularly valuable for:

  • Applications with data-intensive serverless functions
  • Real-time data processing workflows requiring low latency
  • Financial applications needing quick database reads and writes
  • Analytics services processing large volumes of data
  • Compliance-sensitive applications with data residency requirements
  • Any scenario where minimizing function-to-database latency is crucial

By leveraging Supabase's Regional Invocations, you can significantly enhance the performance of your database-centric serverless functions. This feature allows you to build more responsive applications, especially those requiring frequent or complex database interactions, by ensuring that your Edge Functions operate as close as possible to your Supabase database.

Read Documentation
Share

Build in a weekend, scale to millions