### ##### ##### ## ## ## ## ## ## ## ## ## ## ##### ####### ## ## ## ## ## ## ##### ## ##
A proposal for where notifications live, and who owns them.
// Platform team · Nordlys · 1 December 2026
What happens
The Order API sends the email and push notification itself, in the same call as the order.
The order is not finished until the last message has been sent.
What it costs
2.4 s at p95 on the order call.
A slow email provider slows down the whole order.
Notifications
belong on
their own.
300 ms
95 percent of notifications are sent in under 300 ms, against 2.4 s today.
// measured in staging, week 46, 1.2m calls
The proposal: events and a separate service
┌────────────┐ ┌────────────┐ ┌────────────────┐ ┌────────────┐ │ Order API │ │ Events │ │ Notification │ │ Mail, push │ │ │ ──→ │ (queue) │ ──→ │ service │ ──→ │ and SMS │ └────────────┘ └────────────┘ └────────────────┘ └────────────┘
The Order API writes an event and moves on. The notification service sends afterwards, so the order never waits for email.
│ Keep │ Queue │ Own service ────────────────┼──────────────────┼──────────────────┼──────────────────────── Latency p95 │ 2.4 s │ 0.9 s │ 300 ms Order flow │ Yes, waits │ No │ No Biggest risk │ Waits on mail │ Two queues to run│ New team to staff Verdict │ No │ Maybe │ Yes
// The choice is a separate service. We pay with running costs and a new team, and get 300 ms.
Week 46
Measure in staging
1.2m calls measured before we move anything.
Week 2
Pilot
One customer type runs on the new service. Bugs show up here first.
Week 4
Move traffic
The rest of the traffic moves once the pilot has held.
// The biggest risk is staffing. The pilot shows whether we can run it.
Who does what
Platform team
Runs the notification service and the queue, and staffs the team that carries it.
Mette Sørensen, product owner
Sets the priority of customer types in the pilot and says yes to moving the traffic.
Order API team
Writes the event instead of calling email and push directly.
We build it as a separate service.
Decision
Notifications move out into their own service.
Owner
The platform team, with Mette Sørensen as product owner.
Next
Pilot for one customer type in week 2, traffic moves in week 4.
// Contact: mette@nordlys.example