ASCI Logo
ASCI.Academy
LearnPracticeCompeteCareer
Sign InGet Started

Search ASCI Academy

Universal search across Courses, Lessons, Skills, Projects, Challenges, Competitions, Jobs, Internships, and Users

HomeProjectsHigh-Throughput API Gateway & Rate Limiter
Backend•Intermediate•6–8 hours build time

High-Throughput API Gateway & Rate Limiter

Build a token-bucket distributed traffic proxy in Go capable of 25k req/s.

GoRedisDockerPostgreSQL
850 scholars building

Problem Statement

Microservice architectures require unified edge entrypoints that enforce rate limits, authenticate JWT tokens, and mitigate DDoS spikes with sub-millisecond p99 latency overhead.

What You'll Build

A distributed reverse proxy gateway in Go that consumes tokens via atomic Redis Lua scripts, proxies requests to backend pools, and exports Prometheus metrics.

Technology Stack

Go
Primary Tool
Redis
Primary Tool
Docker
Primary Tool
PostgreSQL
Primary Tool

Skills You'll Master

Go Concurrency
Token Bucket Algorithm
Redis Lua Scripting
Reverse Proxy

Requirements & Prerequisites

  • Familiarity with Go syntax, goroutines, and channels.
  • Docker Desktop installed for spinning up local Redis instances.

Guided Milestones (3)

Step-by-Step Architecture
1

Reverse Proxy Core & Upstream Pool

Construct HTTP reverse proxy in Go with connection pooling and health checks.

Expected Deliverables:
  • Reverse proxy handler
  • Round-robin load balancer
2

Atomic Redis Token Bucket

Implement sliding-window token bucket algorithm with Lua scripts for atomicity.

3

Prometheus Telemetry & Benchmarks

Add Prometheus /metrics endpoint and benchmark throughput using wrk/k6.

Project Submission & Verification

Submit your public GitHub repository and live deployment link for automated test checks.

Add to ASCI Portfolio

Recruiter Portfolio Showcase Preview
Distributed Rate Limiter & Edge Proxy

Proves mastery of high-concurrency backend systems and atomic distributed transactions.

GoDistributed SystemsRedis
Capstone Credential
ASCI Verified Capstone
Domain:Backend
Difficulty:Intermediate
Estimated Time:6–8 hours
Milestones:3 Steps
Enrolled:850 Scholars
Verified Specification+ Certificate
Backend · Intermediate
6–8 hours build time
ASCI Logo
ASCI.

The developer learning, practice, and career platform.

Learn

  • Courses
  • Learning Paths

Practice

  • DSA
  • Challenges

Build

  • Projects
  • Simulators

Career

  • Jobs
  • Internships
  • Competitions

Company

  • About
  • Contact
  • Privacy
  • Terms

© 2026 ASCI Academy. All rights reserved.

About•Contact•Verify Certificate