Skip to content

Releases: kripa-sindhu-007/task-queue-educational-dashboard

v1.0.0 — Initial Release

04 Mar 07:23

Choose a tag to compare

Task Queue v1.0.0

An educational distributed task processing system with a live dashboard that visualizes queue internals in real time.

What's Inside

Backend (Go 1.22)

  • Priority queue using Redis sorted sets (ZADD/ZPOPMIN)
  • Delayed task scheduling with 1-second promotion loop
  • Worker pool with configurable goroutine count
  • Exponential backoff retries (2^n seconds, capped at 60s)
  • Dead-letter queue for exhausted tasks
  • Live event logging (capped at 200 events)
  • Per-worker state tracking
  • 9 REST API endpoints

Frontend (Next.js 15 + React 19)

  • Task Flow Pipeline — visual stage-by-stage counter
  • Worker Pool — per-worker cards with processing state and elapsed timers
  • Activity Log — terminal-style live event stream (1s polling)
  • Queue Contents — peek into ready + delayed queues with countdown timers
  • Metrics Panel — 8 stat cards + success rate progress bar
  • Dead-Letter Table — failed task details with attempt counts
  • Batch submit (1k / 5k / 10k) with configurable task parameters
  • One-click Redis flush with confirmation dialog
  • Dark theme, Tailwind CSS, Framer Motion animations

Infrastructure

  • Single docker compose up --build to run everything
  • Go, Next.js, and Redis all containerized
  • Graceful shutdown — workers finish in-progress tasks before exiting

Getting Started

git clone https://github.com/kripa-sindhu-007/weekend_project_1.git
cd weekend_project_1
docker compose up --build

Open http://localhost:3000 and click 5k to flood the queue.

Screenshots

See https://github.com/kripa-sindhu-007/weekend_project_1#screenshots for full dashboard screenshots.