Query Under Pressure: A Pre-January Search Drill for UK Retail
Photo: Diego Delso, CC BY-SA 4.0, via Wikimedia Commons
January is when site search stops being a convenience and becomes the shop floor. Traffic arrives from paid social, email and app push, merchandising has rearranged the category tree for the sale, and a meaningful share of visitors skip navigation altogether and simply type. When the search box stumbles under that weight, customers rarely conclude that search is slow. They conclude the retailer is unreliable.
That is why search deserves the same pre-peak rehearsal as checkout. It is not a feature bolted onto the catalogue; it is a trust surface, and it fails in quieter, more confusing ways than a payment page ever does.
Why search absorbs the peak
A payment page has one job and a narrow set of inputs. Search has dozens of inputs, several downstream dependencies and a merchandising layer that changes weekly during the golden quarter. Each of those is a potential degradation path under load.
The pattern is familiar. Baseline traffic in November is dominated by browsing, and search handles perhaps a tenth of sessions. On Boxing Day that share climbs sharply, because customers arrive knowing what they want and unwilling to hunt for it. The same system, sized for browsing, is suddenly asked to carry the intent of the entire sale.
If you have not measured that shift, you are guessing about capacity on the morning it matters most.
Set an envelope before you generate load
A test without a target produces a chart, not a decision. Agree the envelope first, with product and engineering in the room, and write it down.
A reasonable starting position for a UK retail estate is autocomplete responding within roughly 150 milliseconds at the edge and around 250 milliseconds end to end on a mid-range handset over 4G. Full result pages can be slower, but the perceived moment of completion is the dropdown, not the results grid.
Treat those numbers as opening bids, not laws. What matters is that the team commits to a figure, that the figure is measured at the percentile customers feel rather than the mean, and that the test reports against it explicitly.
Four failure modes worth rehearsing
Autocomplete under contention
Autocomplete is the most latency-sensitive component and the most frequently under-provisioned, because in normal trading it is cheap and quiet. Under sale load it fires on nearly every keystroke. Debouncing on the client helps only if the client is behaving; query caching helps only if the popular queries repeat, and during a flash sale they often do.
Watch for a slow first keystroke and a fast fifth. That pattern usually means the suggestion service is warming a cache under fire, which is exactly the moment your customers are least patient.
Zero-result recovery
Rank every zero-result query under load by volume, not by frustration. The high-volume ones during a sale are typically misspellings of promoted products, discontinued lines that still appear in ad copy, and size or colour variants that the index does not model.
A zero-result page should be a recovery page. Does it offer a corrected term, related categories, popular sale items and a route to support? Does it do so within the same latency envelope as a successful search? Under load, recovery pages are often the first thing to be served from a stale cache or a degraded template, which is precisely the wrong trade.
Ranking degradation
Ranking rarely fails loudly. It drifts. Under pressure, a service may fall back from the learned ranker to a lexical match, drop personalisation and boost rules, or serve a stale index that still contains last week's promotions. Results still appear, so no alert fires, but the top slot stops being the product the merchandising team paid to place there.
Rehearse this deliberately: define what correct looks like for a fixed set of twenty queries, then check that set under load. If ranking silently degrades, you want to know before the customer does.
Fallback behaviour
Every search stack has a fallback, and most fallbacks have never been exercised at realistic volume. Does a timeout route to a category page, a cached result set, or an empty box? Does the fallback itself depend on the service that just failed?
A fallback that is slower than the primary path, or that returns an error page styled as a zero-result page, is worse than an honest failure.
Build a traffic profile that looks British
Synthetic load that looks nothing like your audience will produce numbers that look nothing like your peak.
Model the mobile share honestly, which for most UK retailers sits well above two thirds. Throttle CPU as well as bandwidth; a mid-range Android device on a congested network is the realistic unit of measurement, not a desktop on a leased line.
Include the visitors your analytics cannot see. Consent-denied sessions, ad-blocked browsers and script-blocking extensions change which telemetry arrives, not which customers are present. If a client-side search widget depends on a tag that a proportion of visitors never load, your monitoring will report a healthier sale than you had.
Add a modest allowance for automated traffic. Agentic browsers and AI crawlers now hit search endpoints as well as category pages, and they rarely respect the crawl budget you set.
What to put in front of product and engineering
A dashboard with a single latency line persuades nobody. Assemble the following and present it as one story:
- p50, p95 and p99 latency for autocomplete and results, against the agreed envelope.
- Error and timeout rates, split by endpoint.
- Fallback invocation counts, and the latency of the fallback path itself.
- Zero-result rate under load compared with baseline, with the top twenty queries listed.
- Ranking drift against the fixed twenty-query correctness set.
- Downstream dependency behaviour, particularly the index, the suggestion cache and any third-party search vendor.
Pair the technical numbers with one commercial signal: search-to-product-page click-through, or search exit rate. That is the metric that unlocks budget for remediation.
Exit criteria and the January re-run
The rehearsal is finished when the envelope holds at peak-plus-a-margin, the fallback path has been exercised rather than assumed, the correctness set is stable, and an on-call engineer can explain what happens when the suggestion service times out.
Then re-run it in the first quiet week of January, while the sale traffic is still fresh in memory. Nothing sharpens an argument for remediation like a chart of the morning you survived.