Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: change geo-aware routing to geo-routing (#34756)

Wen Bo Xied5134399e43a
diff --git a/apps/docs/content/guides/platform/read-replicas.mdx b/apps/docs/content/guides/platform/read-replicas.mdx
index 81f4cbf3f52..28b0a2b3ef7 100644
--- a/apps/docs/content/guides/platform/read-replicas.mdx
+++ b/apps/docs/content/guides/platform/read-replicas.mdx
@@ -126,7 +126,7 @@ The experimental routing mode can be enabled by sending the header `sb-lb-routin
Starting on April 4th, 2025, we will be changing the routing behavior for eligible Data API requests:
- Old behavior: Round-Robin distribution among all databases (all read replicas + primary) of your project
-- New behavior: Geo-aware routing, that directs requests to the closest available database
+- New behavior: Geo-routing, that directs requests to the closest available database
The new behavior delivers a better experience for your users by minimizing the latency to your project. You can take full advantage of this by placing Read Replicas close to your major customer bases.
diff --git a/apps/www/_blog/2025-04-04-data-api-nearest-read-replica.mdx b/apps/www/_blog/2025-04-04-data-api-nearest-read-replica.mdx
index 30ad9164050..9cdd11c9d46 100644
--- a/apps/www/_blog/2025-04-04-data-api-nearest-read-replica.mdx
+++ b/apps/www/_blog/2025-04-04-data-api-nearest-read-replica.mdx
@@ -15,30 +15,30 @@ toc_depth: 3
launchweek: 14
---
-Today we’re releasing Data API requests routing to the nearest Read Replica by extending our [API load balancer](/docs/guides/platform/read-replicas#api-load-balancer) to handle geo-aware routing.
+Today we’re releasing Data API requests routing to the nearest Read Replica by extending our [API load balancer](/docs/guides/platform/read-replicas#api-load-balancer) to handle geo-routing.
It’s an impactful improvement that will minimize request latency for your globally distributed applications. It’s only available today when [experimental routing](/docs/guides/platform/read-replicas#experimental-routing) is enabled.
-## What is geo-aware routing?
+## What is geo-routing?
-Geo-aware routing automatically directs your Data API requests to the geographically closest read replica of your database, reducing latency and improving response times for your users around the world.
+Geo-routing automatically directs your Data API requests to the geographically closest read replica of your database, reducing latency and improving response times for your users around the world.
<Img
wide
- alt="Geo-aware routing diagram"
+ alt="Geo-routing diagram"
src={{
- dark: '/images/blog/lw14-data-api-nearest-rr/geo-aware-routing.png',
- light: '/images/blog/lw14-data-api-nearest-rr/geo-aware-routing-light.png',
+ dark: '/images/blog/lw14-data-api-nearest-rr/geo-routing.png',
+ light: '/images/blog/lw14-data-api-nearest-rr/geo-routing-light.png',
}}
/>
Previously, if you had read replicas in Frankfurt, Singapore, and Virginia, a user located in Europe may experience dramatically different latencies because they could be making requests to any of the replicas.
-Our new geo-aware routing automatically connects users to the nearest read replica so the same user would only make requests to the read replica in the Frankfurt region.
+Our new geo-routing automatically connects users to the nearest read replica so the same user would only make requests to the read replica in the Frankfurt region.
-## How geo-aware routing works
+## How geo-routing works
-Our geo-aware routing system uses geospatial algorithms to determine the optimal read replica for each request:
+Our geo-routing system uses geospatial algorithms to determine the optimal read replica for each request:
1. Each incoming API request includes geolocation data from the network edge (specifically the `cf.colo` property, which provides the IATA airport code of the datacenter that received the request).
2. We maintain a coordinate mapping system that associates each region where read replicas can be deployed with precise geospatial coordinates.
@@ -48,23 +48,23 @@ Our geo-aware routing system uses geospatial algorithms to determine the optimal
The entire process is completely seamless to your application and users, requiring no changes to your code or configuration besides updating your project URL (`<project_ref>-all.supabase.co`) today.
-To get the most from geo-aware routing, deploy read replicas in regions where your users are concentrated. The more strategically you place your read replicas, the more your users will benefit from reduced latency and improved response times.
+To get the most from geo-routing, deploy read replicas in regions where your users are concentrated. The more strategically you place your read replicas, the more your users will benefit from reduced latency and improved response times.
## Initial release and roadmap
-As an initial release, geo-aware routing is available with the following limitations:
+As an initial release, geo-routing is available with the following limitations:
- Currently limited to read-only Data API (PostgREST) requests
- Only available via experimental routing
-If you're already using our API load balancer with experimental routing enabled, there's nothing you need to do; geo-aware routing is automatically applied to your Data API requests.
+If you're already using our API load balancer with experimental routing enabled, there's nothing you need to do; geo-routing is automatically applied to your Data API requests.
Otherwise, you can enable this feature:
1. Ensure your project is using the API load balancer endpoint (`<project_ref>-all.supabase.co`)
2. Enable experimental routing (see [experimental routing](/docs/guides/platform/read-replicas#experimental-routing))
-We're actively working on expanding geo-aware routing support to other Supabase products, such as Auth, Storage, and Realtime. Stay tuned for updates.
+We're actively working on expanding geo-routing support to other Supabase products, such as Auth, Storage, and Realtime. Stay tuned for updates.
## Get started today
diff --git a/apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-aware-routing-light.png b/apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-routing-light.png
similarity index 100%
rename from apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-aware-routing-light.png
rename to apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-routing-light.png
diff --git a/apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-aware-routing.png b/apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-routing.png
similarity index 100%
rename from apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-aware-routing.png
rename to apps/www/public/images/blog/lw14-data-api-nearest-rr/geo-routing.png