mongos
Database proxymongos
MongoDB sharded-cluster query router.
- Provider
- default
- Kind
- Database proxy
- Category
- Data
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| configServers | integer | — | no | 3 | inherited |
| hedging | boolean | — | no | false | inherited |
| loadShedding | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | inherited |
| poolSharded | boolean | — | no | false | ▸ true |
| pooling | boolean | — | no | true | ▸ true |
| requestCoalescing | boolean | — | no | false | inherited |
| routing | enum | none | shard-key | lookup | no | none | ▸ shard-key |
| scatterGather | boolean | — | no | false | ▸ true |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "mongos", component: "mongos" }Amazon RDS Proxyrds-proxyCloudflare Hyperdrivecloudflare-hyperdriveGeneric database proxydatabase-proxyMariaDB MaxScalemaxscaleOdysseyodysseyPgBouncerpgbouncerPgCatpgcatPgpool-IIpgpoolProxySQLproxysqlSupavisorsupavisorVitessvitessCloud SQL Auth Proxygoogle-cloud-sql-auth-proxyIBM Data Virtualizationibm-data-virtualization
# yaml-language-server: $schema=../../schema/component.schema.json # mongos: MongoDB sharded-cluster router; targets shards by shard key and scatters otherwise. schemaVersion: "1" type: "component" id: "mongos" kind: "database-proxy" provider: "default" docs: "https://www.mongodb.com/docs/manual/core/sharded-cluster-query-router/" defaults: pooling: true poolSharded: true routing: "shard-key" scatterGather: true properties: configServers: type: "integer" default: 3