Skip to content

Architecture Decision Records (ADRs)

This directory contains Architecture Decision Records for the WorkerSQL project. ADRs document important architectural decisions, their context, and rationale.

ADRTitleStatusDate
ADR-001Cloudflare Workers Platform SelectionAccepted2025-09-01
ADR-002Durable Objects for Authoritative StorageAccepted2025-09-01
ADR-003Cache-Aside Pattern with KVAccepted2025-09-01
ADR-004TypeScript Strict Mode ConfigurationAccepted2025-09-01
ADR-005Jest and Vitest Testing Framework IntegrationAccepted2025-09-01
ADR-006Routing and Sharding System ArchitectureAccepted2025-09-02
ADR-007Gateway Worker Implementation ArchitectureAccepted2025-09-02

When creating new ADRs, use the following template:

# ADR-XXX: [Title]
## Status
[Proposed | Accepted | Deprecated | Superseded]
## Date
YYYY-MM-DD
## Context
[Describe the forces at play, including technological, political, social, and
project local. This is the story explaining the problem we are trying to solve.]
## Decision
[Describe our response to these forces. This is the actual decision made.]
## Rationale
[Describe why this decision was made. Include alternative options considered and
why they were rejected.]
## Consequences
[Describe the resulting context, after applying the decision. All consequences
should be listed here, not just the "positive" ones.]
## References
[List any references, links, or sources that informed this decision.]
  • Significant architectural or design decisions
  • Technology stack choices
  • Security architecture decisions
  • Performance or scalability trade-offs
  • Changes to existing architectural decisions
  1. Proposed: Decision is under consideration
  2. Accepted: Decision has been made and implemented
  3. Deprecated: Decision is no longer recommended but may still be in use
  4. Superseded: Decision has been replaced by a newer ADR
  • Keep ADRs concise but comprehensive
  • Focus on the decision, not implementation details
  • Include the context that led to the decision
  • Document alternatives considered
  • Update status as decisions evolve
  • Link related ADRs when appropriate