mongos

MongoDB sharded-cluster query router.

Provider
default
Category
Data
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
configServers · component propertyinteger—no3inherited
hedging · advancedboolean—nofalseinherited
loadShedding · advancedboolean—nofalseinherited
managedboolean—nofalseinherited
poolSharded · advancedboolean—nofalse▸ true
poolingboolean—notrue▸ true
requestCoalescing · advancedboolean—nofalseinherited
routingenumnone | shard-key | lookupnonone▸ shard-key
scatterGather · advancedboolean—nofalse▸ true
Rules that apply · 0

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.
Use it in a design
nodes:
  - { id: "mongos", component: "mongos" }
Other Database proxy products · 13
Source
# 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

The same page as markdown, for an agent: /catalogue/components/mongos.md