Skip to main content
Version: Next (Private Preview)

Cross-Cluster Federation

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 + Response
CategoryRouting
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.

Cross-Cluster Federation 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.2ms
P95<0.5ms
P99<1ms

Note: Simple routing adds minimal overhead; cross-cluster joins add significant latency

Overview

The Cross-Cluster Federation step presents multiple independent MongoDB clusters as a single unified namespace. Queries are routed to the correct cluster based on database name, collection, or shard key — completely transparent to the application.

Health checking and automatic failover ensure high availability. Optional cross-cluster aggregation enables $lookup operations that span clusters (with performance caveats).

When to use

  • Merging data from multiple MongoDB deployments after M&A
  • Distributing data across regions while presenting a unified API
  • Scaling beyond single-cluster limits without application changes
  • Implementing active-active multi-region architectures

How it works

  1. Incoming query's target namespace is determined from the command
  2. Namespace is mapped to the appropriate cluster
  3. Query is forwarded to the target cluster
  4. For cross-cluster aggregations: sub-queries fan out to multiple clusters and results are merged
  5. Health checks monitor all clusters; failover activates on sustained failures

Configuration

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

FieldTypeDefaultRequiredDescription
clustersjsonNot specifiedCluster topology: {name, address, databases[]}
routing_modeselectdatabaseNot specifiedHow to route queries to clusters
cross_cluster_joinsbooleanfalseNot specifiedEnable $lookup across clusters
health_check_intervalduration10sNot specifiedCluster health check frequency
failover_enabledbooleantrueNot specifiedAuto-failover on cluster failure
failover_thresholdnumber5000Not specifiedCluster down threshold (ms)

Settings reference

No additional settings reference is documented for this component.

Examples

Multi-region federation

steps:
- id: builtin:cross-cluster-federation
config:
routing_mode: database
failover_enabled: true
health_check_interval: 5s
clusters:
- name: us-east
address: mongo-us-east:27017
databases: [users, orders, inventory]
- name: eu-west
address: mongo-eu-west:27017
databases: [users_eu, analytics]
- name: apac
address: mongo-apac:27017
databases: [users_apac, logs]

Best practices

  • Keep cross_cluster_joins disabled unless absolutely needed
  • Use consistent database naming conventions for simple routing
  • Monitor cluster health dashboard for latency drift between regions
  • Test failover scenarios regularly with chaos engineering

Limitations

  • Cross-cluster transactions are not supported
  • Cross-cluster $lookup requires fetching all matching documents to the proxy
  • Maximum 10 federated clusters (connection pool overhead)

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.