Technology1 min read

The trouble with variants: Solving the web's infinite ecommerce explosion

By · Published by Everything Blog

In short

Combinatorial options on customizable items can turn a standard scraping task into an operational bottleneck requiring millions of distinct web requests. In one marketplace project examined by Zyte Data, 402,000 base products exploded into 13.3 million variations, demanding an estimated 210 million requests that would span almost ten months. The absence of a universal definition for product variants forces engineers to build bespoke extraction logic for each target website.

Key points

  • Extracting variant-level pricing and stock often requires separate network requests that…: Extracting variant-level pricing and stock often requires separate network requests that drastically inflate project timelines.
  • Processing variants as individual product records frequently exceeds API payload size lim…: Processing variants as individual product records frequently exceeds API payload size limits and triggers systemic timeouts.
  • Inconsistent technical structures across ecommerce platforms force data engineers to buil…: Inconsistent technical structures across ecommerce platforms force data engineers to build custom scraping rules for every site.

Sources checked by our analysis pipeline: 1

When is a t-shirt not a t-shirt? When it’s 3.5 million possible permutations of that same t-shirt.

That is what happens when a customisable garment offers two base designs, 21 body colours, 21 zipper colours, 19 chest-logo options, 19 pouch-logo options, and 11 sizes. To a shopper, it is just one humble item of clothing. To a web scraping project, it can be millions of combinations — and the mother of all headaches.

Product variants rarely arrive at a data engineer’s door framed as a multimillion-combination problem. The scoping call sounded straightforward: the customer just wants product data from 40 retail sites — title, price, availability, images; the usual. Then, in the last minute, almost as an afterthought: “Oh, and we’ll want variants, obviously.”

That one word can double the build, triple the quality assurance (QA), and rewrite the commercial terms of the project. It is probably the single most under-discussed source of trouble in ecommerce web scraping, and it almost always arrives late, after the crawlers are written and the first sample has been signed off.

The reason is…

Technology