-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture Overview
Richard Kindler edited this page Nov 25, 2025
·
1 revision
📘 # Architecture Overview
The API Gateway architecture is composed of several key modules.
Core Components
Handles requests, validation, rate limiting, and response shaping.
Ensures deduplication, ordering, and retry safety for outgoing transactions.
Signs transactions using an AWS KMS asymmetric key. Private keys never touch memory.
Watches the queue, signs transactions, broadcasts them, and handles backoff logic.
Exports metrics for:
Queue depth
Transaction success/failure rate
Endpoint latency
KMS signing duration
Worker throughput
Uses Prometheus Adapter to scale based on:
Queue depth
Request per second
Worker lag
Used for idempotency tracking & metadata (Postgres or Dynamo, depending on setup).