# Olostep: web data infrastructure for AI at tens of millions of requests a day

> Olostep is a web scraping, crawling, search and AI-answers API used by AI companies. Our founder runs its cloud infrastructure: the headless browser platform, plus cost and reliability work across Google Cloud and AWS.

Page: https://www.leafcompute.com/case-studies/olostep

Client: Olostep
Industry: AI web data
- 18–25M: public API requests a day
- 4–5M: browser jobs a day (late October 2026)
- 703: nodes at peak on Google Kubernetes Engine
- ~$270k: a year of cloud spend removed, live

## The challenge

AI companies need live web data at huge scale. Every request may need a real browser, a residential proxy and an AI engine to run, sometimes in bursts 64 times bigger than a normal hour. Doing that reliably and cheaply is the whole business.

## Scale

| Measure | Figure |
|---|---|
| Public API requests | **18.5M to 24.7M a day** |
| Browser jobs | **4 to 5 million a day** in late October 2026 |
| Browser fleet peak | **703 nodes** at once on Google Kubernetes Engine |
| Burst | one engine scaled from **5 to 1,850 pods** inside a burst |
| Engines | **7** browser and AI engines |
| Data | **5.6 to 13.2 TB** of scraped pages a day |
| Database after migration | **491 GB**, 248.7M rows in the largest table, **2,818 commits a second** |

## Cost engineering

| Change | Saving |
|---|---|
| Database: Aurora Serverless to self-managed PostgreSQL 17 | **$78,000 a year** |
| Browser fleet: right-sizing, bin packing, cheaper Spot machines, faster scale-down | **~$120,000 a year** |
| Google Cloud outside the cluster: security scanning, Firestore, storage, Cloud Run | **~$72,000 a year** |
| **Total, live** | **~$270,000 a year** |

Google Cloud fell from about $25,600 to about $9,600 a month. The method is the same every time: price everything against the billing APIs, size from measured p95 and peak usage, and check every change against the live system before and after.

## Reliability, from first principles

- **Cluster capped at 256 nodes.** Found that the auto-provisioner was exhausting pod IPs. After the fix the cluster went from 47 to 283 nodes.
- **A retry storm.** Traced a feedback loop that pushed one engine from 1M to 8.4M jobs a day, and stopped it.
- **Failure reporting.** Failed jobs now report in seconds instead of after an 8-minute timeout. Checked in production: 191 of 191 reports accepted.
- **Safe change.** Caught a Terraform change that would have destroyed live capacity, and took it from 8 destroys to 0.
- **Security.** SOC 2 work took the main worker images from 4 critical and 6 high findings to zero.

## Cost-aware AI

An AI content agent was burning about $5,000 a month in tokens. It was rebuilt to be event-driven, with a zero-cost check before every AI call.

A Rust URL resolver handles **700,000 URLs a minute on one 4-vCPU node** in load tests, with about 150 times less CPU per lookup than the old path. It is built and tested; most traffic is not routed to it yet.

## Technology

Google Cloud (GKE, Spot, Pub/Sub, Firestore, Cloud Run), AWS (ECS, EC2, SQS), Kubernetes (Helm, Argo CD, KEDA), Terraform, Prometheus, Grafana and Loki, PostgreSQL 17, Rust, TypeScript and Python.

---
Leaf Compute: https://www.leafcompute.com · hello@leafcompute.com
