
LinkLite
An optimized URL shortener with a cache-aside architecture and asynchronous click tracking for read-heavy workloads.
Overview & Motivation
To design an optimized system that separates hot redirect paths from slow analytics writes using caching and background tasks.
Problem Statement
Highly read-heavy URL redirect systems experience significant database bottlenecks and increased redirect latency when tracking analytics synchronously.
Proposed Solution
Implemented a cache-aside architecture with Redis to serve hot redirects, and offloaded analytics click logging from the critical path using FastAPI's BackgroundTasks.
Results & Impact
Served redirect requests instantly from Redis and logged analytics asynchronously, reducing database stress and optimizing latency.
Technologies Used
ReactNext.jsFastAPIPythonTypeScriptJavaScriptTailwind CSSTailwindPostgreSQLSQLMySQLRedisDockerGitGitHubPostmanGitHub ActionsRender


