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
| Property | Value |
|---|---|
| Pipeline phase | Router + Response |
| Category | Routing |
| Canonical minimum tier | No canonical entitlement |
| Canonical entitlement | No |
| Supported deployment contract | No |
| Release status | Unsupported 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.
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.
:::
| Percentile | Reported 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
- Incoming query's target namespace is determined from the command
- Namespace is mapped to the appropriate cluster
- Query is forwarded to the target cluster
- For cross-cluster aggregations: sub-queries fan out to multiple clusters and results are merged
- Health checks monitor all clusters; failover activates on sustained failures
Configuration
“Not specified” means required semantics were not declared for that field.
| Field | Type | Default | Required | Description |
|---|---|---|---|---|
clusters | json | — | Not specified | Cluster topology: {name, address, databases[]} |
routing_mode | select | database | Not specified | How to route queries to clusters |
cross_cluster_joins | boolean | false | Not specified | Enable $lookup across clusters |
health_check_interval | duration | 10s | Not specified | Cluster health check frequency |
failover_enabled | boolean | true | Not specified | Auto-failover on cluster failure |
failover_threshold | number | 5000 | Not specified | Cluster 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.
Related steps
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.