Case Study · D2C E-Commerce

We rebuilt the platform without turning it off. Then we built on top of it.

PetLab Co. was already the world's fastest-growing pet supplement brand: bootstrapped, profitable, 9-figure. What got them there wouldn't get them where they wanted to go. We rebuilt the platform piece by piece, then re-architected the marketing engine around generative AI.

Client
PetLab Co.
Sector
D2C · Pet Supplements
Engagement
Platform Re-Architecture
Period
2023
Method
Interim CTO + GenAI Marketing Loop

Bootstrapped to nine figures by 2022, but the platform and marketing engine that built the company
weren't the ones that would scale it.
So we rebuilt both.

$118M → $142M
Revenue, 2022 → 2023
$2.0M
Recovered by Subscription Retry
40 → 5 min
Per Campaign
500 → 2,300
Campaigns / Month

The Background

PetLab Co. was established in 2018 and became the world's fastest-growing pet supplement company: nine-figure revenue by 2022, bootstrapped, profitable, and still moving fast.

The growth created two problems: a platform that kept breaking and a marketing engine designed for a smaller scale. Throughout 2023, AI Performance Lab (led by Dr. Michael Housman) led a comprehensive re-architecture of PetLab Co.'s platform, then turned the marketing engine into something that compounds, not something that scales linearly with hires.

At a Glance
  • → Founded 2018
  • → 9-figure revenue by 2022
  • → Bootstrapped & profitable
  • → Platform and marketing the rate-limiters

Phase 1: Rebuild the Foundation

By late 2022, the platform was straining under more than 1.5 million dogs and their owners. It had been designed for a fledgling startup: a monolith on oversized servers, a patchwork of languages and frameworks, and serious security gaps. It broke often, and every outage cost revenue.

An online store can't close for six months, so we rebuilt it one piece at a time while the business kept running. Dr. Michael Housman served as interim CTO, with a weekly tiger team across frontend, backend, QA and DevOps, developers from AI Performance Lab, and PetLab's AWS account team.

01 · Backend

Monolith to Micro-Services

Replaced a large server with frequent breakages, and built a subscription engine with zero breakage that handles massive traffic.

02 · Frontend

A Faster Storefront

Moved to React and Next.js with shared components. Google page-speed scores rose from 13 to 50-60, which lifted conversion.

03 · DevOps

Automated Deployment

Replaced manual configuration with infrastructure as code, canary deployments and 500+ automated tests.

04 · Security

Zero Security Incidents

Added SSO, logging and full web application firewall coverage. The AWS security score doubled.

The Quick Win That Kept Momentum

A rebuild pays off late, so we looked for wins along the way. Subscription retry was one of the best. When a subscriber's payment fails, the system tries again. Monthly revenue from those retries sat around $55K through 2022. It nearly doubled to $105K by June 2023 and reached $230K by January 2024, for $2.0M recovered in total.

Quick Win · Subscription Retry
Monthly Revenue Recovered Through Retries
$200K$100K$0 Jan 22 Jan 23 Jan 24 $55K $105K $230K
176,392 retry attempts, 52,878 successful, 29.98% success rate, $2.0M recovered, Jan 2022 → Jan 2024. Source: PetLab Co. subscription retry dashboard.

"During this period of re-architecture, not only did we continue to grow significantly, but we also successfully rebuilt our entire platform. Now it stands more scalable, stable, and secure than ever before."

Damian GrabarczykBusiness Manager, PetLabCo

Phase 2: The Marketing Bottleneck

Four constraints stacked on top of each other: each one tolerable on its own, all four together a hard cap on growth.

01 · Agility

Lack of Agility

Slow generation of diverse and engaging content: couldn't respond to real-time marketing dynamics.

02 · Creativity

Creativity Constraints

Traditional content workflows limited the team's ability to produce innovative ads that resonated across diverse audiences.

03 · Inefficiency

Inefficient Processes

Excessive time and resources spent on production, pulling marketing away from strategy and analysis.

04 · Scalability

Scalability Issues

Couldn't scale campaign volume without proportional increases in headcount and overhead.

The Approach

Marketing becomes a closed loop: create → launch → gather → create. AI-driven creative generation produces on-brand variants at production scale; campaigns launch; performance data and audience feedback come back in; the next round of creative is informed by what just worked. The loop runs continuously.

01
Create

AI-driven creative generation produces on-brand ad variants (product imagery, lifestyle scenes, copy) across every format the team ships.

→
02
Launch

Campaigns ship faster, in more variants, across more audiences. Production stops being the bottleneck.

→
03
Gather

Performance data and audience feedback flow back in: what landed, what didn't, on which segment.

→
04
Iterate

Next round of creative is generated against what the data just said. The loop closes. The team's job becomes the loop, not the artifacts.

AI doesn't replace the marketer: it removes the part of the job that scales worst.

The Result

Two charts tell most of the story: campaigns got dramatically cheaper to produce, and the team shipped dramatically more of them. Revenue followed, not in lockstep, but with the lag you'd expect from a media engine warming up.

Velocity · Per Campaign
Time Spent per Campaign
−87.5% production time. Same team, same brand, eight-fold throughput per hour.
Average minutes per campaign from creative brief to launch-ready asset. Source: PetLab Co. internal measurement.
Volume · Per Month
Campaigns per Month
4.6× campaign volume. More creative shipped in a month than the prior team did in a quarter.
Monthly campaign count. Source: PetLab Co. internal measurement.

Higher Velocity → Higher Revenue

Velocity on its own is vanity. The honest measure is whether the new engine made money. Revenue hovered in the $10.5M–$11.5M range through early-to-mid 2023 while the loop was being built and tuned, then climbed steadily from mid-2023 forward, peaking near $16M in January 2024 before easing slightly in February.

Revenue · Monthly
Monthly Revenue - $USD Millions
$16M $14.5M $13M $11.5M $10M Nov 22 Mar 23 Jul 23 Nov 23 Feb 24 $16M peak
Monthly net revenue, Nov 2022 → Feb 2024. Y-axis $10M–$16M. Source: PetLab Co. internal reporting.

Outcomes

  • →A platform that stopped breaking. Zero subscription-engine breakage and zero security incidents after the rebuild.
  • →Faster experimentation. 6-10 optimization tests a week at a 50-72% success rate, against an industry average of about 20%.
  • →Campaign throughput up 4.6×. Same team, more shots on goal, and more of them well-targeted.
  • →Per-campaign cost down 87.5%. What used to take 40 minutes takes 5. Production stops being the bottleneck.
  • →Campaign performance doubled. Higher creative variance means more learning per dollar spent.
  • →Monthly revenue up about 50%. From roughly $10.6M in November 2022 to a $16M peak in January 2024. The new engine paid for itself, then kept paying.
  • →A marketing org that scales without proportional headcount. The org chart doesn't have to grow at the rate of the business.

"AI doesn't replace the marketer: it removes the part of the job that scales worst, so the marketer can spend their time on the part that compounds."

The ThroughlineEvery Engagement

If This Sounds Like Your Engine

Where is your business running on old foundations?

Every engagement starts the same way: a workflow audit, a time-capture, and a short list of pain points addressable with tools that already exist. Then we get into the room and rebuild the loop.