Skip to content

Weighted decision matrix: backend framework

  • Member: Ethaniel
  • Date: 2026-11-30

Weights

Weight Meaning
1 Nice to have: it rarely changes the outcome
2 Important: a weak score here costs us real time
3 Decisive: a weak score here can make the project fail

Scores

Score Meaning
1 Missing or very painful
2 Possible, with a lot of custom work
3 Possible, with some work or a third-party library
4 Well supported, small friction
5 Built in and simple

Criteria

# Criterion Weight What to look at
C1 OAuth2 / OIDC support 3 Libraries for OIDC login and OAuth2 delegated tokens, number of ready-made providers
C2 Background jobs and scheduled hooks 3 Running hooks on their own, scheduling, retries, deduplication
C3 Spike distance 3 How far the spike went inside the timebox (see spikes/DISTANCE.md)
C4 OpenAPI and contract tests 2 Generated OpenAPI document, browsable UI, tooling for contract tests
C5 Learning curve for the team 2 Time for the 4 members to become productive
C6 Ecosystem and documentation 2 Libraries for the services we plan, quality of the official docs
C7 Docker Compose setup 1 Image size, build simplicity, configuration through environment variables

Matrix

Weighted score = score × weight. Add one column pair per spiked framework.

Criterion Weight FastAPI FastAPI (weighted) ASP.NET Core ASP.NET Core (weighted) Express Express (weighted) NestJS NestJS (weighted)
C1 OAuth2 / OIDC 3 5 15 2 6 5 15 5 15
C2 Background jobs 3 5 15 2 6 4 12 4 12
C3 Spike distance 3 4 12 1 3 4 12 4 12
C4 OpenAPI 2 5 10 2 4 3 6 4 8
C5 Learning curve 2 5 10 2 4 3 6 3 6
C6 Ecosystem 2 5 10 2 4 5 10 4 8
C7 Docker Compose 1 5 5 2 2 3 3 3 3
Total (max 80) 77 29 64 64

Notes

One line per score you hesitated on, with the reason.

-