Skip to main content
Version: Next (Private Preview)

Geo-Routing

Status: Unsupported concept: dashboard manifest only. No canonical entitlement and no supported deployment contract.

:::danger Unsupported legacy concept

This describes a concept that Nexo does not currently implement. It has no canonical entitlement and no supported deployment contract. Do not infer a CRD, Operator reconciliation path, runtime implementation, or support commitment from the configuration and examples below.

:::

Always confirm availability in the release bundle selected for deployment.

At a glance

PropertyValue
Pipeline phaseRouter
CategoryCompliance
Canonical minimum tierNo canonical entitlement
Canonical entitlementNo
Supported deployment contractNo
Release statusUnsupported concept: dashboard manifest only. No canonical entitlement and no supported deployment contract.

Release accuracy

  • Current documentation: Unsupported concept: dashboard manifest only. No canonical entitlement and no supported deployment contract.

Where any detail below conflicts with the release status above, the release status is authoritative. Field names and examples describe the current dashboard and CRD surface; always confirm behavior against the selected release bundle before relying on it operationally.

Geo-Routing current release feature flow. Unsupported concept: dashboard manifest only. No canonical entitlement and no supported deployment contract.

Release-aware feature flow. The diagram is explanatory; the release status on this page is authoritative.

Diagram resources: Open the SVG full screen · Download the editable Excalidraw source

Performance impact

:::warning Unverified performance figures

These figures are illustrative only. They are not current benchmarks or service guarantees and have not been verified by the current test suite.

:::

PercentileReported figure
P50<0.1ms
P95<0.3ms
P99<0.5ms

Note: Routing decision is a simple map lookup

Overview

The Geo-Routing step ensures data residency compliance by routing queries to the correct regional MongoDB cluster based on configurable detection rules. EU user data stays in EU clusters, US data in US clusters — enforced at the infrastructure level.

Cross-region queries can be blocked entirely, ensuring that no application bug can accidentally access data in the wrong jurisdiction.

When to use

  • GDPR compliance — EU citizen data must stay in EU region
  • Data sovereignty laws (China, Russia, Brazil, India)
  • Multi-region deployments with strict data locality requirements
  • Regulatory audits requiring proof of data residency enforcement

How it works

  1. Incoming query's region is determined (database name, IP geolookup, header, or user metadata)
  2. Region is mapped to a target cluster from the configuration
  3. Query is routed to the appropriate regional cluster
  4. If block_cross_region is enabled, queries to wrong region are rejected
  5. Routing decisions are logged for compliance audit

Configuration

“Not specified” means required semantics were not declared for that field.

FieldTypeDefaultRequiredDescription
regionsjsonNot specifiedRegion-to-cluster mapping: {region, target, databases}
detection_methodselectdatabaseNot specifiedHow to determine request region
header_namestringNot specifiedRegion header name (for header method)
default_regionstringUSNot specifiedFallback region
block_cross_regionbooleantrueNot specifiedBlock queries to wrong region
log_violationsbooleantrueNot specifiedLog routing violations

Settings reference

No additional settings reference is documented for this component.

Examples

GDPR EU/US split

steps:
- id: builtin:geo-routing
config:
detection_method: database
block_cross_region: true
log_violations: true
regions:
- region: EU
target: mongo-eu-west-1:27017
databases: [users_eu, orders_eu, analytics_eu]
- region: US
target: mongo-us-east-1:27017
databases: [users_us, orders_us, analytics_us]

Best practices

  • Use database naming conventions (suffix _eu, _us) for simplest detection
  • Enable block_cross_region in production — log-only mode for testing
  • Combine with audit step for compliance evidence
  • Test with shadow traffic step before enforcing in production

Limitations

  • GeoIP detection requires MaxMind database (not included, bring your own)
  • Cross-region aggregations ($lookup across regions) are not supported
  • header detection requires application cooperation to set the header

Security and operational guidance

  • This is a legacy dashboard concept, not a canonically entitled Nexo component.
  • No supported deployment contract, CRD mapping, Operator reconciliation path, or runtime execution guarantee is published.
  • Treat every configuration example and performance number below as historical design material only.

Release availability

  • Current documentation: Unsupported concept: dashboard manifest only. No canonical entitlement and no supported deployment contract.

See the component catalog for the complete comparison matrix.

Search Nexo documentation

Type to search titles, headings, and page content.