URL Shortener

URL Shortener

Simplify Your URLs

Node.jsReact.jsMongoDBREST APIs
⚔

Overview

A URL shortening service with real-time click tracking, QR code generation, and an analytics dashboard. Built with focus on low-latency redirections and collision-free hash generation.

URL Shortener
⚔

Key Contributions

⚔

Engineering Deep Dive

Uses base62 encoding of an auto-incrementing counter with salt for enumeration prevention. In-memory cache handles 95% of redirects without DB hits. Click tracking uses write-behind batching every 5 seconds.

⚔

Challenges

  • ⚔Hash collision avoidance at scale
  • ⚔High read traffic API design
  • ⚔Real-time analytics pipeline
⚔

Learnings

  • ⚔URL-safe encoding strategies
  • ⚔Database indexing for reads
  • ⚔Analytics pipeline design
⚔

Live Preview

https://url-shortner-frontend-q37q.onrender.com/
Open ↗
← Previous
AlgoVision
Next →
College Social Network