Example Tech Spec

Thu, 22 Feb 2024 15:15:17 GMT

# Problem statement

What problem are you trying to solve? If there is a PRD, this can be a sync’ed block from the PRD. Link to any other documents that are relevant for background or context.

## Goals

What should be true after this project is implemented?

## Non-goals

What is explicitly not in scope and why?

# Proposed solution

What changes are required to solve this problem and achieve the project goals?

**What are the high level architectural changes?**

Diagrams can be very helpful here.

**What are the high level data model changes?**

These should include any database schema changes, or any changes to structured fields, e.g. an existing JSON column.

**What are the main changes to the UI?**

## Risks

What risks might be introduced by this set of changes? Consider running a [pre-mortem](https://www.notion.so/templates/pre-mortem-template) to raise risks. Be sure to capture mitigating these risks in the Implementation and Rollout Plans.

**Are there any backwards-incompatible changes?**

**Does this project have special implications for security and data privacy?**

**Could this change significantly increase load on any of our backend systems?**

**Does this project have any dependencies?**

# Alternative solutions

What alternatives did you consider? Describe the evaluation criteria for how you chose the proposed solution.

# Implementation and rollout plan

Fill this section out based on what is relevant for the size and scope of this project. This section can also be TBD as the project is started, but you should gradually fill this in as the project progresses towards launch.

**Does this project require a migration?**

If an extensive migration is necessary, write a separate tech spec for it, and link it here. Describe how to rollback in the event of an unsuccessful migration.

**Is this project in an experiment or feature flagged?**

Describe how to support an incremental release if needed.

## Success Criteria

**How will you validate the solution is working correctly?**

Describe what automated and/or manual testing you will do. Does this project need load or stress testing? This can also be a separate Testing Plan doc that is shared with QA, and linked here.

**What monitoring and alerting will you do to ensure this project doesn’t decrease performance and reliability?**

E.g. Increased requests, latency, and error rates.