ScreenshotOne had 7 internal errors out of 235,027 rendering requests in the last 24 hours, or 0.003% (down from 0.008%).
I didn't expect getting to zero internal errors to be such a challenge. I still have a way to go.
What remains are network issues between services: the API gateway calls the control plane to check the API key and quota. It is rare, but it happens.
One way to solve this is to merge the services into a monolith and remove the network calls between them.
But that has a trade-off. The current architecture is optimized for availability. I decoupled some components on the hot path on purpose, so that if one part fails or becomes unreachable, the API keeps working.
Now I am contemplating if I should refactor back or tolerate a few errors.
@DmytroKrasunI went all-in on internal application errors (the ones that are our fault, not our customers), with the goal of getting them to zero.
It is almost impossible, but I like it as a challenge.
Past 12 hours: 1 error out of 145,690 requests.
Past 3 weeks, as a % of requests: https://t.co/NrApTca65t