Case study · Automotive Parts and Components
Zillionparts: high-concurrency search across millions of SKUs
Search optimization for a large automotive parts catalog.
- Magento 2
- OpenSearch
- Custom Fitment Indexing
- Redis
Measured results
165ms
p95 search latency
From 2.4s under comparable production load
22m
Catalog reindex
Down from 4h 20m
1.2M
SKUs searchable
Part numbers, VIN and fitment
Business Context
Why it mattered
Zillionparts distributes automotive replacement parts and commercial vehicle equipment from a catalog containing more than one million distinct SKUs. In the automotive parts industry, search precision and response speed are fundamental to conversion.
Commercial buyers and repair shops search by exact part numbers, Vehicle Identification Numbers (VIN), or complex Year-Make-Model-Engine fitment criteria. If a search query fails to return an exact replacement part within milliseconds, buyers assume the item is out of stock and navigate to a competitor.
The Technical Challenge
What was going wrong
The legacy platform relied on standard relational database string queries and default search indexes that were never architected for automotive data with many distinct values:
- Complex multi-attribute queries triggered exhaustive table scans across relational database tables, resulting in severe search latency and timeouts during peak morning order windows.
- Typos, punctuation differences, and partial part numbers frequently returned zero results or irrelevant components.
- Rapid concurrent searches from commercial buyers overwhelmed the main application database, degrading checkout performance for all users.
The core objective was delivering accurate, sub-50ms search results across millions of parts while isolating search traffic completely from the transactional database.

Architectural Interventions
The engineering work
DACoders re-architected the search infrastructure from the schema layer through edge delivery:
Custom OpenSearch Schema and Sharding Architecture
We designed a dedicated OpenSearch cluster optimized specifically for automotive part schemas. We separated high-cardinality numeric identifiers (OEM part numbers, interchange codes) from descriptive text attributes, applying custom analyzers and n-gram tokenizers to handle partial strings and dashed part numbers.
Year-Make-Model and VIN Fitment Indexing
We flattened complex relational vehicle fitment tables into denormalized, memory-resident search documents. This allows complex multi-dimensional fitment lookups (e.g., Year + Make + Model + Sub-model + Trim) to evaluate in a single, ultra-fast index query rather than dozens of SQL joins.
Asynchronous Catalog Pipeline and Cache Tier
We built an asynchronous ingestion pipeline using message queues to synchronize catalog updates and inventory changes from the central business system (ERP) into OpenSearch without locking MySQL tables. High-frequency queries are cached at the edge and in Redis to absorb traffic spikes.
Technical Outcomes
What changed
Measured Search Response: Sub-200ms catalog search response times achieved across 1.2M+ automotive parts and multi-facet filtering queries.
Part Fitment Matching: Highly accurate fitment resolution across OEM part numbers, aftermarket interchange codes, and Year-Make-Model queries.
Search Load Isolation: Completely decoupled search execution from transactional database workloads, eliminating CPU spikes during high-traffic catalog browsing.
Zero-result queries substantially reduced.
Next step
If your catalog search is slow, returning inaccurate results, or degrading database performance:
More case studies