Live C++ engine under the hood

Skip the Theory.Watch It Happen.

Five classic rate-limiting algorithms, animated in real time. Real decisions from a thread-safe C++ engine — no boilerplate, just insight.

C++N-APINode.jsExpressNext.jsReact
0algorithms, one engine
0C++ checks passing
0canvas animation
0decision round-trip
01 · Live demo

Not a mockup — a live engine

Tokens refill, requests spend them. Click anywhere in the box to fire.

✓ 0✗ 0
a live token bucket — click anywhere to fire requests
02 · The algorithms

Five algorithms, one playground

Each gets its own live, animated mechanism in the simulator.

03 · Under the hood

Real backend, not a fake

The simulator's decisions come from actual compiled C++.

🖥️

Next.js UI

Animated simulator; calls /api/*, proxied to the backend (no CORS).

→
🟢

Node (Express)

Routes each request straight into the native addon.

→
⚡

C++ algorithms

Thread-safe limiters compiled into an N-API .node addon.

Go break some limits

Fire a DDoS spike, drag the sliders, and watch each algorithm fight back.