Watchtower-Course-Project

ADR-0003: Use SQLite for WatchTower Event Storage

Context

WatchTower requires persistent storage for:

The database solution must:


Decision

Use SQLite as the primary database for WatchTower.


Rationale


Alternatives Considered

PostgreSQL

Rejected due to increased infrastructure and configuration overhead for the current project scope.

MongoDB

Rejected because WatchTower’s event structure benefits from relational querying and simpler local setup.

MySQL

Rejected due to unnecessary server management complexity compared to SQLite.


Consequences

Positive

Negative


Conclusion

SQLite was selected because it provides a lightweight, low-maintenance, and development-friendly persistence layer that aligns well with WatchTower’s scope and rapid iteration goals.