India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
AWSAuto-parts e-commerceManufacturing & Industrial

Auto-parts marketplace brings fitment search back under 600 ms after six slow releases

Online spare parts marketplace with 11 lakh SKUs and about 2,000 garages as B2B buyers · AWS Mumbai (ap-south-1) · 5 weeks

Amazon Web Services
01

As-is situation

Customers search by vehicle make, model and year to find compatible parts. The fitment search ran on Amazon OpenSearch Service with a catalogue API on ECS and Aurora PostgreSQL behind it. Over six releases, p95 search latency had risen from 450 ms to 2.8 s, and garage buyers complained that the app timed out on slow networks. Nobody had compared latency across releases. The team planned to double the OpenSearch cluster ahead of the festive sale, without knowing whether it was the bottleneck.

  • p95 fitment search latency drifted from 450 ms to 2.8 s over six releases
  • Search-to-cart conversion dropped by about a fifth among garage buyers
  • A planned doubling of the OpenSearch cluster rested on no measurement
02

Approach, tools and architecture

NTSPL added X-Ray tracing across the search path and compared per-release latency percentiles. Two causes emerged: a release that added a nested aggregation on every query, and an Aurora call per result to fetch live stock, which had grown with catalogue size. Developers moved stock to a cached field refreshed every two minutes and limited the aggregation to filtered views. We right-sized OpenSearch shards instead of doubling nodes, set a release gate on p95 search latency and ran a 1.5x festive-forecast load test before the sale.

App search → ECS catalogue API → OpenSearch fitment index → cached stock field → X-Ray traces → release latency gate
Amazon OpenSearch ServiceAmazon ECSAurora PostgreSQLAWS X-RayAmazon ElastiCache
03

Implementation approach

Weeks 1-2 · TracingInstrumented the search path and replayed traffic against the last six builds.
Weeks 3-4 · Fixes and shard tuningDevelopers cached stock and narrowed aggregations; NTSPL resized shards.
Week 5 · Gate and load testAdded the p95 release gate and tested at 1.5x festive forecast.
04

Measured results

Fitment search p95 latency
2.8 s→560 ms
Aurora queries per search
Up to 40→0 on the search path
Planned OpenSearch nodes for festive sale
12 (doubling)→6, with 38% headroom
Search-to-cart conversion, garage buyers
Down about 20%→Back to earlier level

Operational improvements

  • Every release now reports p95 search latency against the previous build
  • Monthly capacity reviews include OpenSearch shard size and JVM pressure
05

Cost considerations

Avoiding the cluster doubling saved the cost of six additional data nodes through the festive quarter. ElastiCache added a small node pair, far cheaper than the extra Aurora read replicas that had also been proposed.

06

Return on investment

ROI indicator

Recovering conversion among garage buyers, who place larger repeat orders, was worth an estimated ₹30-40 lakh in monthly GMV. The avoided OpenSearch expansion alone covered the managed service fee for the full year, with the GMV gain as upside.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.