A price aggregator built for a million products.

How we built AllPrices from pre-seed to seed: fast pages, honest discounts and SEO pages generated by the hundred thousand.

~/cases/allpricesshipped
client: founder, ex-Cuponation
service: agile development
stage: pre-seed → seed
years: 2016–2019
stack: Yii2, PostgreSQL, C++, Python
~1M
products from 100+ stores, updated 1–4 times a day
99%
of pages served in 200 ms or less
100K+
visits a month at the pre-seed peak
< 2 h
to normalize the largest dataset, against a 12-hour budget

A crowded market, and search that didn't find things.

The founder had worked at Cuponation and knew the CPA e-commerce market well. The plan: collect goods from many online stores, starting with fashion in Eastern Europe, and show them by search query.

Two things made it hard. Exact queries like a sneaker brand or a scarf colour led to store pages that often didn't have the product. And many stores showed a discount badge on prices that never changed, so the client wanted discounts calculated from real price history.

Early traffic came from long-tail queries, and good pages for them are usually too expensive to make by hand. So the product had to generate them.

Four parts, one pipeline.

Feeds come in, the core makes sense of them, the website serves the result. Content managers steer the rules.

~/allprices/architecture
xml-parser/Sellers' XML feeds every day, up to 5M products, plus price checks on product pages.
core/Normalizes everything: categories and filters assigned by rules across ~10⁷ texts.
website/Category, filter and product pages. 99% served in 200 ms or less.
admin/Content managers add stores, write rules and generate SEO texts in bulk.

Where the engineering went.

A small language for rules

Prefix matching with AND, OR and NOT, so content managers could tell a sundress from a dress in Russian and Ukrainian product texts. Matched with the Aho–Corasick algorithm across about 10⁷ texts.

SEO texts that read naturally

Templates aware of grammatical gender and case, with word order that changes by property: «red sneakers», but «sneakers with high heels».

Filters counted ahead of time

For the seed stage the core kept filter combinations in memory and pre-computed counts and sort orders, with a reworked schema and indexes.

White-label for partners

Partner sites embedded the catalogue and kept users on their own pages, with revenue sharing, API security and load limits.

// a lot of data, and pages that must stay fast? that's a 30-minute conversation.book a call →

The whole story, including the end.

  1. 2016
    Pre-seed

    Built and launched for fashion. Development paused once the product had what it needed to test the business model.

  2. 2016–18
    Seed money

    The client raised seed investment and pitched to investors. The product kept earning.

  3. 2018
    Seed round

    A strategic investor funded expansion from fashion to every product category.

  4. 2019
    SEO restart

    Search traffic fell short. After a second opinion from Olshansky&Partners we reworked URLs, snippets and page semantics.

  5. Q3 2019
    Pause

    The client's audience-acquisition hypotheses weren't confirmed, and work was suspended.

  6. 2021
    Sold

    A company from the UAE bought the product to learn from it. We consulted the new owner on how it worked.

// what we took from it

Every technical goal was met, but a working business model never came together. Since then we prefer to work on the product as a whole, so we share responsibility for the outcome, not just the code.

next caseLearniverse: a personal course from the best minutes of free video

Have an idea, or a product that needs to grow?

Book 30 minutes with Yevhenii. Bring the hard part.

~/next-step
$ book-call --with yevhenii --30min
→ no sales pitch
→ your problem, and how we'd approach it
→ an honest no if we're not the right team
→ NDA before details, if you need one