AI-POWERED DEMO Pages · Workers AI · R2 · D1 · Durable Objects · Vectorize

What if Robinhood
ran on Cloudflare?

This demo rebuilds Robinhood's trading and investing platform on Cloudflare's Developer Platform — with new AI-powered trade discovery that doesn't exist today.

Try AI Trade Search Explore Data Workbench
// Current: AWS + ElastiCache + CloudFront
TTFB ~240ms
Data Egress ~$0.09/GB
Price Feed Latency ~80ms
Trade Search Keyword only
// On Cloudflare Pages + Workers + KV
TTFB ~12ms (edge)
Data Egress $0.00/GB
Price Feed Latency ~5ms (DO)
Trade Search Semantic AI
25M+
Active Users
$130B+
Assets Under Custody
24/7
Crypto Trading
330+
Cloudflare Edge Cities
LIVE — NO SIGNUP REQUIRED

Skip the slide deck.
Try it live.

The search above is a preview. The Live Sandbox is different — execute real trades in a simulated session, watch Workers AI analyze sentiment, see Durable Objects sync positions in real time. Every step shows real latency on real Cloudflare infrastructure.

Your own isolated session Real Workers AI inference Durable Object state sync Reset anytime
Try the Data Workbench
sandbox-api.workers.dev
// Trade execution flow
 
POST /api/trade
KV session 3ms
Workers AI sentiment 420ms
D1 order record 6ms
Durable Object sync 4ms
 
POST /api/search
BGE embed query 58ms
Vectorize query 11ms
D1 metadata lookup 5ms
 
Total ~74ms
LIVE PRICES

Popular Assets

Served from Cloudflare's edge via Pages + KV. Price feeds powered by Durable Objects — zero polling, pure WebSocket push.

A
STOCK
AAPL
Apple Inc.
$213.49
+1.24 (+0.58%)
CRYPTO
BTC
Bitcoin
$94,821.00
+2,140 (+2.31%)
V
ETF
VOO
Vanguard S&P 500 ETF
$541.82
+3.16 (+0.59%)
N
STOCK
NVDA
NVIDIA Corp.
$875.40
-12.30 (-1.39%)
WORKERS FOR PLATFORMS

Every account,
its own compute

Give each of 25M+ users isolated compute — per-account AI models, custom trading logic, and real-time portfolio analytics — all running safely in V8 isolates.

Custom portfolio subdomains
SSL for SaaS issues certificates automatically. Every Gold user gets username.robinhood.com or their own vanity domain.
SSL for SaaS
Isolated per-account logic
Custom trading algorithms, screener logic, and AI portfolio advisors run in sandboxed V8 isolates — safely, at 25M+ scale.
Workers for Platforms
Per-account analytics
Analytics Engine tracks each user's trade volume, P&L, and engagement — billed transparently per account.
Analytics Engine
ARCHITECTURE

Robinhood on Cloudflare

Every component mapped to a Cloudflare product. Zero origin servers required.

Trading App — Pages
CLOUDFLARE PAGES
React-based trading UI, portfolio dashboards, and landing pages deployed globally from git. 330+ edge locations, zero cold starts.
Replaces: AWS CloudFront + S3 static hosting
Price Feeds — Durable Objects
DURABLE OBJECTS
Real-time market data streamed to millions of clients via WebSocket. Each ticker is a single Durable Object — strongly consistent, globally routed, sub-5ms push.
Replaces: ElastiCache + Kinesis + custom WebSocket servers
Trade API — Workers
CLOUDFLARE WORKERS
Order execution, account management, and personalization APIs. 5ms cold starts in 330+ cities globally. No autoscaling config required.
Replaces: AWS Lambda + API Gateway + ALB
AI Trade Search — Workers AI + Vectorize
WORKERS AI · VECTORIZE
NEW
Semantic investment discovery across all instruments. Describe a thesis — Vectorize finds matches in <50ms. Visual portfolio clustering for cross-sell.
New capability — not a migration
Document Storage — R2
CLOUDFLARE R2
Tax documents, statements, account photos, and compliance artifacts. Zero egress costs vs. S3's $0.09/GB — massive savings at Robinhood's scale.
Replaces: AWS S3 ($0.09/GB egress)
Per-Account Compute — Workers for Platforms
WORKERS FOR PLATFORMS
25M+ users each get isolated per-account compute, custom trading algorithms, and optional AI advisory tools running in sandboxed V8 isolates.
Replaces: Custom multi-tenant Kubernetes infra
Live Advisor — Realtime
CLOUDFLARE REALTIME
NEW
1:1 live video between users and portfolio advisors or automated AI agents — low-latency WebRTC at the edge. No SFU servers to manage.
New capability — not a migration
Database — D1 + KV
D1 · KV
Order history, user profiles, and session state. Serverless SQLite at the edge — no connection pools, no VPCs, reads in <1ms from KV.
Replaces: AWS RDS Aurora + DynamoDB + ElastiCache
Security — Bot Mgmt + WAF
BOT MANAGEMENT · WAF
ML-powered bot detection protects trading APIs from scraping and credential stuffing. DDoS + WAF bundled — no separate vendor required.
Replaces: Akamai + Imperva + separate WAF vendor
THE BUSINESS CASE

Why it matters for Robinhood

Robinhood's scale means infrastructure costs are existential. Every millisecond of latency loses trades. Every GB of egress is money left on the table.

$8M+
Annual Infrastructure Savings
Document storage, compliance archives, and tax data served at zero egress via R2. Plus eliminate Lambda cold starts and API Gateway fees.
20x
Faster Order Confirmation UI
~12ms TTFB at the edge vs. ~240ms centralized. Faster confirmations = fewer abandoned sessions during volatile markets.
25M
Isolated Account Runtimes
Workers for Platforms lets every user have isolated compute — enabling custom strategies, Gold-tier AI advisors, and per-account analytics.

New capabilities — not just cost savings

AI-powered trade discovery
Investors describe a thesis or filter; Vectorize finds matching assets in <50ms. Lifts engagement on browse and discover flows.
Real-time portfolio sentiment
Workers AI analyzes news and filings against held positions. "Your AAPL holding may be affected by this earnings report."
Live advisor video
Cloudflare Realtime enables 1:1 sessions with advisors or AI agents — no SFU servers, no latency overhead, bundled with the platform.
Per-account compute at scale
25M+ users get isolated execution environments for custom screeners, alerts, and strategies — a new moat against zero-fee competitors.
CLOUDFLARE SANDBOX — INTERNAL TOOL

Analyst Data Workbench

Every analyst gets their own isolated Sandbox container — write SQL or Python against Robinhood's D1 + R2 data lake, execute instantly at the edge, and destroy the session when done. No data engineering queue. No shared state.

orders accounts positions risk_flags audit_log + request access
query.sql — sandbox-analyst-session-4f2a
-- Top 10 accounts by trade volume (last 30 days) SELECT a.account_id, a.tier, COUNT(o.order_id) AS total_orders, SUM(o.notional_usd) AS total_notional, AVG(o.fill_latency_ms) AS avg_fill_ms FROM accounts a JOIN orders o ON a.account_id = o.account_id WHERE o.created_at >= NOW() - INTERVAL '30 days' AND o.status = 'filled' GROUP BY a.account_id, a.tier ORDER BY total_notional DESC LIMIT 10;
PDT flagged accounts margin call risk crypto trade volume fill latency p99 options expiry exposure
Isolated V8 sandbox per session · scoped to analyst role · ephemeral · auto-destroys on tab close
Run a query to see results
No results yet — hit Run Query