Back to Portfolio
Backend Infrastructure2024

LinkYo

URL Infrastructure Platform

LinkYo Preview

Overview

LinkYo is a URL shortening platform built to practice production backend patterns in depth — async request handling, caching, and rate limiting — using FastAPI and PostgreSQL. It's not built to serve real traffic; it's built so I could implement, break, and fix each of these patterns myself rather than just read about them.

The Problem

Most URL shortener tutorials stop at "generate a short code and redirect." I wanted to understand what changes once you add real concerns: user accounts, auth, caching, rate limiting, and analytics on top of that basic flow.

The Challenge

Implementing a cache-aside pattern with Redis so repeated redirects don't hit PostgreSQL every time, while keeping the auth and rate-limiting layers (JWT + slowapi) from interfering with redirect latency.

Key Features

  • JWT-based user authentication
  • Redis-backed caching for shortened URL lookups
  • Rate limiting via slowapi
  • Containerized deployment (Docker)