Skip to content

About

React + Vite dashboard for the distributed rate limiter — live KPIs, built-in load tester, real-time Redis state inspector across 4 algorithms.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Rate Limiter Dashboard

React + Vite dashboard for the ratelimit backend. Provides:

  • Live KPI cards — Total / Allowed / Denied / Cache Hit Rate
  • Real-time chart — requests per second, polled every 1s
  • Load Tester — run controlled load against any of the four algorithms from the browser
  • Algorithm Comparison — stacked bar chart of allows vs denies per algorithm
  • Key Inspector — raw Redis state for any key across all four algorithms, with live watch mode

Running

The dashboard expects the backend at http://localhost:8080.

# Start the backend first (in the ratelimit repo)
docker compose up -d
go run ./cmd/server

# Then the dashboard
npm install
npm run dev

Dashboard opens on http://localhost:5180.

Proof: real load test results

Real screenshots from an actual running instance — not mockups.

1. Load test results — 1,000 requests at 50 concurrency against Fixed Window (limit 100/60s), showing the real allow/deny split and RPS:

Rate limiter load test results

2. Algorithm comparison — the same load test run against Token Bucket, Fixed Window, and Sliding Window Log back to back:

Rate limiter algorithm comparison chart

Stack

  • React 18 + Vite (HMR)
  • Recharts for the time-series chart
  • Vanilla CSS, dark theme
  • 1s polling against /metrics

Backend

See sameer-sde/ratelimit for the Go server, four algorithms, hash ring, LRU cache, and benchmarks.

Built as part of a learning project — distributed rate limiting in Go, benchmarked to 18,769 req/s at p95 16ms.

About

React + Vite dashboard for the distributed rate limiter — live KPIs, built-in load tester, real-time Redis state inspector across 4 algorithms.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages