Back to workWork / Amazon Data / Trends

Amazon Data / Trends

Large-scale Amazon scraping and trend analysis

Data acquisition and processing architecture

The outcome

The service ran for about five months at a historical scale on the order of millions of listings. It supported category-wide trend analysis before the team changed focus and the project was archived.

Large-scale data collection · Igor Bartenev

A practical example

From scattered listings to a usable dataset

To study product trends across categories, collection and storage had to work together. Fetching pages was only the first step: inconsistent records needed a common representation and an efficient path into analysis.

Historical workflow · author-reported

  1. Collect category data in parallel, coordinating accounts, proxies, throttling and retries.

  2. Normalize collected records before indexing them in Elasticsearch batches.

  3. Read groups of records for analysis instead of making one storage request per listing.

What this enables

A category-wide dataset supported trend analysis. The archived service handled millions of listings over roughly five months; this is historical scale reported by me, not a current throughput benchmark.

Design choice & trade-off

Batching shaped both writes and reads, reducing the number of individual storage round trips. The trade-off is that data becomes available in groups rather than immediately per item. Collection coverage and freshness still depend on the external source; dataset size does not establish the accuracy of a trend or forecast.

Full context & approach

The challenge

The breadth of the catalog required parallel acquisition and a storage strategy that could work with millions of listings without turning every item into a separate read or write.

How I approached it

Parallel parsers combined account and proxy management, throttling and retry strategies across the category scan. I organized normalization and Elasticsearch processing around bulk writes and bulk reads, keeping storage work batched as the collected dataset grew. The resulting data supported analysis of changes and trends.

What I owned and delivered

My responsibility

I designed and implemented the acquisition-to-analysis path: parallel collection, normalization and bulk access to Elasticsearch.

Delivered capability

  • Parallel parsers account for failed requests and external limits through throttling and retries; normalization prepares a consistent dataset.

  • Both indexing and analysis use batches, so the data path does not depend on a separate storage request for every listing.

Historical scale · author-reported

The service operated for roughly five months with a historical workload on the order of millions of listings. It supported category trend analysis before the project was archived.

What that means in practice

Architecture & decisions

01

Historical category-wide scope

The project scanned Amazon categories across the catalog, with books deliberately excluded. Its historical workload was on the order of millions of listings. That breadth made acquisition, normalization and storage design one connected problem: category data had to become a consistent dataset that could be analysed in batches.

02

Acquisition under external constraints

The parsers had to account for blocking, multiple accounts, proxies and failed requests. Parallel processing, throttling and retries made these conditions part of the acquisition design. Normalization gave downstream indexing and analysis a consistent representation despite differences in the collected source data.

03

Bulk on both sides of storage

Elasticsearch was used for both bulk writes and bulk reads. Batching mattered on both sides: collected records were indexed together and analysis consumed groups of records, avoiding a storage workload dominated by individual requests. This decision shaped the data path as much as the choice of search engine itself.

04

Trend analysis and a bounded product lifetime

The goal of collection was to identify changes and trends in product data. The service operated for roughly five months before priorities moved to other work. The archived project brings together the full engineering chain: parallel acquisition, normalization, bulk storage access and analysis of a large historical dataset.

Inside the implementation

Architecture in practice

Index structures and bulk operationsMy Elasticsearch work covers index structures, search-oriented reads and grouped operations for collecting and processing data.
  1. Shape the index
  2. Group records
  3. Bulk read and write
  4. Query the read model

I work with Elasticsearch as a separate search and read model alongside transactional storage. This includes shaping index structures around the data being queried and using bulk reads and writes in collection pipelines. Grouping records reduces repeated storage calls and keeps data processing organized around batches.

04 / Tools & technologies

Tools & technologies

Explore all skills (25)
Continue exploring

BAS Bridge

Contact / Kraków, Poland

A role or a project? Let’s talk.

Hiring for your team or looking for help with a product? Tell me about the role or the problem. A name, contact and short outline are enough to start.

The portfolio, inside TelegramBrowse projects and send an offer in the Mini App. Open the bot, then choose the app.Open the bot

Start a conversation

A role, a product, or a technical challenge. Share a little context.

To use the form, enable JavaScript. You can also write to me directly on Telegram.

Write on Telegram