get_product_page
- def get_product_page(user_id, product_id):
- product = catalog_service.fetch(product_id)
- recs = recommendation_service.get(user_id, product_id)
- return build_response(product, recs)
- exposure_pct =
- flag_off_for_new =
- pool = 40
- query_ms = 70
- CatalogNo pool slot on Product Page.
- Recommendation400 lookups/s. Pool 70%.
- AcquirePending 0. Headroom 100% of the 600 ms tail.
Lookups and acquire headroom
The first 16 seconds are 400 lookups a second. After that the burst is about 1.7 times that rate. The upper line is lookups. The lower band is how far acquire wait is from the 600 ms incident.
Headroom 100% · pool 20%
ArrivalsClear of the 600 ms tail
Live metrics
ReadyRecommendation Service allows 40 connections. At about 400 lookups a second with a 70 ms hold, roughly 28 are in use. A burst of about 1.7 times that rate is about to fill the spare connections.
Metric definitions
| Metric | Value | What it means |
|---|---|---|
| Pool | 70% of 40 | Busy connections divided by 40. Utilization stays at or under 100 percent. Extra lookups wait. |
| Query | 70 ms | The database hold. It stays here while acquire time moves. |
| Pending | 0 | Lookups waiting for a connection. |
| Lookups | 400/s | Recommendation calls still being attempted. |
| Acquire headroom | 100% | 100 percent is no queue. 0 percent is the 600 ms acquire tail. |
70%
0
100%
100%