One bad neighbour: a Tailspin challenge

A Rework challenge from Foundations. The shop and a new reporting tool share one database, and since reports went live, shoppers wait and some of their requests fail. Keep the shop fast and error free while reports still get answers, at least 25 a second. The faster the shop, the better.

The design you start with: p99 397ms, 36% of requests failing, 176/s answered.