Catalogue / Data

Database proxy

datadatabase-proxy

Routing, pooling and shedding layer in front of a datastore.

Category
Data
Properties
8
Components
14
Rules
0
Properties · 8 defined by this kind

A node of this kind resolves each property from its own props, then the component's defaults, then the default below.

propertytypevaluesrequireddefault
hedging · advancedboolean—nofalse
loadShedding · advancedboolean—nofalse
managedboolean—nofalse
poolSharded · advancedboolean—nofalse
poolingboolean—notrue
requestCoalescing · advancedboolean—nofalse
routingenumnone | shard-key | lookupnonone
scatterGather · advancedboolean—nofalse
Rules for this kind · 0
No rule selects this kind or its category. Governance calls that a recorded gap.
Components · 14
Source
# yaml-language-server: $schema=../schema/kind.schema.json
# Abstract kind: Sits between services and a sharded or pooled datastore: routing, pooling, coalescing, shedding (Vitess, PgBouncer, ProxySQL).
schemaVersion: "1"
type: "kind"
id: "database-proxy"
category: "data"
properties:
  pooling:
    type: "boolean"
    default: true
  poolSharded:
    type: "boolean"
    default: false
    advanced: true
  routing:
    type: "enum"
    values: ["none", "shard-key", "lookup"]
    default: "none"
  scatterGather:
    type: "boolean"
    default: false
    advanced: true
  hedging:
    type: "boolean"
    default: false
    advanced: true
  loadShedding:
    type: "boolean"
    default: false
    advanced: true
  requestCoalescing:
    type: "boolean"
    default: false
    advanced: true
  managed:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/kinds/database-proxy.md