Shortify: High-Throughput URL Shortening Engine
Built a highly scalable URL shortening service utilizing multi-layer caching and a PostgreSQL database for persistent storage.
Read the full write-up
6
Total Technologies
4
Key Features
Technologies Used
Node.js
Express.js
PostgreSQL
Redis
AWS EC2
AWS S3

Key Features
- Architected a Multi-Layer Caching system utilizing L1 LRU Memory and L2 Redis to achieve average redirect latencies of 7.12ms.
- Developed a custom Token-Bucket rate-limiting algorithm at network ingress to throttle concurrent requests and protect against traffic spikes.
- Implemented on-the-fly Base64 QR code generation during URL ingestion, eliminating persistent storage overhead for image assets.
- Benchmarked using k6, achieving a 100% success rate across ~7,000 requests under 50 concurrent virtual users.